Uploadify not uploading all files in multi upload - uploadify

I'm trying to implement the multi upload with uploadify. It works find for the first couple files I've selected, but the rest of the files I've selected don't upload. I've checked the settings for post_max_size (set to 20M), max_file_uploads (set to 20) and max_execution_time (set to 120) - which should be sufficient for what I'm uploading. Any ideas as to why only the first couple files would be uploading?

Related

Drupal 8 Webform File upload

I have a simple form with just a field to upload a file on a Drupal 8 site using the Webform module 6.0.1. If I test the form using webforms test tool, the file gets uploaded fine, it displays the loading icon for couple seconds and its ready to upload, but if I try the same in a page with the form embedded as a block, I can not upload the file it will always show me the following message if I try to submit the form, no matter how long I wait.
"File upload in progress. Uploaded file may be lost. Do you want to
continue?"
Just for testing, I increased the max upload file to 2GB and the file I'm uploading is just 5kb.
All the .js libraries I can think of are on my template.info.yml file. (core/drupal, core/jquery, core/drupal.ajax)
The private folder has been set up in my settings.php and has the permissions set correctly the .htaccess file is also set as recommended for Drupal.
I have try to upload the files in the public folder just as desperation but I get the same error
Any help will be appreciate.
I know this is more than a year old but JIC anyone else had this problem:
There are four files where you might have to make changes to raise the memory limit on uploads. The first are two separate php.ini files. One is your server's php.ini and the other is the Drupal installation's php.ini in the Drupal root folder. The server's php.ini will apply the settings to all Drupal installs (and anything using PHP) on the server, while the Drupal root php.ini file will only apply to that Drupal installation. Make changes in the php.ini file(s) under memory_limit, upload_max_filesize, post_max_size. You can often edit the server's php.ini file through cPanel's MultiPHP INI Editor.
The next file is the .htacess file where you would change the value under php_value memory_limit. Changing this only affects the Drupal install the .htaccess file belongs to. This file can be found in the Drupal root directory but is sometimes hard to find because it is a hidden file. The FTP client Forklift has the option to show hidden files under View > Show View Options > Show Hidden Files. Your FTP client of choice may also have an option to show hidden files.
The last file is the settings.php file (sites/default/settings.php) and the value to change can be found under ini_set('memory_limit', ''). For example: ini_set('memory_limit', '64M'); Again, this only affects the Drupal install the settings.php file belongs to.
memory_limit This sets the maximum amount of memory in bytes that a script is allowed to allocate. This helps prevent poorly written scripts for eating up all available memory on a server. Note that to have no memory limit, set this directive to -1.
post_max_size Sets max size of post data allowed. This setting also affects file upload. To upload large files, this value must be larger than upload_max_filesize. Generally speaking, memory_limit should be larger than post_max_size.
upload_max_filesize The maximum size of an uploaded file.

Product thumbnail images are not displayed in backend after manual upload in magento 1.9.1

Image thumbnails are not visible in admin.
I have manually uploaded images for products in admin. Images are visible in frontend. But not displayed in admin.
It shows the text "roll over for preview", when rolled over it just become empty.
Changed media folder permission to 777. and I have removed .htaccess file from /media folder too...
Plz see the image.
But the thumbnails are visible for existing products.
This is the existing product page.
Try This below Solution
Open up the following file:
lib/Varien/File/Uploader.php
Find this line :
chmod($destinationFile, 0640);
Replace it with this line:
chmod($destinationFile, 0777);
This can be caused by wrong permissions set to uploaded files.
Open lib/Varien/File/Uploader.php and make sure following permission are set:
Around line 219:
chmod($destinationFile, 0666);
Around line 541:
if (!(#is_dir($destinationFolder) || #mkdir($destinationFolder, 0777, true))) {
Note: This issue will also be fixed by applying patch SUPEE-7405 v1.1
increase your memory limit from php.ini or you can ask to your server support
memory_limit = 512M
no need to clear magento cache
add below code in php.ini file on root
memory_limit = 512M
in admin panel go to admin->system->cache management and click Flush Catalog Images Cache

Upload fails: "This file is too large to upload" - php.ini settings made

We are trying to upload files to a joomla instance which are aproximately are 10 MB. Strangely the upload fails with:
This file is too large to upload.
We have full access for custom php.ini settings (SuPHP) and also full access to the root server, settings:
output_buffering = off
post_max_size = 100M
upload_max_filesize = 50M
memory_limit = 256M
max_execution_time = 250
max_input_time = 250
These settings are honoured by Joomla! as shown in the System Information within the administrative backend.
An Apache restart has been performed after changing values in php.ini.
Uploading files up to 2MB is possible (whereas even in the global php.ini the limit is set to 8MB).
Where is the sweet spot? Do we have to move to jquery solutions? Any help is appreciated.
If you're referring to the Media Manager, in that component's configuration is a field to set an upload size limit. Adjust that accordingly.
Adding to the suggestion from #Michael , if you are using an editor like JCE, there's a similar setting in JCE Editor > profiles > profile > plugin parameters > file browser
(for JCE v 2.3.2.4)
Good luck!
I have just a had the same problem with a Joomla 2.5.28 installation using the Tiny MCE Editor. After several hours of trying to solve the problem, I decided to install the JCE Editor and this seems to have cured my problem.
Worth trying if you have same problem.

Updating upload_max_filesize in joomla

I am using frame work Joomla1.5. I am not able to submit form with multiple uploaded files having each file size more than 3mb. i tried to set post_max_size, upload_max_size parameters in layout default.php(views/tmpl/default.php) as
ini_set('upload_max_filesize', '5M');
ini_set('post_max_size', '15M');
but that parameters still showing default sizes only.
can you please tell me where/how to set value in joomla
Thanks in advance
You can set the maximum upload size in joomla from admin panel. You have to go site -> Global configuration -> System->Maximum Size (in bytes).
Find the php.ini file that your server uses and change the 'upload_max_filesize' value to a higher number and restart the server.

Magento 1.4.2 not displaying/saving product images on frontend & backend

My Magento 1.4.2 site suddenly developed the following problem:
When uploading product images, the images appear to have successfully uploaded & are visible when I rollover the image but as soon as I save the image 'disappears' and is not saved to the media subfolder. Hence it is not displayed. The permissions on the folders are set to writeable. I have cleared the cache; re-indexed stock-status, product flat data...; renamed media/.htaccess; renamed php.ini.sample to php.ini & changed memory_limit from 64M to 512M.
The problem persists. Any ideas? Thanks
Is it possible that you've updated Prototype to version 1.7? If so, you'll have to change foo.toJSON() calls in js/mage/adminhtml/product.js to Object.toJSON(foo).

Resources