Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
headers already sent
#1
Hello again

on my local wamp I don't have the error, but when put on the production server my in-development plugin generates the error
Code:
Warning: Cannot modify header information
headers already sent by (output started at /path/to/getsimple/admin/inc/template_functions.php:27)
looking briefly at the template_functions.php file with its ob_start and ob_end this seems normal (so maybe I should save the datas more elegantly using an ajax request instead of using a header:Location trick as I mimicked what is done in the pages.php file) but what may be going on differently on the local server vs the distant server that don't make it throw the error ?

Now that I think about it : I don't use the same theme locally and on the webserver so I think I know what's wrong : my them doesn't have a functions.inc.php file while the default theme (on the server) has.
Reply


Messages In This Thread
headers already sent - by Bertrand - 2014-03-08, 05:07:23
RE: headers already sent - by Bertrand - 2014-03-08, 05:09:27
RE: headers already sent - by shawn_a - 2014-03-08, 06:36:47
RE: headers already sent - by shawn_a - 2014-03-08, 06:38:02
RE: headers already sent - by shawn_a - 2014-03-08, 06:40:19
RE: headers already sent - by Bertrand - 2014-03-08, 09:03:28
RE: headers already sent - by shawn_a - 2014-03-08, 09:38:40
RE: headers already sent - by Bertrand - 2014-03-08, 10:01:53
RE: headers already sent - by shawn_a - 2014-03-08, 10:24:03
RE: headers already sent - by Bertrand - 2014-03-08, 10:29:05
RE: headers already sent - by Bertrand - 2014-03-08, 19:14:49



Users browsing this thread: 1 Guest(s)