"Warning: Cannot add header information" When addi

t0ee

Joined: 2002-09-20
Posts: 1
Posted: Fri, 2002-09-20 19:46

I get the message:

Warning: Cannot add header information - headers already sent by (output started at /u/htdocs/mtadam/html/pn/modules/gallery/config.php:86) in /u/htdocs/mtadam/html/pn/modules/gallery/do_command.php on line 137

when ever I add a new album. Now the album still comes up after I go back to the Gallery.

If anyone has any ideas please let me know.

Also my gallery was named gallery (forgot to change the default) is there a way to change it once you finished the configruation?

Thanks

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sat, 2002-09-21 08:38
Quote:
Warning: Cannot add header information - headers already sent by (output
started at /u/htdocs/mtadam/html/pn/modules/gallery/config.php:86) in
/u/htdocs/mtadam/html/pn/modules/gallery/do_command.php on line 137

Ok, so what did you put into your config.php on line 86? Gallery is saying "I can't send an HTTP header to the web browser because somebody started writing HTML content before they were supposed to". The config.php file generated by the config wizard does not output anything; you must find whatever change you made to config.php and remove it.