WordPress.org

Ready to get started?Download WordPress

Forums

[closed] Installing live site to localhost (3 posts)

  1. luffer
    Member
    Posted 4 years ago #

    Hi,

    I've got a live site that's working perfectly, I've also got a local installation of XAMPP on my machine. I created a backup of the sites database and then installed it to PHPMyAdmin in XAMPP. I edited the 'siteurl' and 'home' values in the wp_options table so they match the correct location.

    Then I used FTP to copy the entire site from my hosting account to the 'htdocs' directory.

    When I visit the site on my localhost I get the following error at the top of all the pages:

    Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\techietalk\wp-content\plugins\theme-my-login\includes\widget.php:179) in C:\xampp\htdocs\techietalk\wp-content\plugins\theme-my-login\theme-my-login.php on line 379

    I keep getting these warnings, here's another one that cropped up in the Dashboard:

    Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\techietalk\wp-content\plugins\category-posts\cat-posts.php:451) in C:\xampp\htdocs\techietalk\wp-includes\pluggable.php on line 868

    Why is the locally stored version of my site throwing all these messages when the live site is fine? I'm confused!

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    Solving "headers already sent" warnings

    You may have the same problems on your remote site but the warnings are being suppressed by the server.

  3. Mark / t31os
    Moderator
    Posted 4 years ago #

    What was the problem in using the original thread you started for the same thing?
    http://wordpress.org/support/topic/360026?replies=7

    Closing as duplicate, if you feel this is a new topic, state this in your other thread with the reasons and we can reconsider opening this one, if it is indeed not duplicative.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.