Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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!

share|improve this question
    
when you migrated the database, did you update the URLs? –  Norcross Nov 29 '11 at 2:28
    
Yes I did update them. –  Michael Rader Nov 29 '11 at 2:38
    
It also happens with me i don't get why its happening but i deleted config file and install it again with same db so it works fine and also didn't lost any content . –  Mohit Bumb Nov 29 '11 at 7:17
    
nope you didn't :) –  Dany Khalife Nov 29 '11 at 14:22
add comment

migrated from stackoverflow.com Nov 29 '11 at 1:56

This question came from our site for professional and enthusiast programmers.

2 Answers

up vote 1 down vote accepted

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)

EDIT

Run this sql query and let me know :

UPDATE `wp_options` SET `option_value` = 'http://www.imaspy.com/wordpress' WHERE `option_name` = 'siteurl' OR `option_name` = 'home'
share|improve this answer
    
It's weird, since /wp-admin is a 404 –  tekknolagi Nov 29 '11 at 1:55
    
This was working fine on my local server. I just put all the files live and it hasn't worked since. So you want the sql file i exported from my local server then imported to my live server? –  Michael Rader Nov 29 '11 at 1:58
    
I don't know what "dump of the config table" means. What do you need? –  Michael Rader Nov 29 '11 at 2:13
    
sorry for being too technical, but yes i need the sql file please upload it some place and put the link here instead of copy pasting it :) –  Dany Khalife Nov 29 '11 at 2:31
    
wow it's pretty massive... you can see it here... imaspy.com/imaspy.sql –  Michael Rader Nov 29 '11 at 2:40
show 3 more comments

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.

share|improve this answer
    
Thanks, this helped me out but the first guy helped me first. –  Michael Rader Nov 30 '11 at 3:32
    
Thats ok. the main thing is to solve the problem and i am happy that it is solved. Thanks –  Vasanthan.R.P Nov 30 '11 at 5:48
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.