groothedde
Member
Posted 2 years ago #
I've read a lot of info about this problem. But I can not seem to tackle the problem. The problem must be somewhere in the wp-config-sample.php that I used to generate my wp-config.php
The warning I get are all appearing in line 1 of the wp-config but affect wp-login on line 302 and 314. Perhaps this helps to locate the problem?
clueless at this point and about to throw in the towel.
It means you have a blank space, or blank line before the opening <?php
Edit the file to remove the blank spaces.
groothedde
Member
Posted 2 years ago #
I edit the file using notepad, so this can not be the problem i think.
If I open wp-config.php the first thing that shows in the code is the <?php, so no extra lines or spaces there. The same goes for the final line, after the tag ?> there are no spaces or lines.
I also tried using with or without the closing tage ?>, made sure there were no spaces or lines after. The problems seems to be inside the wp-config.
groothedde
Member
Posted 2 years ago #
I replaced the opening and closing tags, and retyped them myself and now i have the following problem:
Warning: Cannot modify header information - headers already sent by (output started at /home/id00903/domains/groothedde.info/public_html/index.php:1) in /home/id00903/domains/groothedde.info/public_html/wp-includes/pluggable.php on line 868
Any thoughts anybody?
Bas
Your index.php should be fairly simple.
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define('WP_USE_THEMES', true);
/** Loads the WordPress Environment and Template */
require('./wp-blog-header.php');
groothedde
Member
Posted 2 years ago #
Yep, I have the exact same thing.