Forums / Install & configuration / Login Script does not work

Login Script does not work

Author Message

Carl Tillotson

Sunday 27 April 2003 2:13:25 pm

Install worked fine, demo pages load up with no problems.

However, when I try to access the Admin page with user admin and password publish I just get the Admin page being republished and waiting for logon again. If I enter invalid user or password script recognises this and generates an error message.

Guess the user name and password is right but some reason the admin logon page is not passing me through to the main admin area for some reason.

Carl Tillotson

Sunday 27 April 2003 2:17:27 pm

Should have added that this is a Windows installation, testing out first before I load on to my site.

Problem file is :

http://localhost/index.php/admin

Get presented with the page OK, but then nothing happens when I enter the correct user name and password.

Carl Tillotson

Sunday 27 April 2003 2:46:25 pm

Log file from APACHE

127.0.0.1 - - [27/Apr/2003:22:46:18 +0100] "GET /index.php/admin HTTP/1.1" 200 3608
127.0.0.1 - - [27/Apr/2003:22:46:18 +0100] "GET /design/standard/stylesheets/core.css HTTP/1.1" 304 -
127.0.0.1 - - [27/Apr/2003:22:46:18 +0100] "GET /design/standard/stylesheets/debug.css HTTP/1.1" 304 -
127.0.0.1 - - [27/Apr/2003:22:46:18 +0100] "GET /design/admin/images/logo.gif HTTP/1.1" 304 -
127.0.0.1 - - [27/Apr/2003:22:46:18 +0100] "GET /design/admin/images/admin.gif HTTP/1.1" 304 -
127.0.0.1 - - [27/Apr/2003:22:46:18 +0100] "GET /design/admin/stylesheets/admin.css HTTP/1.1" 304 -
127.0.0.1 - - [27/Apr/2003:22:46:26 +0100] "POST /index.php/admin/user/login/ HTTP/1.1" 200 3753
127.0.0.1 - - [27/Apr/2003:22:46:33 +0100] "POST /index.php/admin/user/login/ HTTP/1.1" 302 5
127.0.0.1 - - [27/Apr/2003:22:46:34 +0100] "GET /index.php/admin/ HTTP/1.1" 200 3608

Entered an INVALID password and a VALID password, hence the two POST commands. As you can see, the VALID password simply loaded up the admin page again.

Carl Tillotson

Sunday 27 April 2003 3:11:05 pm

EMBARASSED !!

Finally, tracked down the problem!

I have got ZA PRo installed as my firewall, one of my settings is designed to stop ADS appearing. It seems that the login page cause the firewall to assume it was a pop-up ad so would not load the page. When I switched it off the page loaded OK.

Just thought I would come back and let you know, just in case other people have a similar problem!

Looks nice - still finding my feet, looks a little complicated compared to PHP-NUKE but seems more rounded.