Topic: error page issue solved like siherrera's (Read 1108 times)
I crack Photoshop!
Posts: 3
26 credits Members referred : 0
« on: Jul 19, 2006, 11:29:46 pm »
Hi Olaf, I'm quite new to php but have started to get the hang of it thanks to your access_user files. I was having a similar problem as siherrera in getting an error page instead of being directed to login if I went to a protected page. The server log files showed a 302 error each time. I had a friend who is quite familiar with php take a look at it and she found that the example.php code (line 5) had the following:
//$page_protect->login_page = "login.php";// change this only if your login is on another page
She took the 2 comments //s out of the beginning of this line and it all works fine now. I just thought I'd pass it along.
Thanks for sharing this code with us.
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374
It's time to use PHP5!
« Reply #1 on: Jul 19, 2006, 11:54:05 pm »
Quote
//$page_protect->login_page = "login.php";// change this only if your login is on another page
right this is to overrule the default setting inside the config file.
thanks for posting this here...
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=3340