Upload problems with photo's bigger than 2 MB

arjanm

Joined: 2006-03-28
Posts: 6
Posted: Mon, 2008-12-15 09:17

The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful): www.houtplein.com/gallery
Gallery version: 1.5.10
IIS version: 7
PHP version (don't just say PHP 4, please):5.1.2
Graphics Toolkit: ImageMagick-6.2.7-1
Operating system: Windows 2003 Server Standard Edition SP2
Web browser/version (if applicable): IE7

Hello,
When I try to upload new pictures to my gallery, I get the following error. The error was monitored in Debug "Paranoid" mode. There where no changes between the post of the last succes upload and failed upload. I do get e-mails that the upload was succesfull and that my gallery was updated, but nothing is there exect the error. In the past I placed photo's of 3 or 4 MB to Gallery. Why is it suddenly not working anymore?

Kind Regards,
Arjan Malestein.

Processing status...
util.php::984 -> Processing file:
******Adding P1030738.JPG*****
Album.php::1161 -> Doing the naming

Warning: chmod() [function.chmod]: No such file or directory in E:\Inetpub\wwwroot\Houtplein\gallery\platform\fs_win32.php on line 36
Album.php::1194 -> Image Preprocessing
Album.php::1199 -> Resizing/compressing original image
imageManipulation.php::36 -> Resizing Image: E:/Inetpub/wwwroot/Houtplein/gallery/albums/Thuis/P1030738.jpg
util.php::793 -> extension of file P1030738.jpg is jpg
util.php::205 -> Getting Dimension of file: E:/Inetpub/wwwroot/Houtplein/gallery/albums/Thuis/P1030738.jpg
util.php::208 -> The file does not exist ?!
imageManipulation.php::67 -> No resizing required

Warning: getimagesize(E:/Inetpub/wwwroot/Houtplein/gallery/albums/Thuis/P1030738.jpg) [function.getimagesize]: failed to open stream: No such file or directory in E:\Inetpub\wwwroot\Houtplein\gallery\lib\imageManipulation.php on line 568
imageManipulation.php::569 -> Call to getimagesize() failed in valid_image() for file E:/Inetpub/wwwroot/Houtplein/gallery/albums/Thuis/P1030738.jpg!

Error: Invalid image: P1030738.jpg
Need help? Look in the Gallery FAQ

 
arjanm

Joined: 2006-03-28
Posts: 6
Posted: Tue, 2008-12-16 21:13

Problem Solved.

In the C:\Windows\PHP.ini are 2 settings that need to be changed. post_max_size and upload_max_filesize must be changed to something higher than 2M. This is a known problem if I read the forum, but you can't figger it out via the error message you get in debug mode.