Warning: Cannot modify header information

rans

New member
Messages
358
Points
0
Location
Somewhere down the road
Emulator
Hi,
Anyone can help me with this error?
69dseu.png


I tried the theme from rathena to hercules fluxcp. and i got this warning/error.

 
Usually that is because you output something before the header() function of php.

 
Usually that is because you output something before the header() function of php.
I did not get you. what do you mean?

I tried PlugNplay's free theme and found out that this error is not causing by the theme but the CMS addon from rAthena

When you add this to /theme/main/index.php

<?php if (!defined('FLUX_ROOT')) exit; $this->redirect($this->url('news','view')) ?>

that warning will show.

 
Usually that is because you output something before the header() function of php.
I did not get you. what do you mean?

I tried PlugNplay's free theme and found out that this error is not causing by the theme but the CMS addon from rAthena

When you add this to /theme/main/index.php

<?php if (!defined('FLUX_ROOT')) exit; $this->redirect($this->url('news','view')) ?>

that warning will show.
Could you copy paste the content of the file? Best would be pastebin and post the link?

 
Usually that is because you output something before the header() function of php.
I did not get you. what do you mean?

I tried PlugNplay's free theme and found out that this error is not causing by the theme but the CMS addon from rAthena

When you add this to /theme/main/index.php

<?php if (!defined('FLUX_ROOT')) exit; $this->redirect($this->url('news','view')) ?>

that warning will show.
Could you copy paste the content of the file? Best would be pastebin and post the link?
Here is the header.php from the theme

http://pastebin.com/3986QVXr

but i doubt that this is the problem. it seems that the content manager addon has the problem with this code inside /theme/main/index.php

Code:
<?php if (!defined('FLUX_ROOT')) exit;		$this->redirect($this->url('news','view'))		?>
 
Back
Top