• Hi there,

    I have one problem with WP Super Cache, when I want to preload supercache files I saw information, that in 10 seconds will start. I see that posts are caching, but in some moment it gaves me a error:

    Error: Your cache directory ($cache_path) did not exist and couldn’t be created by the web server. Check permissions.

    I don’t know what I have to do it. I changed permissions, give 777 chmod to wp-content, cache and didn’t help.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter Negatyf

    (@negatyf)

    I somehow solved that problem. I chose PHP caching, and proload every post is now cached.

    I hope I won’t have this same issue further.

    Thread Starter Negatyf

    (@negatyf)

    I was hope, that everthing is okay, but it isn’t.

    After chaning to PHP cache, seems to bo good, but after random time, if I go to WP Super Cache page in administrator panel I can see error like in my first post.

    Randomly is showing this error, after visiting WP Super Cache page.

    Anyone can helps?

    Grab wp-cache-phase1.php and copy it into wp-content/plugins/wp-super-cache/ and overwrite the file that’s already there. Did that fix the problem?

    Thread Starter Negatyf

    (@negatyf)

    Thank You very much, for posting here and helping me.

    I replaced this file now, and in few hours I will write next post with results 🙂

    Thread Starter Negatyf

    (@negatyf)

    I tested your file, and this error is still displays.
    Error: Your cache directory ($cache_path) did not exist and couldn’t be created by the web server. Check permissions.

    Now, after replaced my with your file I have additional error:

    Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/xxx/www/xxx.com/html/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 68
    
    Warning: Invalid argument supplied for foreach() in /home/xxx/www/xxx.com/html/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 176
    
    Warning: Invalid argument supplied for foreach() in /home/xxx/www/xxx.com/html/wp-content/plugins/wp-super-cache/wp-cache-phase1.php on line 454
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/xxx/www/xxx.com/html/wp-content/plugins/wp-super-cache/wp-cache-phase2.php:68) in /home/xxx/www/xxx.com/html/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 77
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/xxx/www/xxx.com/html/wp-content/plugins/wp-super-cache/wp-cache-phase2.php:68) in /home/xxx/www/xxx.com/html/wp-content/plugins/wordpress-mobile-pack/plugins/wpmp_switcher/wpmp_switcher.php on line 506

    Before uploading your files, I didn’t have this error on my pages, on post I do not have them, only on pages.

    Did you clear the reject URI and rejected user agent settings on the admin page?

    I’m afraid you’ll have to debug the plugin to find out why you’re getting that permissions error. Look for that string in the php files in the plugin and debug them.

    Thread Starter Negatyf

    (@negatyf)

    I do not clear the rejected URI, I have:

    wp-.*\.php
    index\.php
    wp-comments-popup.php
    wp-links-opml.php
    wp-locations.php
    bot
    ia_archive
    slurp
    crawl
    spider
    Yandex

    Basic configuration after installtion, I didn’t change them.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘WP Super Cache, problem with preload.’ is closed to new replies.