migrated from 1.5.1 to 1.5.9 cannot add photos anymore

jc-dc

Joined: 2008-09-18
Posts: 3
Posted: Thu, 2008-09-18 19:06

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):
Gallery version: 1.5.9
Apache version: 2.2.3
PHP version (don't just say PHP 4, please): 5.1.6
Graphics Toolkit: imagemagick
Operating system: Linux nuxserver 2.6.17-5mdv #1 SMP Wed Sep 13 14:32:31 EDT 2006 i686
Web browser/version (if applicable): firefox

hello everyone, I have been using gallery for quiet a wile and always founds answers to my problems in the faq or forum but not this time:
I upgraded from 1.5.1 to 1.5.9 and all went without problems until I tried to upload new photos, I tried with gallery remote 1.5 and got this error message:

Upload error: Upload failed: ' <div class="g-notice"> <div class="g-error left g-message"><img src="http://mywebsite/gallery/images/icons/notice/error.gif" alt="" title=""> Item looks like an image, but has no dimensions? Please verify it's not a broken image. </div> </div> '.

the photos are from a nikon D70 and have exifs Inever any problems before, the gallery is standalone not embeded, I also tried to add them thru the browser FF3.0 but it didn't work either...
I need your help on this one, any ideas ??

thanks

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Fri, 2008-09-19 13:39

Hi,

how big is that file?
And what are the upload and POST size limits of your PHP?

This errormessage is new in 1.5.9 and it may that its fired for a wrong reason.

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
jc-dc

Joined: 2008-09-18
Posts: 3
Posted: Sat, 2008-09-20 00:49

hi,
the photos are about 3M and my post_max_size is 8M, I didn't change those values and everything worked fine before upgrade but you are right it is size problem !!
I checked it out by saving optimized jpgs and the upload worked but what bothers me is that i downloaded photos that already where in my gallery and i coulnd't upload them anymore. I would like to keep the original image so people can download it full size.
all limits are 0 in config.php I don't know what to do to get it to work as before ... roll back to V1.5.1 ???
I don't know if i can
if you have any ideas let me know. thanks

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Sat, 2008-09-20 13:24

What is the value of "upload_max_filesize" ?

Roll back to 1.5.1 is not a good idea.

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
jc-dc

Joined: 2008-09-18
Posts: 3
Posted: Sun, 2008-09-21 17:13

well, I can't believe it but it was the upload max filesize and what is really strange is that I uploaded photos that were over that size limit before.
Anyway, I'm sorry for making you lose your time and thanks again for the solution.
JC

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Sun, 2008-09-21 17:17

No Problem! Glad you got it working now.

If you have problems or suggestions with/for G1, let me know.

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
tchoumi

Joined: 2009-03-26
Posts: 4
Posted: Thu, 2009-03-26 20:07

hello , i have the same probleme

Upload error: Upload failed: ' <div class="g-notice"> <div class="g-error left g-message"><img src="http://www.$$$$$$$.be/gallery/images/icons/notice/error.gif" alt="" title=""> L'élément semble être une image mais il ne possède aucune dimension. Merci de vérifier que ce n'est pas une image corrompue. </div> </div> '.
I can not find the parameter "upload_max_filesize"

please help me

gallery 1.5.10

Thamks :)

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Thu, 2009-03-26 21:39

That parameter is in the PHP configuration file php.ini

Jens
--
Gallery Developer