WordPress.org

Ready to get started?Download WordPress

Forums

Please help- urgent -WP Super Cache destroyed my site! (7 posts)

  1. AmethystZ
    Member
    Posted 1 year ago #

    Hi lovelies,
    OMG!!!!!!
    I'm running Weaver II Pro which uses Quick Cache and so I thought I would delete WP Super Cache
    http://www.nmah.com.au
    Now I just have the white screen of death saying
    //define('WP_CACHE', true); //Added by WP-Cache Manager /** WordPress's config file **/ /** http://wordpress.org/ **/ // ** MySQL settings ** // define( 'WPCACHEHOME', '/home/ziggy1/www.nmah.com.au/wp-content/plugins/wp-super-cache/' ); //Added by WP-Cache Manager define.......

    [moderated]

    Get everything else require_once(ABSPATH.'wp-settings.php'); ?>
    Fatal error: Call to undefined function wp() in /home/ziggy1/www.nmah.com.au/wp-blog-header.php on line 14

    I checked the Plugin folder and it had gone so I uploaded it again to the folder but still get the same result.
    Please help!!!
    Not so smiling as usual,
    Ziggy

  2. pete_398
    Member
    Posted 1 year ago #

    I would turn 'display off' for php errors firstly, as you don't want that being displayed on your website. Your web hosting company should be doing daily backups of your website, right ? So, can you restore from a backup ?

  3. AmethystZ
    Member
    Posted 1 year ago #

    Thanks Pete, I could restoe from the back up and of course I will if I have to but I did a bunch of work snce then and will loose it all. That will be hours and hours of rework.
    How do I turn display off Pete please?

  4. AmethystZ
    Member
    Posted 1 year ago #

    Via the host I've cloaked it so it should become non visible within the next few moments until it gets fixed. Am beside myself!! So despaeratly need to fix this!
    :(

  5. pete_398
    Member
    Posted 1 year ago #

    I could restore from the back up and of course I will if I have to but I did a bunch of work snce then and will loose it all

    If you backup before any restore, then you still have the work that you have done. Hopefully it is all still there in the database.

    How do I turn display off Pete please?

    There are 2 methods, and it depends on whether php is running as an Apache mod or not. Add this to your .htaccess

    php_value display_errors 0

    and if you get a server error, it means Apache doesn't like it. So, if that happens, you need to place it in the PHP.INI file, as

    display_errors = 0

    See http://www.php.net/manual/en/errorfunc.configuration.php#ini.display-errors , for some extra info.

    The default filename is called error_log, for logging any php errors, it should be in the web root path.

  6. @AmethystZ: You also need to change all database access and password info, because by posting your wp-config.php file above, you exposed all of your server credentials to the public.

  7. AmethystZ
    Member
    Posted 1 year ago #

    Ok, thanks songdoctech, will do that now :)

Topic Closed

This topic has been closed to new replies.

About this Topic