• I’m already using wordpress + P2 on a Centos 6.6 + PHP 5.4 server with nginx

    Today I settled up a new server with exact same configuration except installed PHP 5.5 with OPCache and memcached. Also imported wordpress database from previous server

    But when I try to use P2 theme or any theme related P2 (P2-categories, Mercury, P3 etc..) on new server, my blog home page or posts just doesn’t load(it loads, but displays nothing). It works fine with any other theme.

    If I check the source of the loaded home page, it just shows this part

    http://i.imgur.com/09XbevX.png

    Any help ? Is this an issue related to Caching ? or PHP 5.5

    Im not using any plugins (this is fresh wordpress installation)

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Kathryn Presner

    (@zoonini)

    Hi Tee Lock, it looks like your site is having trouble with mention (user) data part of P2.

    How many users does your site have?

    Here are some things you can try:

    – resetting/flushing OPCache
    – increasing memory allocation for PHP in this site – it could be maxing out memory when it tries to query all users

    Thread Starter Tee Lock

    (@foxonfox)

    Okay..since I didn’t get any reply soon, I digged in to the issue and found these

    This issue only happens to logged in users and only if the logged in user has edit_post capability

    I IMPORTED wordpress database from previous server to new server and its the main reason for this issue. Means if I import posts via WordPress importer with a fresh database this issue doesn’t come up (but I can’t do it because I got about 2K posts and 10K authors)

    Also I didn’t import wp_options table, as it changed home page urls etc..

    This guy also has the same issue as I do : https://wordpress.org/support/topic/importing-database-no-errors-but-website-doesnt-show-anyting?replies=5

    Maybe this is an issue related to WordPress system, but still it should be fixed as database moving is the best way to move big sites.

    Moderator Kathryn Presner

    (@zoonini)

    I spoke with one of the P2 developers and he confirmed that the extremely large number of users on your site is likely responsible for the server issues you’re running into. Unfortunately I don’t have any workarounds for you, as this is a limitation of the theme on certain servers. You could always still try the troubleshooting techniques I mentioned above, or you could try turning off mention data altogether:

    https://wordpress.org/support/topic/how-to-turn-off-mentions-in-p2?replies=2

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Site doesn't load with P2 theme’ is closed to new replies.