Author |
Message |
![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 07/12/2005 10:37:52
|
Niels
Student
Joined: 21/08/2005 17:06:50
Messages: 97
Offline
|
When somebody adds a comment, the following is displayed:
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/gastenboek/comment.php:1) in /var/www/html/gastenboek/lib/comment.class.php on line 178
However, the comment is added, but how to change this?
|
|
![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 07/12/2005 10:56:00
|
Carbonize
Master
![[Avatar]](/forum/images/avatar/96871336492d73e733f55.jpg)
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
You must have white space either before the <?php or after the closing ?> in either comment.php or lib/comment.class.php
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 07/12/2005 11:02:46
|
Niels
Student
Joined: 21/08/2005 17:06:50
Messages: 97
Offline
|
It has something to do with this:
header("Location: $GB_PG[index]");
I added a table above the header, maybe I've done that wrong...
|
|
![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 06/02/2006 16:34:24
|
Niels
Student
Joined: 21/08/2005 17:06:50
Messages: 97
Offline
|
Still this warning:
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/gastenboek/comment.php:1) in /var/www/html/gastenboek/lib/comment.class.php on line 178
How to solve?
|
|
|