• Resolved astra

    (@astra)


    Hello,
    I wanted to use a plugin that won’t work unless I upgrade to php5. I followed my hosts directions (1and1) by adding a .htaccess file with AddType x-mapp-php5 .php. The upgrade went well except all my posts disappeared!!!
    I have no idea how to get them back. Tried everything I could. Reuploaded the entire site – no results. I have access to wp-admin, updated posts, still no results.

    Could someone please help me with this urgent issue? Thank you!!

Viewing 11 replies - 1 through 11 (of 11 total)
  • Are you able to see the posts in WordPress admin panel or by using PhpMyAdmin ?

    Also, does removing AddType x-mapp-php5 .php from .htaccess bring the posts back ?

    Thread Starter astra

    (@astra)

    Hi,
    yes, I can see all my posts through admin panel. I do not know anything about what to do through PHPMyAdmin though.

    Removing .htaccess file did not fix the problem. AddType x-mapp-php5 .php was the only line in that file.

    Right now we know the posts are still within the database, it is time to see why you can’t see it.

    Can you try resetting to the default theme and disable all plugins and see if it works.

    Thread Starter astra

    (@astra)

    Disabled all plugins and restored original theme – nothing. I use the latest WP version. Here’s URL – http://www.autorepairwiz.com

    Moderator keesiemeijer

    (@keesiemeijer)

    try this:

    <FilesMatch "\.(inc|php|php3|php4|php5|php6|phtml|phps)$">
    AddHandler x-httpd-php5 .php
    </FilesMatch>

    Thread Starter astra

    (@astra)

    Is this for .htaccess? I did this and now I get 500 error

    Moderator keesiemeijer

    (@keesiemeijer)

    Ok change .htaccess back to what you had. I clicked your url before and could see your posts.

    Thread Starter astra

    (@astra)

    Did you see them on main index page or did you click on an individual post and then saw them?

    I can see them on index page too, but when I go to each post separately I get 404 error.

    Moderator keesiemeijer

    (@keesiemeijer)

    On the main index page
    – Try setting your permalink structure at Settings/Permalinks in your admin panel to the default structure.

    It is also possible that you will have to chmod any folders that are 777 to 755 if you are on php5

    Thread Starter astra

    (@astra)

    AWESOME!! I would of never thought of resetting permalinks! Worked like a charm!! CHMOD was all 755 by default for all folders.

    Thank you soooo much! You saved me tons of headache. Everything works perfectly now. Thanks again!!

    Moderator keesiemeijer

    (@keesiemeijer)

    You’re very welcome.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Posts disappeared after upgrading to php5’ is closed to new replies.