28, May 2012

login page not working - webmaster forum

 
Webdigity webmaster forums
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  Access_user Class (Moderator: Olaf)
Topic: login page not working
« previous next »
Pages: [1] Print

Author Topic: login page not working  (Read 1648 times)
I crack Photoshop!
*
Posts: 3
28 credits
Members referred : 0


« on: Jul 28, 2006, 09: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: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #1 on: Jul 29, 2006, 01: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, 06: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: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #3 on: Jul 29, 2006, 10:19:45 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
this would be my next hint Wink

Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=3444
Tags : mysql Bookmark this thread : Digg Del.icio.us Dzone more....

Pages: [1] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  Access_user Class (Moderator: Olaf)
Topic: login page not working
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 12:39:08 pm





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!






Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2012 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.