• willbazlinton

    (@willbazlinton)


    I can’t access WP Supercache settings or deactivate the plugin. I’m getting the following warning:

    “Warning! Could not update /homepages/23/d667160699/htdocs/app695267207/wp-config.php! WPCACHEHOME must be set in config file.”

    I’ve found the ‘wp-config.php’ file and opened in FTP but I’m not sure how to ‘set’ WPCACHEHOME – what does that mean?

Viewing 5 replies - 1 through 5 (of 5 total)
  • dima333750

    (@dima333750)

    define(‘WP_CACHE’, true);
    define( ‘WPCACHEHOME’, ‘/homepages/23/d667160699/htdocs/app695267207/wp-content/plugins/wp-super-cache/’ );

    Thread Starter willbazlinton

    (@willbazlinton)

    @dima333750 – Thanks for your response :). These are already in the file though. I’m completely out of my depth/newb so I think I’m going to have to find someone who knows what they’re doing to have a look for me before I break something!

    Also getting message:

    Warning! /homepages/23/d667160699/htdocs/app695267207/wp-content/advanced-cache.php does not exist or cannot be updated.
    If it already exists, please delete the file first.
    Make /homepages/23/d667160699/htdocs/app695267207/wp-content writable using the chmod command through your ftp or server software. (chmod 777 /homepages/23/d667160699/htdocs/app695267207/wp-content) and refresh this page. This is only a temporary measure and you’ll have to make it read only afterwards again. (Change 777 to 755 in the previous command)
    Refresh this page to update /homepages/23/d667160699/htdocs/app695267207/wp-content/advanced-cache.php
    If that doesn’t work, make sure the file /homepages/23/d667160699/htdocs/app695267207/wp-content/advanced-cache.php doesn’t exist:
    Open /homepages/23/d667160699/htdocs/app695267207/wp-content/plugins/wp-super-cache/advanced-cache.php in a text editor.
    Change the text CACHEHOME to /homepages/23/d667160699/htdocs/app695267207/wp-content/plugins/wp-super-cache/
    Save the file and copy it to /homepages/23/d667160699/htdocs/app695267207/wp-content/advanced-cache.php and refresh this page.

    This is also way beyond me so I’m going to have to learn some more fundamentals before getting into this – appreciate your input though – thanks again!

    dima333750

    (@dima333750)

    If you want to delete it manually:
    Make a backup
    Disable caching and clear cache (preferably in 3 ways)
    Deactivate the plug-in (if possible)
    Remove from wp-config.php define (‘WP_CACHE’, true);
    Remove from the .htaccess rules added to the #WPSuperCache section
    Remove /wp-content/advanced-cache.php and /wp-content/wp-cache-config.php
    Remove /wp-content/cache/
    Remove /wp-content/plugins/wp-super-cache/

    Thread Starter willbazlinton

    (@willbazlinton)

    That would be ideal but I can’t access the plugin to disable caching and clear the cache (I’m not sure what you mean by three ways – I really am a novice!).
    Also I can’t deactivate the plugin.
    When I try to deactivate I get this message:

    ”Warning: fopen(/homepages/23/d667160699/htdocs/app695267207/1169417680.php): failed to open stream: Permission denied in /homepages/23/d667160699/htdocs/app695267207/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 1070
    Could not remove WP_CACHE define from /homepages/23/d667160699/htdocs/app695267207/wp-config.php. Please edit that file and remove the line containing the text ‘WP_CACHE’. Then refresh this page.”

    I also don’t understand what ‘Remove from the .htaccess rules added to the #WPSuperCache section’involves or means.

    When I open the files from the FTP in Notepad there are no line breaks at all, just an unbroken stream of letters and symbols, so to remove or edit a line or rule is pretty much impossible for me as this is like a foreign language to me.

    I think I need to learn the fundamentals before I attempt to do anything to these files
    I really appreciate you trying to help though, thank you.

    Thread Starter willbazlinton

    (@willbazlinton)

    I now have Notepad++ which is making things legible to me at least (and a little more confident).
    How do I disable caching and clear the cache without the plugin?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can’t access WP Supercache settings or deactivate the plugin’ is closed to new replies.