ramadev
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to move live site to localhostsamboll – I have a similar situation with my wp 2.7.1 site that I want to work on locally. I am using MAMP 1.8.4 on my imac-isight (PPC).
I followed the instructions that were given on the page you linked
—I chose to include these in my wp-config.php:
define(‘WP_HOME’,’https://example.com’);
define(‘WP_SITEURL’,’https://example.com’);I can get to my homepage at localhost:8888 but cannot browse freely. Errors pop up like:
(Cannot modify header information – headers already sent by) accessing several pages, and some items are missing (an swf file for instance).
Also, when I try going to https://localhost:8888//wp-login.php, I get to the login page but it has the following at the top before the userid:pw fields:
Warning: Cannot modify header information – headers already sent by (output started at /Applications/MAMP/htdocs/wordpress/wp-content/themes/keyrome_theme/functions.php:22) in /Applications/MAMP/htdocs/wordpress/wp-login.php on line 255
Warning: Cannot modify header information – headers already sent by (output started at /Applications/MAMP/htdocs/wordpress/wp-content/themes/keyrome_theme/functions.php:22) in /Applications/MAMP/htdocs/wordpress/wp-login.php on line 267
After login, I get lots more of them:
Warning: Cannot modify header information – headers already sent by (output started at /Applications/MAMP/htdocs/wordpress/wp-content/themes/keyrome_theme/functions.php:22) in /Applications/MAMP/htdocs/wordpress/wp-login.php on line 255
Warning: Cannot modify header information – headers already sent by (output started at /Applications/MAMP/htdocs/wordpress/wp-content/themes/keyrome_theme/functions.php:22) in /Applications/MAMP/htdocs/wordpress/wp-login.php on line 267
Warning: Cannot modify header information – headers already sent by (output started at /Applications/MAMP/htdocs/wordpress/wp-content/themes/keyrome_theme/functions.php:22) in /Applications/MAMP/htdocs/wordpress/wp-includes/pluggable.php on line 649
Warning: Cannot modify header information – headers already sent by (output started at /Applications/MAMP/htdocs/wordpress/wp-content/themes/keyrome_theme/functions.php:22) in /Applications/MAMP/htdocs/wordpress/wp-includes/pluggable.php on line 650
Warning: Cannot modify header information – headers already sent by (output started at /Applications/MAMP/htdocs/wordpress/wp-content/themes/keyrome_theme/functions.php:22) in /Applications/MAMP/htdocs/wordpress/wp-includes/pluggable.php on line 651
Warning: Cannot modify header information – headers already sent by (output started at /Applications/MAMP/htdocs/wordpress/wp-content/themes/keyrome_theme/functions.php:22) in /Applications/MAMP/htdocs/wordpress/wp-includes/pluggable.php on line 850
I tried reading a few threads on this warning, but I’m not finding an answer for my low knowledge level to do anything with.
Can you enlighten me? I want to be able to work on an offline version of my site (test upgrade to 2.9.1 and do some redesign).
Perhaps I just messed up the mysql database or something, can’t figure it our.
Thanks!