“Cannot modify header information” issue
-
Hi,
I’ve just installed wordpress and edited my wp-config. Install was ok. Now, when I access: http://www.website.com/wp-login.php I have the following lines of errors above the login form:
Warning: Cannot modify header information – headers already sent by (output started at /home/oza/www/wp-config.php:1) in /home/oza/www/wp-login.php on line 314
When I log in as an admin I have blank screen with:
Warning: Cannot modify header information – headers already sent by (output started at /home/oza/www/wp-config.php:1) in /home/oza/www/wp-login.php on line 302
Warning: Cannot modify header information – headers already sent by (output started at /home/oza/www/wp-config.php:1) in /home/oza/www/wp-login.php on line 314
Warning: Cannot modify header information – headers already sent by (output started at /home/oza/www/wp-config.php:1) in /home/oza/www/wp-includes/pluggable.php on line 665
Warning: Cannot modify header information – headers already sent by (output started at /home/oza/www/wp-config.php:1) in /home/oza/www/wp-includes/pluggable.php on line 666
Warning: Cannot modify header information – headers already sent by (output started at /home/oza/www/wp-config.php:1) in /home/oza/www/wp-includes/pluggable.php on line 667
Warning: Cannot modify header information – headers already sent by (output started at /home/oza/www/wp-config.php:1) in /home/oza/www/wp-includes/pluggable.php on line 868
`
I’ve Read the FAQ about that. I don’t have any character before or after <?PHP ?>.
As well I created a new wp-config from wp-config-sample and ovverwrittien the existing one a couple of times.
I don’t have any quotes missing in wp-config.Actually, I noticed there is no ?> at the end of my wp-config-sample, is that normal?
It ends with:
…
/** Sets up WordPress vars and included files. */
require_once(ABSPATH . ‘wp-settings.php’);I tried adding ?> but I still have the same issue.
I’ve had a look at all files just after unzipping wordpress-2.9.2.zip, some of them including wp-config-sample don’t and have ?> at the end and some of them appear to have a carriage return character after the ?>
I’ve tried unzipping with winrar and 7zip, same result.
I you have any Idea, it would be much appreciated.
Cheers.
- The topic ‘“Cannot modify header information” issue’ is closed to new replies.