• https://avinash.apeshell.net

    I was installing wp-stats.php plugin. I made some modifications, reuploaded it and the next time I accessed it, i got the error that now every page gives me.

    I can’t find the problem, and it is freaking me out. The admin page works, and all my posts are there, but I don’t know how to restore the front of the site…please help me.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Did you try going to the plugins section in admin and deactivating the plugin if that option is offered? If not, try just deleting the plugin through your ftp client or your cpanel. Oh – y’know, that might be the error that happens if you have whitespace before the <?php or after the ?>.

    Reedit the file to remove the whitespace, and reupload it.

    Thread Starter aetherfox

    (@aetherfox)

    The plugin wasn’t one that could be activated using the admin panel…it was a drag’n’use one…

    There is no whitespace, and anyway, this is on every page of my site…how exactly is get_header referenced? Where is it stored?
    Could this be some ****** hacking my site?

    Are you sure you didn’t upload your theme’s (if you’re using one) index.php accidentally to your blog’s root directory? Normally get_header() is called by theme templates and not the root index.php, which is mostly intended for loading wp-blog-header.php, something apparently not occuring right now.

    <del>I don’t know why it says get_header() is on line 1 of your index.php…
    If installing and modding that ONE plugin is all that caused this, try deleting or renaming the plugin’s file. WordPress will then cease trying to load it.</del>
    What he said. ??

    If you need to fix your /index.php, this is what it should contain:
    <?php
    /* Short and sweet */
    define('WP_USE_THEMES', true);
    require('./wp-blog-header.php');
    ?>

    Thread Starter aetherfox

    (@aetherfox)

    THANK YOU Kafkaesqui and skeltoac.

    I was going crazy…again…thank you so much.

    I have no idea how that happened.

    Is there a way for me to somehow close this thread as it’s redundant for all but viewing? Or do I just leave it as is?

    It’s usually enough just to say “Thanks, it’s resolved now.”

    You’re not the first one who hit this particular problem. Or the last. Leave it for the searchers.

    Thread Starter aetherfox

    (@aetherfox)

    I put a (solved) in the title, like I do on other forums that I am active on…I wasn’t sure what was custom here.

    Thanks again.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘(solved) Serious Problem…Entire site down because of it.’ is closed to new replies.