WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] I lost my posts and comments after WordPress transfer

[Resolved] I lost my posts and comments after WordPress transfer

  • Dear all,

    I would like to ask you for help.

    From 4 days I’m struggling with changing domain and server for my WordPress blog.

    I do exactly the same steeps as in Codex ( http://codex.wordpress.org/Moving_WordPress ). I used Search and Replace for WordPress Databases Script to safely change all instances. (http://interconnectit.com/124/search-and-replace-for-wordpress-databases/).

    The blog works. BUT. It’s looks like new one!

    All data are on the server, but WordPress don’t recognize them. Instead it’s looks that the blog will be just after installation. There is no post, comments, or even themes.

    I really done a lot of reading, but I did not find the same case, so I decide to ask you guys. I would be grateful for any help.

Viewing 15 replies - 1 through 15 (of 25 total)
  • esmi

    @esmi

    Forum Moderator

    Site url?

    And it should looks like my blog on my previous location: http://economisation.herobo.com/ I copied the same files

    esmi

    @esmi

    Forum Moderator

    Did you restore the old database into the new one?

    I used Filezilla to transfer files to the new location. This is primary location, everything is in main folder public_html. I have also backup files from server.

    Thank you esmi. I see what you mean. There are some other files, which contain informations about url’s necessarly for MySQL system? I will use those instructions now: http://codex.wordpress.org/Restoring_Your_Database_From_Backup

    Thank you Esmi. Blog looks fine now. But I have another problem

    I could not get access to admin panel by using this link:
    http://karolpelc.com/wp-login

    Please check, whatever you will write there, is loosing direction, and simply directing you to Server provider.

    I tried to replace links by using “Replace for WordPress Databases Script” but after change I sill could not log in into administrator panel. Moreover, I lost formatting (website looks like without Theme at all) so I copied database again.

    Does anyone know how could I get access to Administrator panel ?

    Please check link:
    http://karolpelc.com/wp-login

    Possibly a java script file is infected and causing problems. It seems to be a stats counter file. Try to remove this file:
    <script type="text/javascript" src="http://stats.hosting24.com/count.php"></script>

    esmi

    @esmi

    Forum Moderator

    There’s still something very wrong within that install. There’s no theme CSS.

    Esmi, look now The theme CSS is OK now.

    http://www.karolpelc.com

    The problem is that theme CSS is not loading if I use “Replace for WP DB Script” and change url’s. So I changed them on old website server (http://economisation.herobo.com) and than export database from phpMyAdmin, and import to karolpelc.com;

    But still, I could not log into Admin panel. Please check:
    http://www.karolpelc.com/wp-admin

    Thank you Krishna K. I think no files are infected, cause I scanned my database. But still I will try your method, but please tell me precisely, which file I should delete, and where can I find it.

    Do you mean: count.php ? I could not find this one.

    But I think the file I quoted is loaded with MALWARE, if this report can be believed:
    http://sitecheck.sucuri.net/results/karolpelc.com

    I think the problem is not complicated. But the trick is to know what’s could happened.

    After changing the links I could not log in to Admin panel on both addresses.

    Correct me if I’m wrong. The last think which I done on the old website before back-up SQL database, and copy files to new place, was change WordPress address (URI), according to WP CODEX website.

    They said:

    http://codex.wordpress.org/Moving_WordPress
    “(…)
    3. Go to the Administration > Settings > General panel.
    4. In the box for WordPress address (URI): change the address to the new location of your main WordPress core files.
    5. In the box for Site address (URL): change the address to the new location, which should match the WordPress (your public site) address (URI). (…)”

    but point 7 says:
    “7. (Do not try to open/view your blog now!)”

    I think this was last move, before I was unable to log in into Administrator panel.

    Maby If I restore what I made in settings from general panel, it will be OK. But I don’t know where to looks on those changes, and if this is good idea.

    What do you think ?

    Ohhh. Thank you a lot Krishna K. I just read your post. I will try to backUp this file.

    I just check your link . I think they just want to charge money. They don’t show which file have virus. To delete this java file I should pay $89.99. Check http://sucuri.net/signup

    P.S.
    If this website is true, I think is detecting “Replace for WP DB Script” as Malware

Viewing 15 replies - 1 through 15 (of 25 total)
  • The topic ‘[Resolved] I lost my posts and comments after WordPress transfer’ is closed to new replies.
Skip to toolbar