My website is ImASpy.com. If you click on the link, Findings, this takes you to my first Wordpress page. It appears to work fine until you click on comments, or you try to go to the about page, which is another Wordpress page. it stops working and usually gives a database error. Even worse, I cannot get into my Wordpress administration. Any idea what's going on? If you need details please let me know what you need. I can give you the entire Sql file or the wp-config.php if you need it. Thanks!
migrated from stackoverflow.com Nov 29 '11 at 1:56
This question came from our site for professional and enthusiast programmers.
You probably messed up with the config on the DB
I would like the dump of the config table please, that way i can see the paths to your wp install (i had a similar problem which i solved by manually correcting the fields in DB)
Run this sql query and let me know :
First decide which url you are going to use. The actual files are on http://www.imaspy.com/wordpress/ url. So you have to use that inorder use your wordpress. If you want to use the main domain url then you have to transfer all the files from the wordpress folder to the main root folder. Also change the following values to the database.
Table name: wp_options
Fileds: siteurl and home
The value should not be imaspy/wordpress
It should be http://www.imaspy.com/wordpress or the main domain name (You have to choose which location you are going to use.
I hope this helps.