Forums

Post preview is broken and displays the home page (17 posts)

  1. jbleuzen
    Member
    Posted 1 year ago #

    Hello !
    Since this morning the "Preview post" of my blog refuse to show the preview of the post I'm working on. It opens a new page bu all I get is an URL like this : "http://myblog.com/?p=333&preview=true" and the home page of the blog...

    I tried to look at plugins and disabled them all, still get the issue.
    I tried to look at my .htaccess but the file haven't been modified for more than 2 month now.

    Normally, WordPress is able to understand URL like this "http://myblog.com/?p=333&preview=true" where 88 is a valid published post, am I wrong ???
    But it doesn't work either...

    Please help me !
    Thank you.

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

    Can you preview other posts?

  3. gbuarque
    Member
    Posted 1 year ago #

    Hi i have the same problem, the next post and previous post, dont work.
    View in my page . The pages in the address bar show page/2, page/3, but the page show home.

    Tks. Sorry my english.

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

    @gbuarque: Please don't highjack another poster's thread. Post a new topic.

  5. jbleuzen
    Member
    Posted 1 year ago #

    @Esmi : I cannot preview draft posts BUT I can preview pages and alrdeay published posts...

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

    What happens if/when you publish this post? Can you preview any changes to it then?

  7. jbleuzen
    Member
    Posted 1 year ago #

    Yes, once the file is published I can preview it if I add some modification to it.

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

    Have you tried:

    - deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    - switching to the Twenty Ten theme to rule out any theme-specific problems?

    - resetting the plugins folder by FTP or PhpMyAdmin? Sometimes, an apparently inactive plugin can still cause problems.

    - re-uploading the wp-admin and wp-includes folders from a fresh download of WordPress?

    - increasing the memory available to PHP?
    http://wordpress.org/support/topic/253495#post-1017842

  9. jbleuzen
    Member
    Posted 1 year ago #

    @esmi :
    I already tried these things :
    - deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).
    - re-uploading the wp-admin and wp-includes folders from a fresh download of WordPress?
    With no success.

    I tried to switch back to twnety theme, but I can't... WordPress says that Twenty is enabled by it's my design that is displayed.

    I'll try to reset the plugins folder this evening and tweak the RAM but I don't think RAM have to do with my problem.

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

    Site url?

  11. jbleuzen
    Member
    Posted 1 year ago #

    Beside this part my site is working perfectly...
    http://blog.johanbleuzen.fr

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

    OK - that's a first! I can't tell what theme your site is using! The only CSS I can see loaded is for the wp-syntax plugin. But that theme does not look like Twenty Ten at all. Even the markup is different.

    What theme is reported as active in Appearance->Themes?

  13. jbleuzen
    Member
    Posted 1 year ago #

    The theme currently active on WordPress admin is Twenty ten, you can see that when you click on any link from the home page. This is the active theme on all pages EXCEPT the home page...

    My cache is disabled but it might have f**ked up something and everything that try to access the index.php gets the cached version.
    That would explain the post preview not working and the page preview working...

    I can't restart Apache as I'm on a mutualised server, so I guess I'll have to wait.

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

    This is the active theme on all pages EXCEPT the home page...

    Sorry? How are you running a different theme on your front page?

  15. jbleuzen
    Member
    Posted 1 year ago #

    This is not the wanted behaviour of WordPress...
    By default I use the blue theme (the one dispayed on the home page), but for the tests I switched to Twenty ten that is displayed to every other page...

    It's not the default behaviour.... This is another strange thing with my installation... :p

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

    Can you switch the home page over to Twenty Ten temporarily and deactivate the blue theme? Have you modified Twenty Ten at all?

  17. jbleuzen
    Member
    Posted 1 year ago #

    I can't switch to Twenty ten, this is part of the problem I think.... :/
    Didn't change the theme and I just reinstalled WordPress manually...

Topic Closed

This topic has been closed to new replies.

About this Topic