Background: You get that error when your PHP starts echo'ing text before the response HEADer has been generated. Normally the output content is created in in-memory template variables and then generated at the very end using the template engine. Just prior to output text from the templating engine, the code typically spits out response HEADers... so your error says that you started output of the HTML payload (body) before your code output the HTTP response header, so it's complaining since you can't generate headers after you start the payload (body).
The short answer is you probably have a typo in this file:
- Code: Select all
[phpBB Debug] PHP Warning: in file [ROOT]/gym_sitemaps/includes/gym_output.php on line 136: Cannot modify header information - headers already sent by (output started at [ROOT]/language/tr/gym_sitemaps/gym_common.php:1)
I assume "/language/tr/gym_sitemaps/gym_common.php" is a translated file and you have a typo in it. For example, you're missing the opening "<?php" line, so the compiler interprets it not as code, but as text to be echo'd to the output stream.
PS: In my opinion, sitemaps are a complete waste of time for phpBB. No bot has any issue efficiently traversing phpBB boards.