Problem in Uploading Files in DOLPHIN PRO

Hello Sirs,

 

I've been having problems uploading files in Dolphin for a week now. I'm uploading a zip file about 2MB in size and when i reaches the end of the bar ... nothing happens.

Please see attached.


Thank you,
Arnel N. 

 

dpro-upload-issue1.jpg · 164.8K · 981 views
Quote · 22 Apr 2016

You have set php to allow 2 meg uploads and you have set the file size in the admin to allow 2 meg uploads?

Geeks, making the world a better place
Quote · 22 Apr 2016

Have to ask; after the upload progress bar finishes do you click the submit button?

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 22 Apr 2016

 

Have to ask; after the upload progress bar finishes do you click the submit button?

Yes. Although it's more of a formality with the HTML5 uploader.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 23 Apr 2016

 

You have set php to allow 2 meg uploads and you have set the file size in the admin to allow 2 meg uploads?

 hello ggirl, well, i haven't done any modification eversince except upgrading it. where can I find that settings, madam? thanks for the help.

Quote · 23 Apr 2016

 

Have to ask; after the upload progress bar finishes do you click the submit button?

 Hello Sir Newton. I tried it but it does nothing. I usually wait for the message "DONE" before I submit it.

Quote · 23 Apr 2016

 

Yes. Although it's more of a formality with the HTML5 uploader.

It was before as well, what the submit button did on previous versions of Dolphin was to submit the file description, title, etc of files/photos/videos; etc.  The file was actually uploaded and stored in the album without the submit; if one left the page then the item existed, just without the extra bits.  

Geeks, making the world a better place
Quote · 23 Apr 2016

 

 

Have to ask; after the upload progress bar finishes do you click the submit button?

Yes. Although it's more of a formality with the HTML5 uploader.

 Yes, Sir Nathan. Even if you don't click SUBMIT ... when it says it's DONE ... it is done.

Quote · 23 Apr 2016

 

 

You have set php to allow 2 meg uploads and you have set the file size in the admin to allow 2 meg uploads?

 hello ggirl, well, i haven't done any modification eversince except upgrading it. where can I find that settings, madam? thanks for the help.


The settings are located in your PHP.INI file on the server. The location varies from server to server and on some shared servers your host may limit this to 2mg.

This setting also affects photos and other uploads and with people today being essentially "Photo illiterate", many will try to upload massive photos from their phones.

Look for:

memory_limit = 32M (It should be 128M minimum for Dolphin) 
upload_max_filesize = xxM (increase to something like 10M)
post_max_size = 32M (See below)

After making these changes, you may need to restart your server.

Additional information

If the upload_max_filesize is larger than post_max_size, you must increase post_max_size so that it is bigger than upload_max_size.

If the value of post_max_size is larger than memory_limit, you must increase memory_limit so that it is larger than post_max_size.

Quote · 23 Apr 2016

The memory limit is how much memory can be used to run php scripts; a good setting for most is 256 meg or 512 meg; ignore the comment about upload and memory limit.  Another important setting is how long to let a php script run; if it is set too low, some scripts might not be allowed to finish executing.

Geeks, making the world a better place
Quote · 23 Apr 2016

 

The memory limit is how much memory can be used to run php scripts; a good setting for most is 256 meg or 512 meg; ignore the comment about upload and memory limit.  Another important setting is how long to let a php script run; if it is set too low, some scripts might not be allowed to finish executing.

 thank you very much, ggirl. You're awesome ;)

Quote · 23 Apr 2016

 

 

 

You have set php to allow 2 meg uploads and you have set the file size in the admin to allow 2 meg uploads?

 hello ggirl, well, i haven't done any modification eversince except upgrading it. where can I find that settings, madam? thanks for the help.


The settings are located in your PHP.INI file on the server. The location varies from server to server and on some shared servers your host may limit this to 2mg.

This setting also affects photos and other uploads and with people today being essentially "Photo illiterate", many will try to upload massive photos from their phones.

Look for:

memory_limit = 32M (It should be 128M minimum for Dolphin) 
upload_max_filesize = xxM (increase to something like 10M)
post_max_size = 32M (See below)

After making these changes, you may need to restart your server.

Additional information

If the upload_max_filesize is larger than post_max_size, you must increase post_max_size so that it is bigger than upload_max_size.

If the value of post_max_size is larger than memory_limit, you must increase memory_limit so that it is larger than post_max_size.

 Thank you much Demmy. I'll take a look on those figures too and apply gg's suggestion. More power to Dolphin girls ;)

Quote · 23 Apr 2016

Hello Guys,

 

I made changes to these:

 

memory_limit = 521M

post_max_size = 128M

upload_max_filesize = 128M

max_execution_time = 180 secs

max_input_time = 180 secs


then reboot.


then I tried it again. seems the same. see attached.



As you can see I've uploaded different types of files of 1MB (1024KB) and below and it went ok. Now I was trying to upload and excel file "10-5-15.xls" with 1068KB size and there goes the problem again. I tried any filesize more than 1024KB and it's waiting forever.


What do you think seems to be the problem here? Thank you, again for the help.

actm-upload-issue.jpg · 147.6K · 708 views
Quote · 23 Apr 2016

Update: Just found tips from other posts that my settings are now to these:

 

memory_limit = 521M

post_max_size = 128M

upload_max_filesize = 128M

max_execution_time = 300 secs

max_input_time = 600 secs

... and ... same banana ;) ... I could not upload beyond 1024KB files.

ACTMalaria.net is a resource center for sharing malaria related files so we need to upload files bigger than 1M. Our newsletters are 2MB and up.

Quote · 23 Apr 2016

Have you looked at the files Mod to see what kind of files can be uploaded and the maximum file  size there.

Maybe a setting is wrong. For all files to be accepted the allowed extensions box should be blank. That's a bit unwise because people could upload trojans. I'd be entering: PDF DOC DOCX XLS ZIP and maybe a few others to stop the wrong files from being uploaded. In my case I only allowed PDF but I left it blank to try uploading an XLS file.


I was then able to upload an XLS file okay.

file types.jpg · 16.4K · 725 views
Quote · 23 Apr 2016

Hello Demmy. Here's mine.

 

 

 

I left it blank to try all files and it did well. Only whenever I upload a file with size greater than 1024KB that bar stops at 100% and that CANCEL button is useless. 32M is ok for my requirement.

actm-upload-issue2.jpg · 44.7K · 698 views
Quote · 23 Apr 2016

Last resort for me. Did you reboot the server after changing the PHP.INI file?

 

Quote · 23 Apr 2016

 

Last resort for me. Did you reboot the server after changing the PHP.INI file?

 

 Yes I did ;)

 

By the way. I'm doing something from the server side on nginx. Let me see if this works. Get back to you, Dem ;)

Quote · 23 Apr 2016

VOILA!

 

I've just uploaded 2 PDF files, 17MB and 6MB in size. Wooooh!

 

 

Thanks to this thread and the people there: https://www.boonex.com/forums/topic/HTML5-Regular-Uploader-problem-in-File-Photo.htm

 

Mine is located in /usr/local/nginx/conf/nginx.conf and inserted "client_max_body_size 250M;" anywhere inside "http { }". Save and exit from the editor (vi) and restarted the server.


Thank you, Demmy. I'll limit the file types to be uploaded on my dolphin. Mabuhay!

actm-upload-issue3.jpg · 67.3K · 713 views
Quote · 23 Apr 2016

If you are going to allow video uploads, you will probably want to increase the file size limits.

Geeks, making the world a better place
Quote · 23 Apr 2016

 

If you are going to allow video uploads, you will probably want to increase the file size limits.

 Thanks gGirl for the reminder. I'll impose approval for every files sent. Thank you. Thank you.

Quote · 23 Apr 2016

You don't have to reboot the server after making changes to the php.ini file.  If php is running as an Apache mod, then you restart Apache; if running as PHP-FPM then restart the PHP-FPM process.

Geeks, making the world a better place
Quote · 23 Apr 2016

You should have mentioned you were using Nginx.

Geeks, making the world a better place
Quote · 23 Apr 2016

 

You should have mentioned you were using Nginx.

 Well, I didn't know, until I saw that post about nginx so i tried if nginx is running ... and it is. :)

Quote · 24 Apr 2016

 

You don't have to reboot the server after making changes to the php.ini file.  If php is running as an Apache mod, then you restart Apache; if running as PHP-FPM then restart the PHP-FPM process.

 Thank you ggirl. I usually restart PHP whenever I make changes hehehe. This will save time for me ;) Gracias ;)

Quote · 24 Apr 2016
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.