 | |  | | | Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here. |
October 19th, 2011, 10:10 AM
|
#1 (permalink)
| | Junior Member Verified Customer
Join Date: Apr 2007 Location: Sector Zurracapote
Posts: 16
| Zip upload problem
Hello,
I have done several test to know how the zip upload works, but always I have two diferent problems. These are the tests I've done: Code: Content visible to verified customers only.
I have changed the values of upload_max_filesize and max_execution_time in php.ini, but the error persists. And the value for "Maximum multimedia upload size in Kb" is 65536000. To add more mystery, some users can upload the 0.98 megas zip file without problems, but others have the 500 error. All users see the other error with the 10 and 15 megas files. And the permissions in the categories sections are correct.
Any idea about what can I do to upload zip files? Is the Photopost configuration? Is the php.ini file? Is the dedicated server configuration?
Thansk!!!
|
| |
October 19th, 2011, 12:42 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,945
|
Are you using GD2 to process images which is prone to memory timeouts?
|
| |
October 19th, 2011, 04:20 PM
|
#3 (permalink)
| | Junior Member Verified Customer
Join Date: Apr 2007 Location: Sector Zurracapote
Posts: 16
|
Yes, I'm using GD2 (always, since I use Photopost). Do you recomend I install and use ImageMagick?
Thanks!
|
| |
October 19th, 2011, 06:05 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,945
|
Yes if you are processing large amounts of large files without a doubt that is best.
When using GD2 you can increase PHP memory to 72M and in upload options set your max image sizes to no more than 1024 or 1500 and see if that helps. There are alot of topics on this if you search for "ini_set"
Using Imagemagick though is recommended since it would not be prone to PHP memory issues like GD2.
|
| |
October 20th, 2011, 06:50 AM
|
#5 (permalink)
| | Junior Member Verified Customer
Join Date: Apr 2007 Location: Sector Zurracapote
Posts: 16
|
OK. I have installed ImageMagick, but there are no difference between IM and GD2. The errors messages are the same, both the 500 error as the "file to large".
I have changed the max image size value in upload options, and have tested several values with "ini_set", in bulkupload.php, but nothing solve the problem. Maybe I have to edit another file? Have you got another idea?
Thanks!!!
|
| |
October 20th, 2011, 08:50 AM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,945
|
Do you have a link to your site and a test login to try a zip upload? You did change your image processor to Imagemagick in global options and set the proper path to mogrify on the server in config settings in admin? Also a link to the php info on the server would help as well because you will only be allowed to upload files up to the max your server allows no setting you make in admin is going to change that.
|
| |
October 20th, 2011, 01:08 PM
|
#7 (permalink)
| | Junior Member Verified Customer
Join Date: Apr 2007 Location: Sector Zurracapote
Posts: 16
|
Yes, I changed the image processor to ImageMagick in the global options and I have set the path to mogrify in the config settings (I wrote in console "which mogrify" to know the correct path).
But I have the original problems. And some new, because the new upload images aren't resized, despite the config of the images size is without changes. I don't understand.
An user to test? Of course! The gallery is www.forocompeticion.com/galeria/ and you can test with the user Gortest and the pass 123456. And the php info is in the root (www.forocompeticion.com/info.php).
If you need something more, tell me!!!
Thanks!!!
|
| |
October 20th, 2011, 05:12 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,945
|
Imagemagick does not work for you because you have disabled exec in your php setup |
| |
October 20th, 2011, 05:32 PM
|
#9 (permalink)
| | Junior Member Verified Customer
Join Date: Apr 2007 Location: Sector Zurracapote
Posts: 16
|
And I have to enable exec in php.ini, haven't I? How can I do that? I have searched for "exec" in php.ini, but I'm not sure about what is what I have to change.
Thanks!
|
| |
October 20th, 2011, 06:00 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,945
|
check the disabled functions in php
as I said you have disabled exec and that is needed for imagemagick to run.
|
| |
October 20th, 2011, 07:30 PM
|
#11 (permalink)
| | Junior Member Verified Customer
Join Date: Apr 2007 Location: Sector Zurracapote
Posts: 16
|
OK, I did what you said me about exec and I think all the config is correctly. Now the new images are resized. Thanks!!!
But the original problem I posted in the first message about upload zip files still continues (error 500 and "The file(s) uploaded were too large to process.").
Thanks!
|
| |
October 20th, 2011, 07:52 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,945
|
Your setting your maximum filesize to 1024kb
I do not really read your sites language so hard to say but I uploaded a 6mb zip file no problems
The message your telling me is because your setting your max filesize to 1024kb which is 1mb and your trying to upload a file larger than 1mb
|
| |
October 20th, 2011, 09:16 PM
|
#13 (permalink)
| | Junior Member Verified Customer
Join Date: Apr 2007 Location: Sector Zurracapote
Posts: 16
|
Mmm... I found the problem about the file size. In php.ini I put a value of 128 for upload_max_filesize. But post_max_size had a value of 2, so this was the limit. As soon as I change this limit, the error of "The file(s) uploaded were too large to process." disappears.
I just uploaded a zip file of 15,6 megas with 256 images, and it works!!! Now, the second part of this history. After upload and unzip the images, the error 500 appears. The images are in the queue list, at uploadphoto.php (256, 16, 100... it doesn't matter the number). If I try to process the images in uploadphoto.php, as soon as bulkupload.php is load, errror 500 again.
I searched in photopost.com about that error, but none of the solutions work for me. I tried to add to bulkupload.php this: Code: Content visible to verified customers only.
And I change the value for memory_limit, but it doesn't work. Any idea?
Thanks!
|
| |
October 21st, 2011, 07:44 AM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,945
|
The restrictions come from the server as you see.
I just uploaded a 13.1mb zip file with 6 2.2mb images and they processed fine. Gortest Galería - Galería
I am not seeing any errors.
|
| |
October 27th, 2011, 08:24 PM
|
#15 (permalink)
| | Junior Member Verified Customer
Join Date: Apr 2007 Location: Sector Zurracapote
Posts: 16
|
OK, several problems have been solved. Thank you Chuck!!! Now I can upload a zip file without the previous errors.
But... after upload and unzip a zip file, after the page shows all is correct... simply, there are no images. I have tested with several zip files and diferents sizes, but nothing. There are no signal of the zip file, or images, or errors... nothing. I'm going crazy because I think all settings (for PhotoPost and php.ini) are fine. But it is clear that something is wrong.
If you think is necesary I can send an email to you with the info you need to solve this.
Thanks!!!
|
| |
October 27th, 2011, 08:59 PM
|
#16 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,945
|
well are you sure your zip file was valid I mean I did upload several zip files without any issues of different sizes.
|
| |
October 27th, 2011, 09:32 PM
|
#17 (permalink)
| | Junior Member Verified Customer
Join Date: Apr 2007 Location: Sector Zurracapote
Posts: 16
|
That's that I don't understand.
Other users and I have tried to upload a zip file, and all of them have the same problem: there are no error in the uploading, the page shows the correct messages but there are no images. The last test was with a zip file with only one image (1,44 KB).
Thanks!
|
| |
October 28th, 2011, 07:00 AM
|
#18 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,945
|
You do realize you can not upload a 65mb file to your server right?
Now I try to upload a 13.1mb file this is what I see
photos.zip: El archivo subido no se encontró
La razón típica es que el archivo excedió los límites permitidos.
|
| |
October 28th, 2011, 08:01 AM
|
#19 (permalink)
| | Junior Member Verified Customer
Join Date: Apr 2007 Location: Sector Zurracapote
Posts: 16
|
We tried upload several files and no one have success.
Until now, we uploaded a 65 megas file, with the errors of my first post. But now, the error is that the file is not found or simply, there are no images after upload. To avoid the first error (file is not found), we have to check the box "Skip upload and process the files already in your upload directory" (by the by, how can I have this box checked by default?).
But despite of have checked that box we have the other error (no images).
I have reviewed all the Photopost config and also the php.ini file. I'm absolutely lost, I don't know where is the problem or why.
|
| |
October 28th, 2011, 08:47 AM
|
#20 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,945
|
I do not see your php setup but if the file is being dropped before our program can process anything then the file you are uploading is larger than the max allowed php file upload size.
You would need to alter your server's php setup to allow such things. I know of no one who allows 65 mb uploads as thats out of the range of what servers allow usually.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 08:13 PM. | |