View previous topic :: View next topic |
Author |
Message |
00squeaky -
Joined: 11 May 2004 Posts: 60
|
Posted: Sat Jul 17, 2004 12:25 am Post subject: What THe Heck DOes THIS ERROR MEAN! |
|
|
whenever i try to seta cookie, i get this:
Warning: Cannot modify header information - headers already sent by (output started at /home/freehost/public_html/ggzone/login.php:9) in /home/freehost/public_html/ggzone/login.php on line 31
Warning: Cannot modify header information - headers already sent by (output started at /home/freehost/public_html/ggzone/login.php:9) in /home/freehost/public_html/ggzone/login.php on line 32
Warning: Cannot modify header information - headers already sent by (output started at /home/freehost/public_html/ggzone/login.php:9) in /home/freehost/public_html/ggzone/login.php on line 33
anyway to fix this? _________________ Languages mastered:
HTML,GML,C,PHP,MYSQL (not really a language, but wtf) |
|
Back to top |
|
 |
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Sat Jul 17, 2004 8:21 am Post subject: |
|
|
I've seen that changing your session_save.path can fix these errors sometimes.
Find that variable in your php.ini setting, and make sure it is set right.
Now this only worked for me one, and usually it will also output something about the session, but try it anyway.
Is this even your server? _________________ Bienvenidos! |
|
Back to top |
 |
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Sat Jul 17, 2004 5:13 pm Post subject: Re: What THe Heck DOes THIS ERROR MEAN! |
|
|
00squeaky,
Nothing should be written before sending the headers using header(). So review your code any remove any echo or print statements before header(). Even a included a HTML space can cause the problem. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
00squeaky -
Joined: 11 May 2004 Posts: 60
|
Posted: Sat Jul 17, 2004 8:37 pm Post subject: |
|
|
i did. there is nothing above the <HTML> tag, nor is their any <HTML> tag. all i am trying to do is the setcookie() function. _________________ Languages mastered:
HTML,GML,C,PHP,MYSQL (not really a language, but wtf) |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Wed Jul 21, 2004 1:07 am Post subject: |
|
|
00squeaky wrote: | i did. there is nothing above the <HTML> tag, nor is their any <HTML> tag. all i am trying to do is the setcookie() function. |
Paste your code here if it isn't too long or send it to support@aprelium.com . We'll tell you what's wrong with it. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
Foxified -
Joined: 13 Apr 2004 Posts: 487 Location: Canada
|
Posted: Thu Jul 22, 2004 2:18 am Post subject: |
|
|
iNaNimAtE wrote: | I've seen that changing your session_save.path can fix these errors sometimes.
Find that variable in your php.ini setting, and make sure it is set right.
Now this only worked for me one, and usually it will also output something about the session, but try it anyway.
Is this even your server? |
I dont think it is, it says in the directories "freehost", so , unless he has that in his Abyss server.. I doubt its on his site. _________________
 |
|
Back to top |
|
 |
|