As I read more and more about this, I’m getting the feeling I’ve really messed my site up. Can someone please help me?
My guess is I did something wrong in the edit/overwrite process.
Please? Do I need to recopy large parts of WordPress 2.6.3? Is there a place I can download a “wp-config.php” file?
See the big orange button on the top of the page you are on? The one that says DOWNLOAD? Click it. Download 2.6.3, extract the files, and compare that wp-config-sample.php to the wp-config.php on your site.
If you edited one file, why would you need to mess with more than one???
Thanks Whooami. I did compares the two php files and now they are the same. It changed the error message, but my site now says:
Error establishing a database connection
which is different from the message prior. any ideas? sorry if I’m describing poorly…English is not my first language.
I’ve enlisted a computer programmer friend to help me with my blog crash, but even he’s presently unable to fix. Any advice would be appreciated by he and I. He helped me write the following summary:
In attempting to fix a problem with strange characters appearing as described here, I took the advice to remove
define(‘DB_CHARSET’, ‘utf8’);
from the wp-config.php file. That, however, caused even more trouble (probably because there are a number of posts using Asian characters).
When I went to repair the damage, though, things got further out of control, leading to a problem where I get the following error:
Fatal error: Call to undefined function: wp() in /home/…/public_html/eastwindupchronicle/wp-blog-header.php on line 14
I’ve confirmed that wp() does exist in the wp-included/functions.php file, which gets included from wp-settings.php. The only file I did anything with was wp-config.php.
I did revert to the wp-configsample.php file, but it didn’t have my database connectivity information, so I restored a backup wp-config.php in the end. Still, the wp() function is not being found.
How can I find the wp() function again? Or might the problem be with something else missing in the restored wp-config.php?
1. If it is an older blog = upgrade , then you should remove BOTH the charset and collation lines from the wp-config!
2. Reading more and posting less would help: on the main page of the topics
http://ww.wp.xz.cn/support/view/all-topics
there is presently a similar thread with a possible solution; see:
http://ww.wp.xz.cn/support/topic/163778?replies=11