Author |
Message |
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?
|
|
07/12/2005 10:56:00
|
Carbonize
Master
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 |
|
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...
|
|
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?
|
|
|