Hi All, Referring to a thread in November:
Jon Ole Nome wrote: I have just installed RH9.0, MySQL 4.0.16 rpms, php-mysql and ser (.tar.gz) 08.11. I have configured the Mysql support, and the ser server starts fine. I then installed Serweb under /var/www/html/serweb and /var/www/phplib and changed all the .php files as per the howto. But I haven't been able to get it to work... If I try <server>/serweb/admin/index.php I get the login, enter a username and password, and then I get this in /var/log/httpd/error_log:
[Mon Nov 10 15:56:21 2003] [error] [client 172.16.1.230] File does not exist: /var/www/html/separator.html, referer: http://phonebox/serweb/admin/index.php [Mon Nov 10 15:56:21 2003] [error] [client 172.16.1.230] File does not exist: /var/www/html/epilog.html, referer: http://phonebox/serweb/admin/index.php [Mon Nov 10 15:56:21 2003] [error] [client 172.16.1.230] File does not exist: /var/www/html/preload.js, referer: http://phonebox/serweb/admin/index.php [Mon Nov 10 15:56:30 2003] [error] [client 172.16.1.230] File does not exist: /var/www/html/prolog.html, referer: http://phonebox/serweb/admin/index.php Sometimes also: [Mon Nov 10 15:48:19 2003] [notice] child pid 17672 exit signal Segmentation fault (11)
Btw. the webserver is the standard Redhat httpd 2.0.40.21 (Apache), no modifications.
hello!
As a start, always read the "readme" and the "install" documentation.
The files missing is files you should create to get the layout you want on the serweb interace. Create them and put something in them, then you will understand what happens.
...and don't forget to configure in config.php !
Best regards, /Olle
Call me a noob, but I'm having similar problems as Jon mentions in his original post, albeit limited to one file: preload.js.
I suspect the preload.js plays a part in accepting anything that is entered in whatever html form that is within SerWeb.
not really, they are a relict from web design mixed with serweb code. It is removed from CVS now.
The admin logon screen returns empty when I fillout the username/password and hit the Login button.
That must have some other reason. My quick guess is you did not apply correct PHP settings, as suggested in INSTALL - short_open_tag = on - register_globals = on (or you use other php.ini file than you think, etc)
merry christmas,
-jiri
On Monday 22 December 2003 21:23, you wrote:
Call me a noob, but I'm having similar problems as Jon mentions in his original post, albeit limited to one file: preload.js.
I suspect the preload.js plays a part in accepting anything that is entered in whatever html form that is within SerWeb.
not really, they are a relict from web design mixed with serweb code. It is removed from CVS now.
The admin logon screen returns empty when I fillout the username/password and hit the Login button.
That must have some other reason. My quick guess is you did not apply correct PHP settings, as suggested in INSTALL - short_open_tag = on - register_globals = on (or you use other php.ini file than you think, etc)
merry christmas,
-jiri
Hi Jiri, Thanks for your quick reply. Indeed it seems that php doesn't quite know where to find his php.ini file. phpinfo claims it is at /usr/local/lib, but I put it in /etc/apache (as per installation instructions). Both locations don't seem to have much impact, I've changed some variables in php.ini, and re-checked phpinfo...no change...
So, I'm going to do some psycho-analysis on why php seems to have problems with his ego and his place on my system :)
I'm pretty sure that this indeed is the reason for the forms not working properly. If the settings you mention in the php.ini are not read by php, then all sorts of funny things can happen.
I'll let you know the result,
Merry Christmas,
Leo