ZenphotoCMS Forum
Strange bug.. - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Strange bug.. (/thread-8283.html)



Strange bug.. - peacepostman - 2011-02-20

Hello,

I have a strange bug with upload of pictures,
When i first upload pictures in a folder everything goes fine but if i try to add some pictures after some time in the same folder, my pictures didn't generate at all and for most of them they are 0px width/height..

Any idea would be greatly appreciated !




Strange bug.. - sbillard - 2011-02-20

You should check the CGI log to see if any errors are happening. How do you mean that they are 0px height/width? Is this HTML or some other indicator?




Strange bug.. - peacepostman - 2011-02-20

Thx for your quick answear,

The log say :
[Sun Feb 20 23:02:34 2011] [error] [client 81.66.225.158] Empty input file, referer: http://www.mysite.com/zp-core/admin-edit.php?page=edit&subpage=1&tab=imageinfo&album=rhum%2Fmillenium&uploaded=1&albumimagesort=id_desc

Ang ZenPhoto Log say :
{Sun, 20 Feb 2011 22:02:33 GMT}
Backtrace: Mauvaise galerie choisie lors de l'instanciation de l'album rhum/millenium.
Album->Album called from uploader.php [39]

Does it help ?




Strange bug.. - sbillard - 2011-02-20

The log error does not mean anything to me, but it might be caused by excess processing time of the script. (Although I do not know why that would happen.)

The Zenphoto log indicates that you should install version 1.4.0.2 and/or the current nightly build. That particular error has been corrected.




Strange bug.. - peacepostman - 2011-02-20

When i said 0 px, i talk about the image inserted in Db, but size is 0kb as well as width and height which are 0px..
Sometimes i get a partial image, cutted about the half, but mostly no image..Or the good width and height but no image
And now they bug on the first upload :/




Strange bug.. - peacepostman - 2011-02-20

Thx, im already on 1.4.0.2, i will try nightly build !




Strange bug.. - peacepostman - 2011-02-21

Even wih the last nighty build, i've got the same problem, i think its server side but i dont know where to check...
My php.ini just to check :
max_execution_time = 300
max_input_time = 300
memory_limit = 256M
upload_max_filesize = 16M

Bug still appear on different picture size(2Mo/3Mo/5Mo)... And doesnt seem to be logic, sometimes on a new folder sometimes on existing..

But now tinyMCE works on Pages and News Admin Edit

Does anyone have an idea ?




Strange bug.. - peacepostman - 2011-02-21

Problem solved ! F***ing apache
Thx for ZenPhoto !