WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] I lost my posts and comments after WordPress transfer (26 posts)

  1. Karol Pelc
    Member
    Posted 1 year ago #

    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.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Site url?

  3. Karol Pelc
    Member
    Posted 1 year ago #

  4. Karol Pelc
    Member
    Posted 1 year ago #

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

  5. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Did you restore the old database into the new one?

  6. Karol Pelc
    Member
    Posted 1 year ago #

    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.

  7. Karol Pelc
    Member
    Posted 1 year ago #

    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

  8. Karol Pelc
    Member
    Posted 1 year ago #

    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

  9. Krishna K
    Member
    Posted 1 year ago #

    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>

  10. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

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

  11. Karol Pelc
    Member
    Posted 1 year ago #

    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.

  12. Krishna K
    Member
    Posted 1 year ago #

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

  13. Karol Pelc
    Member
    Posted 1 year ago #

    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 ?

  14. Karol Pelc
    Member
    Posted 1 year ago #

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

  15. Karol Pelc
    Member
    Posted 1 year ago #

    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

  16. Karol Pelc
    Member
    Posted 1 year ago #

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

  17. Karol Pelc
    Member
    Posted 1 year ago #

  18. Karol Pelc
    Member
    Posted 1 year ago #

    I tried first 3 steeps. Nothing happens.
    I will try the last one, make changes directly in phpMyAdmin database files.

    I just noticed, that blog losing theme CSS, just after trying to log into admin by karolpelc.com/wp-admin.

    To restore theme CSS value, I need to reupload phpMyAdmin database.

  19. Karol Pelc
    Member
    Posted 1 year ago #

    Still no solution...

    I tried the last option. And it doesn't work. BUT !
    I found that I don't need to reupload phpMyAdmin database, I just need to change 2 files in phpMyAdmin.

    Following CODEX instruction"Changing the URL directly in the database"
    available at: http://codex.wordpress.org/Changing_The_Site_URL

    I made changes in wp_options file, in "siteurl" and "home" fields. I tiped "karolpelc.com" value.

    After that my 'blog', and 'theme CSS' appear correctly. The problem is that, again. If I trying to log into admin panel by karolpelc.com/wp-admin, the server provider website coming up.

    I found that after I trying log in to admin panel, the values in wp_options file, in "siteurl" and "home" fields are changing for "karolpelc.com/blog" OR "karolpelc.com/the/path" from correct value of "karolpelc.com".

    I think that there's could be lack of some files responsible to load Admin panel. They could don't copied during files transfer via FileZilla. (I noticed some fail transfers during copying, but then I load listed files manually on server). Does anyone know those files?

    I think I explained everything what's happening here. Does anyone experienced problem like this ??

  20. Karol Pelc
    Member
    Posted 1 year ago #

    I found the problem. It was bug in wp-login.php file. I delated wp-login.php off of my server and upload a new copy from a fresh WordPress download.

    There is still PROBLEM

    Now administrator panel looks like "without options". Please look, I uploaded screen on server:

    http://economisation.herobo.com/website.jpg

    What should I do now ?

  21. Krishna
    Volunteer Moderator
    Posted 1 year ago #

    @Karol Pelc,
    I am sorry to say that you do not want to do what you are required to do. I alerted you about a MALWARE problem a few hours ago. You emphatically deny that and even do not try to clean up your installation. Esmi too advised you about the absence of certain things. You did NOT CARE.
    NOW, look at this scan report, which is a screen shot.
    http://tech-sharing.com/wp-content/uploads/2012/06/WPO-sitescan1.jpg

  22. Karol Pelc
    Member
    Posted 1 year ago #

    Dear Krishna,

    I'm not require to paid 89 £ for this services. Especially if this is not solution.

    (Btw. Chcek new installations, some of them after some modyfication also have Malaware according to this website. They just want to charge you.

    I already solver my problem by reuploading in database, and changing part of code in phpMyAdmin tables.

  23. Karol Pelc
    Member
    Posted 1 year ago #

    Thank you for all suggestions guys. If someone will ever have similar problem, and reading this post, he can always contact me.

    I'm always willing to help.

  24. Krishna
    Volunteer Moderator
    Posted 1 year ago #

    Please read this post. It just tells you what you have to do if you are hacked:
    http://wordpress.org/support/topic/malware-problem-anyone-know-how-to-block-spam-comments?replies=2

  25. Karol Pelc
    Member
    Posted 1 year ago #

    Thank you very much Krishna. I will follow those steeps. This link is helpful.

  26. Krishna
    Volunteer Moderator
    Posted 1 year ago #

    You are welcome.

Topic Closed

This topic has been closed to new replies.

About this Topic