PDA

Bekijk de volledige versie : PunBB WL500G-DELUXE -saving admin options problem



limpo
25-12-2005, 14:07
Hey!

Im experiencing problems after fresh install of PunBB. What happens is that when I logon as admin and then enter the administrationspanel and then navigate to options. Whenever I make a change in the options menu and press save changes button, nothing happens I end up with a blank page, with no redirection and no saved settings.
This only happens on the admin options menu, it never happens when I make a change to aything else, for example changing settings on a user profile. Then redirection works and the settings are saved.

Is there anyone who has got PunBB fully functional on WL500G or WL500G-DELUXE?

Also it there an example script to test if the cgi and perl is fully funtional with the PHP-httpd webserver, I have configured my system accordingly to mascat's great howto's. But it seems when I try any cgi or perl script through the websever I and up with blank pages. I run all my webpages and scripts from the "/opt/share/www/cgi-bin" folder, all acording to the thppd.conf
"dir=/opt/share/www"
"settings cgipat=/cgi-bin/*"

My Installed packages:
firmware: OLEG 1.9.2.7-6b
SQLite2 2.8.16-1
PHP-thttpd 2.25b-5.0.4-1
PHP 5.0.4-1
microperl 5.8.6-3

OlegI
26-12-2005, 21:21
have the same problem. It seems it is punBB problem. Because other pages works.

pfugl
27-12-2005, 13:37
About perl - you could try the following script that works for me using macsats tutorial:


#!/opt/bin/microperl
print "Content-type: text/html\n\n";
print "Hello world printet from a perl script in
/opt/share/www/cgi-bin\n\n";

Save it as helloworld.pl in /opt/share/www/cgi-bin
Remember to make it executeable.

limpo
27-12-2005, 15:31
Thanx, I tried it but it still does'nt work. This i my current settings in /opt/etc/thttpd.conf:

dir=/opt/share/www
port=81
user=nobody
nochroot
nosymlink
novhost
logfile=/opt/var/log/thttpd.log
pidfile=/opt/var/run/thttpd.pid
cgipat=/cgi-bin/*

And I keep getting "500 Internal Error, There was an unusual problem serving URL '/cgi-bin/helloworld.pl'." message.
I have tested the script with chmod 777 and chown nobody, but nothing helps.
Microperl is installed because I can run perl scripts on the terminal of the WL500G-DELUXE router.

pfugl
28-12-2005, 09:55
So you can execute the script from /opt/share/www/cgi-bin in terminal mode as follows:

./helloworld.pl
and it should print the output from the print statements?
If that is ok, I do not have a clue to the problem. My thttpd.conf is exactly the same as yours.