• Hi everybody,
    I have installed WordPress a bunch of times now on Ubuntu, OS X, XP and Vista and I never got any errors..
    But for some reason I can’t install WP (locally) on my Ubuntu (9.04) Desktop, I keep getting a bunch of errors:

    The first thing I do as usual is to edit and rename the config file, no problems here (apparently).
    Next I go to the install.php (…/wordpress/wp-admin/install.php?step=2) page and I get this error:

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/php/wordpress/wp-config.php:78) in /var/www/php/wordpress/wp-admin/install.php on line 36

    (screenshot: https://tinyurl.com/r8v5sy)

    I enter the Blog title and the email address, manage to get to the next page (…/wordpress/wp-login.php) where I can see the login form, but at the top of the page there are two new errors:

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/php/wordpress/wp-config.php:78) in /var/www/php/wordpress/wp-login.php on line 255
    
    Warning: Cannot modify header information - headers already sent by (output started at /var/www/php/wordpress/wp-config.php:78) in /var/www/php/wordpress/wp-login.php on line 267

    (screenshot: https://tinyurl.com/oe2o4w)

    and where I try to login, I get four new errors:

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/php/wordpress/wp-config.php:78) in /var/www/php/wordpress/wp-login.php on line 255
    
    Warning: Cannot modify header information - headers already sent by (output started at /var/www/php/wordpress/wp-config.php:78) in /var/www/php/wordpress/wp-login.php on line 267
    
    Warning: Cannot modify header information - headers already sent by (output started at /var/www/php/wordpress/wp-config.php:78) in /var/www/php/wordpress/wp-includes/pluggable.php on line 649
    
    Warning: Cannot modify header information - headers already sent by (output started at /var/www/php/wordpress/wp-config.php:78) in /var/www/php/wordpress/wp-includes/pluggable.php on line 650
    
    Warning: Cannot modify header information - headers already sent by (output started at /var/www/php/wordpress/wp-config.php:78) in /var/www/php/wordpress/wp-includes/pluggable.php on line 651
    
    Warning: Cannot modify header information - headers already sent by (output started at /var/www/php/wordpress/wp-config.php:78) in /var/www/php/wordpress/wp-includes/pluggable.php on line 850

    I have no clue about what is happening, I tried to reinstall it several times, everytime I did I deleted all the tables from the database, I even tried to create a new database, I redownloaded the file several times too, refilled wp-config.php several times…to be honest I’m out of ideas…I have a bunch of other php projects that work fine on the local apache server too so I don’t think the problem comes from here.

    Does anybody know what is wrong please?

Viewing 2 replies - 1 through 2 (of 2 total)
  • according to the errors you have a blank line or carriage return at the end of the wp-config.php file
    delete that and make sure there are none at the beginning either

    Thread Starter azizlight

    (@azizlight)

    You were right there was an empty space at the end of the wp-config.php file. It’s gedit (actually one of its plugins) that was trying to be too smart and add an empty line at the end everytime I saved.
    Anyway thanks a lot for the help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Local installation errors in Ubuntu 9.04’ is closed to new replies.