Forums

[resolved] After the moving to Ubuntu: Cannot modify header information (6 posts)

  1. insanoff
    Member
    Posted 2 years ago #

    After the files are moved to Ubuntu, this error comes when i enter in controlpanel:
    Warning: Cannot modify header information - headers already sent by (output started at /var/www/wass/wp-content/themes/wass/functions.php:86) in /var/www/wass/wp-includes/pluggable.php on line 868

    Problems with encoding?

  2. Problems with encoding?

    Usually it's this problem and fix outlined here.

  3. insanoff
    Member
    Posted 2 years ago #

    I have done with NetBeans and gedit, but did not help. (((

  4. Try this: Backup up your files and database one more time. You moved your blog so you should be able to do that again.

    Then via SSH (or a terminal window) to your Ubuntu server

    cd your-wordpress-directoy
    cp wp-config.php wp-config-save.php
    cp wp-config-sample.php wp-config.php

    That will save your old wp-config.php and get you a fresh copy of wp-config.php.

    Now edit the DB_NAME, DB_USER, DB_PASSWORD, and DB_HOST to match your old settings and see if that works.

  5. insanoff
    Member
    Posted 2 years ago #

    Thank you very! Problem was in function.php file.

  6. Heh, I should have know from your error log :)

    Don't forget to mark this one resolved.

Topic Closed

This topic has been closed to new replies.

About this Topic