• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space

lighttpd HTTP error when uploading PNG

Status
Not open for further replies.

rain

Chevereto Member
Hi there,

It's been months and I can't find why it doesn't work.

I'm using lighttpd (i know it's unsupported) and everything works fine until you try to upload a PNG file.

Upload is working (files are named "temp_DoYEwzpqLXycH2WU5lZvs8MI6xCNB0rmd4ahTQnbSG37jf9gKietFJOVRk.png"), but you get a HTTP Error on local upload and a "500 - Internal Server Error" on remote upload (typical "DOES NOT COMPUTE LOL" lighttpd error).


Code:
LOCAL : 
2012-04-16 20:04:46: (mod_fastcgi.c.2566) unexpected end-of-file (perhaps the fastcgi process died): pid: 53431 socket: unix:/var/spool/lighttpd/sockets/php-fastcgi-53425.socket-0 
2012-04-16 20:04:46: (mod_fastcgi.c.3352) response not received, request sent: 722466 on socket: unix:/var/spool/lighttpd/sockets/php-fastcgi-53425.socket-0 for /upload.php?, closing connection 

REMOTE :
2012-04-16 20:08:36: (mod_fastcgi.c.2566) unexpected end-of-file (perhaps the fastcgi process died): pid: 53431 socket: unix:/var/spool/lighttpd/sockets/php-fastcgi-53425.socket-0 
2012-04-16 20:08:36: (mod_fastcgi.c.3352) response not received, request sent: 1187 on socket: unix:/var/spool/lighttpd/sockets/php-fastcgi-53425.socket-0 for /api.php?key=xxxx&format=redirect&upload=http://xxx.xxx.xx/i/temp_DoYEwzpqLXycH2WU5lZvs8MI6xCNB0rmd4ahTQnbSG37jf9gKietFJOVRk.png, closing connection

Any idea why it would fail on lighttpd with PNG only ?
 
I read that on another thread but it seems fine to me.

RWb71.jpg
 
try to re install the GD library. It will ever says "png wrong".
 
The problem was caused by a previous update (my guess) and after a fresh upgrade (reinstall of gd didnt work) of the system (php/mysql/gd...) everything works again.

We may switch to nginx pretty soon tho.

Case closed.
 
Status
Not open for further replies.
Back
Top