Topic: Login Problems (a.k.a. - probelms with paths and congig) (Read 1140 times)
I crack Photoshop!
Posts: 3
22 credits Members referred : 0
« on: Aug 06, 2006, 07:27:32 PM »
Hello –
So far I like this script. I am having trouble getting the page protection to work for me. I know it’s somewhere in my settings or paths. I just cannot locate it.
I have index.php which contains my login form. All other files are in the /classes/access_user/ directory.
When I try logging in, it kicks me back to the index.php no matter what…whether I’m a registered user or not.
This is from my config: // variables (locations) standard pages (combine the pathes from the top or use your own) define("LOGIN_PAGE", CLASS_PATH."../../index.php"); define("START_PAGE", APPLICATION_PATH."welcome.php"); define("ACTIVE_PASS_PAGE", APPLICATION_PATH."activate_password.php"); define("DENY_ACCESS_PAGE", APPLICATION_PATH."deny_access.php"); define("ADMIN_PAGE", APPLICATION_PATH."admin_user.php");
This is what I’m putting at the top of my protected pages: <?php
I crack Photoshop!
Posts: 3
22 credits Members referred : 0
« Reply #4 on: Aug 12, 2006, 04:45:09 AM »
Yeah. Still no luck. With a fresh install from the package, I still get kicked back to the login page no matter what. I see the URL switch to my start page, but then it reverts me back to login. I'm still working on it.
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6436
39440 credits Members referred : 374
Yeah. Still no luck. With a fresh install from the package, I still get kicked back to the login page no matter what. I see the URL switch to my start page, but then it reverts me back to login. I'm still working on it.
it doesn't work if you follow the documentation? do you have an URL to your test install?