wendyhouse
Member
Posted 3 years ago #
Just upgraded to 2.7. All works fine except my database (posts and pages) are not being accessed. My web service pprovider if GoDaddy
Before upgrading I updated the wp-config file.
I took the wp-config-sample.php, editted it using wordpad by copying my settings from the 2.6.2 working config file for
define('DB_NAME', 'copiedfromworkingb62');
define('DB_USER', 'copiedfromworkingb62');
define('DB_PASSWORD', 'copiedfromworkingb62');
define('DB_HOST', 'copiedfromworkingb62');
I've read the notes on upgrading the config file but I cant really uderstand them (I'm not terribly technical). Is there something obvious that I need to do to re-access my post data-base?
wendyhouse
Member
Posted 3 years ago #
I reverted to my previous config file.
logged-in again with my old credentials (rather than fancy new one's provided during upgrade) and my database is available. I'll continute using my old config file until I work out how to upgrade it - any advice on this thread greatfully recieved. Many thanks
Wendy
emrahgunduz
Member
Posted 3 years ago #
you might have accidentally deleted a semi-colon, paranthesis, or something that might create an error.
or, if you used a prefix for the database, you might need to check this line :
$table_prefix = 'main_';
wordpress might be trying to duplicate the prefix while accessing the db.
wendyhouse
Member
Posted 3 years ago #
Sounds likely
I've double-checked the format of my text entry in the new config file and cannot find any obvious format errors on the lines where I entered my user account data which looks pretty much like the text in my first comment. Maybe there is another line that I should change somewhere, such as add a provider port number?
For now just use your 2.6.2 wp-config.php file to see that you can access the blog.
Then you should only need to add the NONCE_KEY define line.