I crack Photoshop!
Posts: 3
28 credits Members referred : 0
« on: Jul 28, 2006, 10:32:16 PM »
Hello,
First let me say this is a great script. Thanks olaf. Second I am having a problem similar to daChamp concerning the login page. After I register the user and try to login I get a "The page cannot be found" page. (The login page shows up and I can enter the info but after I hit the login button then the page can not be found) But if I go to the example page again it says I am logged in. I believe the include statement in the login page points to the correct spot because if it doesn’t you get a bunch of mysql errors which I don't get. My APPLICATION_PATH is set to where the example.php, login.php files are. I did create a /classes/access_user/ folder with the dbconfig.php and access_user_class.php files in it. I don’t know where to go with this one. Any help would be appreciated.
Thanks
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6436
39440 credits Members referred : 374
It's time to use PHP5!
« Reply #1 on: Jul 29, 2006, 02:00:38 AM »
yes its all about the pathes, I use always absolute pathes, do you have the script somewhere online?
I crack Photoshop!
Posts: 3
28 credits Members referred : 0
« Reply #2 on: Jul 29, 2006, 07:52:03 AM »
I figured it out. I had to change define("START_PAGE", "/classes/access_user/example.php"); to define("START_PAGE", APPLICATION_PATH."example.php"); Thanks for the help and once again great script
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6436
39440 credits Members referred : 374
I figured it out. I had to change define("START_PAGE", "/classes/access_user/example.php"); to define("START_PAGE", APPLICATION_PATH."example.php"); Thanks for the help and once again great script