WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
[resolved] Cannot continue... fix previous problems and retry. (2 posts)

  1. abhempire
    Member
    Posted 1 year ago #

    All my relevant files and folders have 775 or higher permissions, and wp-cache-config-sample.php is present at that location.
    I get this error on the Settings page:

    Error: Sample WP-Cache config file ( /home/amator/public_html/ebooks-comics.org/wp-content/plugins/wp-super-cache/wp-cache-config-sample.php) does not exist.Verify you installation.
    Cannot continue... fix previous problems and retry.

    http://wordpress.org/extend/plugins/wp-super-cache/

  2. abhempire
    Member
    Posted 1 year ago #

    I managed to figure out why i was getting two separate errors on two different websites while the plugin was working ok on others.

    In the wp-config.php where you get the code

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

    The actual line of code the plugin writes on installation is:

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

    If you look closely at the two lines you'll see a small detail that seems to break the path to wp-super-cache, it's an empty space in this place: ' /PATH
    That's why some people had success activating the plugin after reinstallation, because sometimes it skips the empty space and writes: '/PATH

    How come no one figured this out till now!?

    After figuring out the problem on my first website, which was getting around 5 erorrs, i went to my second one which was getting some exec() error, closed the gap and the error was gone.

    Right now, i believe close to every path error people have comes from that gap in the code.

    Maybe you shold write this in the FAQ if you can't fix it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.