WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
Warning! WP Super Cache caching broken! The script advanced-cache.php could not (50 posts)

  1. yngvilvg
    Member
    Posted 1 year ago #

    Hi. I also get the following error message ( see below )

    I have read 3 strands about this and I don't even BEGIN to understand how to actually fix the problem: please help:
    I know NOTHINg about code, or web design speak, I just followed a very good YouTube video that made me able to get my own web site up and running.

    I'm not an idiot, just not a web person, if you think you can guide me through this stuff in human speak, with NO presumptions I'll understand what you mean - I'd be most grateful...I've listed my 2 questions below:

    Here's the error message:
    "
    Warning! WP Super Cache caching broken! The script advanced-cache.php could not load wp-cache-phase1.php.

    Please edit /home/yngvilvg/public_html/wp-content/advanced-cache.php and make sure the path to /home/yngvilvg/public_html/wp-content/plugins/wp-super-cache/wp-cache-phase1.php is correct. "

    Here are my questions:
    1. where do I find " /home/yngvilvg/public_html/wp-content/advanced-cache.php" ?

    2. What do I actually DO to "make sure the path to /home/yngvilvg/public_html/wp-content/plugins/wp-super-cache/wp-cache-phase1.php is correct" ?
    - I mean, how am I supposed to now what the RIGHT path is?
    (indeed what is a path, and do I really want to know?)

    I don't understand lingo like "point to" or what constitutes a "file" in word press.
    (- is it the code that comes up when I click on a given plug-in in my plug-in manager, I bet it is...)

    I've learned nothing about WordPress and I'm not sure that I want to begin, but tell me what you think I should know ...

    I am sure many of you guys think people like me don't have the right to live, but please help me get back to editing my fabulous word press web site!!!

    thank you

  2. revixi5
    Member
    Posted 1 year ago #

    It is the same problem as everybody else, nothing different. Your hosting company simply changed something in their server adress (what we call "absolute path"). The plugin is using that "adress". That is why, now it can't reach one file, and is showing a warning message.

    The warning message is giving you the right "path" : /home/yngvilvg/public_html/wp-content/advanced-cache.php

    You will need to correct that "path" by hand. I suggest you find someone able to do it for you, or simply disable the plugin (if you are able to reach it). It is a really simple job, but if you know nothing about those things, it can be hard to understand. Also, your username and password are needed to reach that file (by the server control panel or by FTP).

  3. yngvilvg
    Member
    Posted 1 year ago #

    Thanks, its helpful to know its a hosting issue.
    I'll talk to a guy I know and he'll help me from here.

    Next time I post here, I'll probably be a little web wiser.

  4. SuiteJ
    Member
    Posted 1 year ago #

    Hey guys,

    Just wanted to share that I had the EXACT same problem and only after I tried BOTH of the suggestions made by...

    revixi5
    &
    Jesterx93

    ...did it work for me (meaning one without the other did not fix, but both did).

    Thanks for the help!
    Cheers
    Jay

  5. inderrawal
    Member
    Posted 1 year ago #

    i am having the same problem keep on getting the following message:

    Warning! WP Super Cache caching broken! The script advanced-cache.php could not load wp-cache-phase1.php.

    Please edit /home/admin/public_html/wp-content/advanced-cache.php and make sure the path to /home/admin/public_html/wp-content/plugins/wp-super-cache/wp-cache-phase1.php is correct.

    tried to fix it as per the advice in the beginning of this thread but couldnt and right now i cant edit my website

  6. revixi5
    Member
    Posted 1 year ago #

    The easiest way would be to delete the WP Super Cache plugin folder by FTP (or from your hosting control panel) and then login into your WordPress dashboard in order to re-install the plugin from scratch.

  7. inderrawal
    Member
    Posted 1 year ago #

    Thanks Revixi5 i just deleted it and its working now

  8. beltex
    Member
    Posted 1 year ago #

    Its the worst plugin to install, i hpe it works beter then it installs.

    Ok solution:::

    because of file permissions problems the plugin wont install easily on some servers, if it installs very easy perhaps your file permissions are not so safe!

    deactivate and totaly remove the plugin
    create backup for your wp site
    install the plugin and activate
    copy the file /where u installed wp/wp-content/plugins/wp-super-cache/advanced-cache.php to /where u installed wp/wp-content/
    Open the wp-config.php file in /where u installed wp/

    /** Absolute path to the WordPress directory. */
    if ( !defined('ABSPATH') )
    	define('ABSPATH', dirname(__FILE__) . '/');
    
    <strong>define('WP_CACHE', true);
    define( 'WPCACHEHOME', '/where u installed wp/wp-content/plugins/wp-super-cache/' ); //Added by WP-Cache Manager</strong>
    
    /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . 'wp-settings.php');

    Save the file and it should be ok

    [Link removed - please keep help on these forums]

  9. jjgleim
    Member
    Posted 1 year ago #

    I wasn't having this problem until I just updated to 1.3.2. Is there a fix coming? I'm going to try and roll back a version to get it back the way it was.

  10. jjgleim
    Member
    Posted 1 year ago #

    I went ahead and did like revixi5 suggested and deactivated, uninstalled, and reinstalled the plugin. Working again. Thanks revixi5!

  11. revixi5
    Member
    Posted 1 year ago #

    There are different ways to solve that simple problem, but this is the "easiest" way...

  12. Kahrs
    Member
    Posted 1 year ago #

    Same issue, nothing worked with 1.3.2, exept Start-Page.

    After deinstalling the new Version normal via plugin-page and reinstalling version 1.3.1, erverything went again in best manner.

  13. imartincevic
    Member
    Posted 1 year ago #

    Hi, for some reason, my wp-config.php lost it's first line - <?php
    before super-cache's defines.

    I've read few solutions here and on other pages, nothing helped so I've compared config with backup...

    put <?php on the first line of wp-config.php and everything worked great

  14. hragavan
    Member
    Posted 1 year ago #

  15. hubbobubbo
    Member
    Posted 1 year ago #

    Thanks a lot for the post, this helped me fix this problem.

    The reason in my case was that I was moving the WordPress blog from a subdomain at http://blog.givensa.com to a subfolder in http://givensa.com/blog. So in my wp_config file the /httpdocs/ was missing in the path after the update. It was a bit tricky to spot since the hosting provider who did the move from the old location to the present location left the old blog as well so there was two unique paths to the same blog.

    I agree that the error message is really confusing since the problem was never really in the advanced_cache.php file.

  16. revixi5
    Member
    Posted 1 year ago #

    Interesting. Good to know that. Thanks.

  17. kenshinsasuke
    Member
    Posted 1 year ago #

    I resolved the problem by writing the below code in my wp-config.php file before ABSPATH is ever defined.

    define('WPCACHEHOME', dirname(__FILE__) . '/wp-content/plugins/wp-super-cache/');

    THIS OPNE SOLVE MY RPBLEM BY dsteplight!

    thank you so much,,,,

  18. truebird
    Member
    Posted 11 months ago #

    Hi all...ok, I edited the root wp.config.php and put it here:

    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);
    define( 'WPCACHEHOME', 'PATH/wp-content/plugins/wp-super-cache/' ); //Added by WP-Cache Manager

    define( 'SUNRISE', 'on' );
    define( 'WDS_SITEWIDE', false );

    /* That's all, stop editing! Happy blogging. */

    I added this part:

    define( 'WPCACHEHOME', 'PATH/wp-content/plugins/wp-super-cache/' ); //Added by WP-Cache Manager

    Afterward, I refreshed the backoffice dashboard area and still get this:

    Warning! WP Super Cache caching broken! The script advanced-cache.php could not load wp-cache-phase1.php.

    Please edit /home/content/93/6858593/html/wp-content/advanced-cache.php and make sure the path to /home/content/93/6858593/html/wp-content/plugins/wp-super-cache/wp-cache-phase1.php is correct.

    How can I fix it?

    Thanks for all the help folks!

    :)

    Greg

  19. truebird
    Member
    Posted 11 months ago #

    Hargavan...you are awesome! Your solution worked for me below (thanks so much!!!):

    hragavan
    Member
    Posted 2 months ago #

    http://wangweiqiang.net/warning-wp-super-cache-caching-broken-the-script-advanced-cache-php-could-not-load-wp-cache-phase1-php/

    This worked like a charm!

    Greg

  20. Ju13ss
    Member
    Posted 11 months ago #

    Hello. I just solved this problem. Edit wp-config.php
    trubeird just replace your "PATH" in code what wordpress telling you :) OK you already solved it, but maybe to others help this.
    you had now:
    define( 'WPCACHEHOME', 'PATH/wp-content/plugins/wp-super-cache/' ); //Added by WP-Cache Manager
    The exact PATH Wordpres telling you in that error.
    AND CHANGE IT TO:
    define( 'WPCACHEHOME', '/home/content/93/6858593/html/wp-content/plugins/wp-super-cache/' ); //Added by WP-Cache Manager

    The path means -> /home/content/93/6858593/html/ nobody wants share their exact paths so they used general name "PATH".
    Must work ;)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic