8, January 2009

start page does not appear after login - webmaster forum

 
Webdigity webmaster forums
This forum shares its ad revenue with its members!
[ 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: start page does not appear after login
« previous next »
Pages: [1] Print

Author Topic: start page does not appear after login  (Read 765 times)
Atari ST fan
*
Posts: 8
64 credits
Members referred : 0


« on: Oct 24, 2007, 11:57:22 PM »

My login seems to work well but after login I do not seem to be directed to the start page.  Looks like the line header("Location: ".$next_page); is not working.  I verified that $next_page has a value ("/classes/access_user/logged.php") and the script runs upto that point.  Help appreciated.
Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6557
40174 credits
Members referred : 374


It's time to use PHP5!


« Reply #1 on: Oct 25, 2007, 07:11:22 AM »



Last blog : Just a better Internet portal provided by Google
Atari ST fan
*
Posts: 8
64 credits
Members referred : 0


« Reply #2 on: Oct 25, 2007, 07:16:48 AM »

I seem to get it to work but battling with these errors:

Warning: Cannot modify header information - headers already sent by (output started at /big/dom/xfeow/www/classes/access_user/login.php:9) in /big/dom/xfeow/www/classes/access_user/access_user_class.php on line 130

Seems login.php cannot have much above the code.  If I delete everything above <? include($_SERVER['DOCUMENT_ROOT'] then the login works fine.
Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6557
40174 credits
Members referred : 374


It's time to use PHP5!


« Reply #3 on: Oct 25, 2007, 07:18:51 AM »

it's for all php scripts never output data before you send a header Wink


Last blog : Just a better Internet portal provided by Google
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=7278
Tags : login Bookmark this thread : Digg Del.icio.us Dzone more....

Topic sponsors:
Get a permanent link here for $1.99!


Pages: [1] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  Access_user Class (Moderator: Olaf)
Topic: start page does not appear after login
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Jan 08, 2009, 09:08:44 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!


Forum Statistics
Total Posts: 38.657
Total Topics: 7.772
Total Members: 4.659
Tutorials : 56
Resources : 143
Designs : 220
Latest Member: sardiniasarena

22 Guests, 4 Users online :

17 users online today:



Readers

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