WordPress.org

Ready to get started?Download WordPress

Forums

messed up in moving a site (16 posts)

  1. jan@jsphotofx.com
    Member
    Posted 1 year ago #

    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?

  2. jan@jsphotofx.com
    Member
    Posted 1 year ago #

    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?

  3. vgvetter
    Member
    Posted 1 year ago #

    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.]

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Try reviewing Moving_WordPress.

  5. jan@jsphotofx.com
    Member
    Posted 1 year ago #

    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?

  6. jan@jsphotofx.com
    Member
    Posted 1 year ago #

    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?

  7. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    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.

  8. jan@jsphotofx.com
    Member
    Posted 1 year ago #

    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?

  9. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Did you try resetting the plugin's folder?

  10. jan@jsphotofx.com
    Member
    Posted 1 year ago #

    yes

  11. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    What is the error exactly?

  12. jan@jsphotofx.com
    Member
    Posted 1 year ago #

    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

  13. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

  14. jan@jsphotofx.com
    Member
    Posted 1 year ago #

    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.

  15. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

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

  16. jan@jsphotofx.com
    Member
    Posted 1 year ago #

    thanks for the cryptic help

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.