login to your ftp and eplace the option.php file by downloading it for the wordpress version you are using .
Didn’t do anything unfortunately.
Nothing. I even tried changing the functions.php and that didn’t do anything. I did notice that none of the secret keys where filled in, like it changed somewhere along the way. I added those back and checked the database info above that. Still nothing.
Try re-uploading all files & folders – except the wp-content folder – from a fresh download of WordPress.
Unbelievable. Nothing. I know for sure that all I did was change those two lines and I can’t get it back.
Thanks for working with me esmi and gaurav.
settings>general settings > I changed the wordpress address (url) and site address (url). It was http://shawngoesgreen.com, I changed them to http://shawnwrightsportfolio.com
That change in itself would not cause a problem in wp-includes/option.php. What have you done since then?
When I did that and hit save I have been getting the error message you see when you visit the site.
shawngoesgreen.com is the original site. I also have shawnwrightovernight.com and shawnwrightsportfolio.com pointing to the site.
I have changed the mysql database wp-options file. Both siteurl and home. Did various version to see if anything would work.
I edited wp-config.php and functions.php to change the site url manually. Neither worked and I removed the changes.
I reloaded all the files except wp-content folder with new files.
I have changed the mysql database wp-options file.
Sorry? No one told you to change any files with the possible exception of the wp-config.php file (method 1 in Changing_The_Site_URL). Do you mean that you edited the wp_options table in the database? If so, did you make a database backup first? and what did you change the values in the wp_options table to?
I forgot to mention that part. Before i got on here I tried this from the WordPress Codex. http://codex.wordpress.org/Changing_The_Site_URL#Changing_the_URL_directly_in_the_database
The database is now the was it was originally. Changes where made to:
Option_id 1
Option_Name site url
option_value http://shawngoesgreen.com
and
Option_id 39
Option_Name home
option_value http://shawngoesgreen.com
I changed the values to http://shawnwrightsportfolio.com saved and reloaded the page, nothing. I then changed to http://shawnwrightovernight.com saved and reloaded the page, nothing. Then I changed it back the way it was originally.
They have been back to http://shawngoesgreen.com since I started this post.
Do you have a pre-change database backup?