• I was moving a client’s site from under my website to their own domain, same server. Copied the files over, got the site to show up. However, a few problems emerged. When I upload the new wp-config file that lists the new database location, I get this error message: Warning: Cannot modify header information – headers already sent by (output started at /home/watsonbk/public_html/wp-config.php:1) in /home/watsonbk/public_html/wp-includes/pluggable.php on line 866.

    At this point I can not access the site or the dashboard. When I go back to the original wp-config file that goes to the database under my website, the site shows up, but the inside pages have a 404 error. I think I may be able to fix that, but the first error message throws me. I made no changes to the pluggable.php file, so why does that one suddenly have an error?

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter jan@jsphotofx.com

    (@janjsphotofxcom)

    ok, I admit defeat on why the inside pages are getting the 404 error. I reimported them, started with a new menu and added the pages again, still the same error.

    So two problems and so far no answers. Anyone?

    Can not address the manner in which you moved your site, but have had zero problems moving several sites using the Backup and Move Plugin by Gaurav Aggarwal.

    [Copy removed. Please link to Codex pages where they exist rather than your own ebook.]

    Try reviewing Moving_WordPress.

    Thread Starter jan@jsphotofx.com

    (@janjsphotofxcom)

    yes, I have tried reviewing that page of instructions, and it did solve a few issues. But the problems I have are not among those listed. Why would the home page work, but not the others? and why would updating the database cause an error on a totally unrelated php file?

    Thread Starter jan@jsphotofx.com

    (@janjsphotofxcom)

    update, I have the inside pages working. But I still am getting the error message about the pluggable.php file when I upload the wp-config file that has the current database info. How does the config file affect the pluggable file?

    Have you tried:

    – deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the Twenty Eleven theme to rule out any theme-specific problems.

    resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

    – re-uploading the wp-admin and wp-includes folders from a fresh download of WordPress.

    Thread Starter jan@jsphotofx.com

    (@janjsphotofxcom)

    deactivating plugins – all 3 that were in use and 2 that were uploaded to facilitate the transfer, no change on the error message.

    Switching to TwentyEleven made no difference

    Neither did updating to 3.4 or uploading the freshly downloaded wp-admin and wp-includes folders of 3.4.

    Also reset the plugins, to no avail.

    Any other ideas?

    Did you try resetting the plugin’s folder?

    Thread Starter jan@jsphotofx.com

    (@janjsphotofxcom)

    yes

    What is the error exactly?

    Thread Starter jan@jsphotofx.com

    (@janjsphotofxcom)

    Warning: Cannot modify header information – headers already sent by (output started at /home/watsonbk/public_html/wp-config.php:1) in /home/watsonbk/public_html/wp-includes/pluggable.php on line 881

    Thread Starter jan@jsphotofx.com

    (@janjsphotofxcom)

    Ok, there’s no extra spaces anywhere at the beginning or end of either wp-config or pluggable.php, or in line 881 of pluggable.php.

    The only thing I see is the error messages has /home/watsonbk/public_html/wp-config.php:1 while there is no such file with a :1. Only the wp-config.php file.

    Now try re-reading the page at the link I posted above.

    Thread Starter jan@jsphotofx.com

    (@janjsphotofxcom)

    thanks for the cryptic help

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘messed up in moving a site’ is closed to new replies.