Old 07-26-2005   #1 (permalink)
Registered User
 
Join Date: Jul 2005
Posts: 3

Membership problems

I am going thru the membership tut and I am having the same problem as most others have had with it.

Warning: Cannot modify header information - headers already sent by (output started at /home/xxxx/public_html/member/config.php:6) in /home/xxxx/public_html/member/login.php on line 27

I have checked my Session_starts and they are all on line 2 immediatly following the <?php. I have also checked to make sure there are no spaces in front of any <?php tags.

Can you post a corrected config.php and login.php? This error even comes up when I use the original source files.

Thanks
comtek is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 07-27-2005   #2 (permalink)
code anyone?
 
scrowler's Avatar
 
Join Date: Feb 2004
Location: New Zealand
Posts: 590

Send a message via MSN to scrowler Send a message via Skype™ to scrowler
wow we really need a FAQ thread for this tutorial...

if you read the error, it tells you that on line 6 of config.php is where the sessions are first started, and line 27 of login.php is where the script is trying to re-send header information.

if you can't figure out from that what's wrong, post those lines of code.
__________________
BioRUST Tutorials - the birthplace
scrowler is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 07-27-2005   #3 (permalink)
Sheep Worrier
 
Man1c M0g's Avatar
 
Join Date: Sep 2003
Location: Portsmouth, UK.
Posts: 4,105
Blog Entries: 14

Send a message via ICQ to Man1c M0g Send a message via MSN to Man1c M0g Send a message via Skype™ to Man1c M0g
Well Scrowler, it proves that you a popular author, if nothing else! Thanks for keeping up with the threads though...
__________________
Man1c M0g is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 07-27-2005   #4 (permalink)
Registered User
 
Join Date: Jul 2005
Posts: 3

Ok, I got it fixed. There were two blank lines after the ?> at the end of config.php

After removing the blank lines it works.

Last edited by comtek; 07-27-2005 at 02:54 PM..
comtek is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 07-28-2005   #5 (permalink)
Local Biorust Beast
 
Order's Avatar
 
Join Date: Oct 2003
Location: San Diego, CA, USA
Posts: 2,253

Send a message via AIM to Order Send a message via MSN to Order Send a message via Yahoo to Order
Scrowler: if you create the FAQ thread, I will happily sticky it.
__________________
Order is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 07-28-2005   #6 (permalink)
code anyone?
 
scrowler's Avatar
 
Join Date: Feb 2004
Location: New Zealand
Posts: 590

Send a message via MSN to scrowler Send a message via Skype™ to scrowler
Quote:
Originally Posted by Order
Scrowler: if you create the FAQ thread, I will happily sticky it.
it will be done
__________________
BioRUST Tutorials - the birthplace
scrowler is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Plz help w/ PHP-MySQL membership script Tutorial Oasis HTML / PHP / ASP / JS 9 12-02-2005 12:40 AM
question about membership package davehaz HTML / PHP / ASP / JS 3 05-08-2005 05:11 PM
Big Membership Vote Man1c M0g BioRUST Specific Threads 15 04-20-2005 03:03 PM
Membership Script Error indianguy8897 HTML / PHP / ASP / JS 3 04-17-2005 11:48 PM


All times are GMT +1. The time now is 05:12 PM.
Content Relevant URLs by vBSEO 3.2.0

Design & Content © BioRUST 2008 :: PRIVACY STATEMENT :: LEGAL INFORMATION :: ADVERTISING MEDIA KIT