Support » Theme: P2 » [Theme: P2] Whoops! Looks like you are not connected to the server.

  • Resolved ThePick


    I just started getting this error message today. I have the latest version of the theme (1.3.2). I found a previous thread here which addresses this problem. The recommendation is open header.php and replace…

    <?php if ( is_singular() ) wp_enqueue_script( ‘comment-reply’ ); ?>


    <?php wp_enqueue_script( ‘comment-reply’ ); ?>

    However, my header doesn’t contain these lines so I cannot alter them.
    Any suggestions would be greatly appreciated.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Lance Willett



    The missing JavaScript call was fixed in 1.3.2 so you should only get the error message when P2 cannot connect to the server.

    Thanks for the prompt reply.

    Do you have any ideas about why P2 wouldn’t be able to connect? I’m not quite sure how to troubleshoot this problem.

    Lance Willett



    It happens when the WP function to check if you’re logged in or out doesn’t fire. That means that the theme can’t talk to WP, which usually means some kind of internet connection issue.

    Ah! I fooled around with the htaccess file and was able to get the server connection back. Thanks for setting me on the right track. 🙂

    Lance Willett



    Glad to hear it.

    Just to follow up (just in case anyone else encounters the same problem) it would appear that the W3 Total Cache was the problem. I deleted the W3 plugin and rebuilt the htaccess file so it looked like this:

    SetEnv PHP_VERSION 5
    # BEGIN WordPress
    <ifmodule mod_rewrite.c="">
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    # END WordPress

    So-far-so-good. I’ll marked this as resolved.

    This thread is closed –

    I still get the ‘whoops’ error, it still asks me do I want to stay on the page when posting a topic. I tried logging and logging out, doing a hard refresh, still no good. Do I need to be logged into to use P2? Also it’s an admin only blog, would that be an issue? Anyhow I switched back to the previous version once more.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Theme: P2] Whoops! Looks like you are not connected to the server.’ is closed to new replies.