PDA

Bekijk de volledige versie : Gallery 2 and nuke evolution http 500 error



wpte
24-02-2008, 13:59
Hello,
I tried to install Gallery 2 and nuke evolution on my router (websites;))
I'm running this:
lighttpd
fast-cgi php
mysql

Some things do work on the server, like flam player and trace watch.
Now I have error logging on on lighttpd and php. when I visit gallery I get this error:

2008-02-22 20:36:13: (mod_fastcgi.c.2462) unexpected end-of-file (perhaps the fastcgi process died): pid: 0 socket: tcp:192.168.2.1:1027
2008-02-22 20:36:13: (mod_fastcgi.c.3254) response not received, request sent: 1071 on socket: tcp:192.168.2.1:1027 for /gallery2/install/index.php , closing connection

Crazy enough, I never had 1 error on php... and the process never died... After I get the http 500 error, I stil can visit all php pages.
In a weird way php-thttpd does work with these webpackages, however, other things wont work on thttpd:p

Does anyone have experience with these packages on the asus? or do you know a solution? please tell me:)

thanks
WPtE

raas
25-02-2008, 13:14
Hi wpte,


I gave it a try and downloaded Gallery 2,

I'm getting the 500 error too, when I try to install this package.

Seems that lighttpd has not implemented php in the same way as thttpd.

So I have no solution, only the same behaviour.

wpte
25-02-2008, 15:18
hey thanks for trying:)
I also made a post in the gallery forum if they know that problem.
I think this thing needs some fixing to be honest, I mean... you have full php and mysql support.. so you must be able to run a good webpackage.
Apparently some (havy) packages seem to stop working...

I did some google, and the first few things you find is troubles with fast cgi:eek: maybe its really unstable?:confused:

wpte
27-02-2008, 13:20
maybe someone have an idea to get to know why it doesnt work?:rolleyes:

avberk
27-02-2008, 16:04
No idea. Try another webserver. e.g. 'appweb'

Maybe increase the timeout value in php.ini??

wpte
27-02-2008, 16:16
I already edited values to make things work correctly:)

I don't think it's the server, as the file process get stuck at the fast cgi, the file never reaches php:confused:
But still... when I try a server like php-thttpd, I also get the same error. When I however deinstall everything that has to do with fast cgi, it does work. So it must be a package that comes with fast cgi.


Configuring bzip2
update-alternatives: Linking //opt/bin/bzip2 to /opt/bin/bzip2-bzip2
Configuring cyrus-sasl-libs
Configuring gdbm
Configuring libdb
Configuring libxml2
Configuring libxslt
Configuring openldap-libs
Configuring php
Configuring php-fcgi

php, php-fcgi, libxml2, libxslt are defenatly needed, I tried deinstalling those, and everything crashed:p
so it must be some other package... too bad the findipkg is quite down atm:(
Also webpackages like phpBB crash on the same point as gallery2... so it's a problem not only with gallery.
I'm now about to try coppermine photo album, wich is from the same creators as php evolution (wich is working smoothly:D)


edit:
Coppermine is working, but processing an image takes waaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaay too long because it completely process the image, instead of using the original. Gallery 2 only process the image for a tumbnail... kinda bad :(

wpte
27-02-2008, 20:28
@avberk
Do you use that server? yes, wich how to did you followed?:)

I tested my php configuration with simpletest. Everything passed...
I tried de-installing some packages, but after I tried, everything showed http 500 error.

Why am I going on? coppermine is way to havy, and gallery 2 has tons of functions more, and even a higher speed:)

I first tought it was the magic quote, as I looked inside the index.php, removed the line, and another error came up (php error), but after a reboot it showed me a 500 again:(

avberk
28-02-2008, 15:19
just do:

ipkg install appweb

you will get some clues, but not too much.

you can also have a look here:

http://www.appwebserver.org/products/appWeb/embedded-web-server.html



For foto's i am using 'jalbum'. I don't have fastcgi installed. Maybe you are asking too much from the router ;-)