If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
attn. : jared .... error message  XML
Forum Index » Support Forum
Author Message
Anonymous



aight jared here goes.....i've now got my header to appear correctly and everything on the gb works fine ... however .... when i login to the admin panel i get this series of errors..... any ideas???

Warning: Cannot add header information - headers already sent by (output started at /home/httpd/web/outofsync2001.com/guestbook/globalnav.html:7) in /home/httpd/web/outofsync2001.com/guestbook/lib/admin.class.php on line 33

Warning: Cannot add header information - headers already sent by (output started at /home/httpd/web/outofsync2001.com/guestbook/globalnav.html:7) in /home/httpd/web/outofsync2001.com/guestbook/lib/admin.class.php on line 34

Warning: Cannot add header information - headers already sent by (output started at /home/httpd/web/outofsync2001.com/guestbook/globalnav.html:7) in /home/httpd/web/outofsync2001.com/guestbook/lib/admin.class.php on line 35

Warning: Cannot add header information - headers already sent by (output started at /home/httpd/web/outofsync2001.com/guestbook/globalnav.html:7) in /home/httpd/web/outofsync2001.com/guestbook/lib/admin.class.php on line 36



a similar error also appears when the user trys to post a comment to a message......when the gb is refreshed the comment has indeed been poster however that error message appears immediately after posting the comment.......

Warning: Cannot add header information - headers already sent by (output started at /home/httpd/web/outofsync2001.com/guestbook/globalnav.html:7) in /home/httpd/web/outofsync2001.com/guestbook/lib/comment.class.php on line 175


whatever the gb is doing doesn't seem to be anything fatal just annoying....so is there something i should just comment out??? btw thanks and i hope you don't mind but i took your check referrer script and adapted it to my board.....good idea


thanks
pyrohavoc
Beginner

Joined: 12/01/2003 19:56:29
Messages: 6
Offline

yo jared buddy you still around???

so much code so little time.......
Jared
Student

Joined: 07/01/2003 22:58:43
Messages: 96
Offline

did you place your includes around the admin file?

For the admin file, you have to hard code it in the templates within admin.
modify the template file adminentry.php(I think that is the one)

as for the comment.php file. I tried it on my site and got the same error.

for the fix, I had to edit comment.class.php at line 154 where it says and replace it with

It is not how I would like it, but it works. I am going to try and do a better fix for this
[WWW] [Yahoo!] [MSN]
Jared
Student

Joined: 07/01/2003 22:58:43
Messages: 96
Offline

bumping it, as I added addtional comments to the reply above
[WWW] [Yahoo!] [MSN]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum