• Resolved nicolaottomano

    (@nicolaottomano)


    Hi,
    I installet the plugin few days ago and found it very useful (I was using a custom Cloudflare Worker, but this plugin is easier to use).

    But I’m getting a lot of the following warnings:

    Warning: include(): Failed opening ‘/web/htdocs/www.nicolaottomano.it/home/wp-content/wp-cloudflare-super-page-cache/www.nicolaottomano.it/fallback_cache/www_nicolaottomano_it.html.headers.php’ for inclusion (include_path=’.:/php7.4/lib/php’) in /web/htdocs/www.nicolaottomano.it/home/wp-content/advanced-cache.php on line 345

    Warning: include(/web/htdocs/www.nicolaottomano.it/home/wp-content/wp-cloudflare-super-page-cache/www.nicolaottomano.it/fallback_cache/www_nicolaottomano_it.html.headers.php): failed to open stream: No such file or directory in /web/htdocs/www.nicolaottomano.it/home/wp-content/advanced-cache.php on line 345

    Warning: include(): Failed opening ‘/web/htdocs/www.nicolaottomano.it/home/wp-content/wp-cloudflare-super-page-cache/www.nicolaottomano.it/purge_cache_queue/cache_queue.php’ for inclusion (include_path=’.:/php7.4/lib/php’) in /web/htdocs/www.nicolaottomano.it/home/wp-content/plugins/wp-cloudflare-page-cache/libs/cache_controller.class.php on line 1803

    Could you please tell me what I’m doing wrong?

    Best

    Nicola

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor iSaumya

    (@isaumya)

    Hi @nicolaottomano,
    Can you confirm that the file path mentioned in the waring i.e. ‘/web/htdocs/www.nicolaottomano.it/home/wp-content/wp-cloudflare-super-page-cache/www.nicolaottomano.it/purge_cache_queue/cache_queue.php and /web/htdocs/www.nicolaottomano.it/home/wp-content/wp-cloudflare-super-page-cache/www.nicolaottomano.it/fallback_cache/www_nicolaottomano_it.html.headers.php are actually the right paths to the file by manually vising the path in your server?

    We are not seeing any of such warnings in our multiple server logs.

    Thread Starter nicolaottomano

    (@nicolaottomano)

    Hi @isaumya

    both paths
    /web/htdocs/www.nicolaottomano.it/home/wp-content/wp-cloudflare-super-page-cache/www.nicolaottomano.it/purge_cache_queue/
    and
    /web/htdocs/www.nicolaottomano.it/home/wp-content/wp-cloudflare-super-page-cache/www.nicolaottomano.it/fallback_cache/
    exist but:

    …/purge_cache_queue/ is empty (there is no file inside)
    …/fallback_cache/ contains many html and php files, including www_nicolaottomano_it.html.headers.php which content is

    <?php $swcfpc_headers='[\”Content-Type: text\\/html; charset=UTF-8\”,\”Link: <https:\\/\\/www.nicolaottomano.it\\/wp-json\\/>; rel=\\\”https:\\/\\/api.w.org\\/\\\”\”,\”Link: <https:\\/\\/www.nicolaottomano.it\\/wp-json\\/wp\\/v2\\/pages\\/7>; rel=\\\”alternate\\\”; type=\\\”application\\/json\\\”\”,\”Link: <https:\\/\\/www.nicolaottomano.it\\/>; rel=shortlink\”]’; ?>

    Best

    Nicola

    Plugin Contributor iSaumya

    (@isaumya)

    Hi @nicolaottomano,
    That means the files exist properly. Can you confirm if you have any other caching plugin enabled in your site and also if you have any mu-plugins added in your website?

    Also, go to your wp-config.php file and make sure at the end of that file there is no blank spaces or newlines.

    In the end, also check the plugins files have proper file permissions? Generally, it’s 644.

    Thread Starter nicolaottomano

    (@nicolaottomano)

    Hi @isaumya

    Can you confirm if you have any other caching plugin enabled in your site and also if you have any mu-plugins added in your website?

    I use Ninja Firewall as the only mu-plugin

    Also, go to your wp-config.php file and make sure at the end of that file there is no blank spaces or newlines.

    Yes, no blank spaces nor newlines (checked with notepad++ with “Show all character” option enabled)

    In the end, also check the plugins files have proper file permissions? Generally, it’s 644.

    Yes, 755 on plugins folder and 644 on …/wp-content/wp-cloudflare-super-page-cache/

    Best

    Nicola

    Plugin Contributor iSaumya

    (@isaumya)

    Hi @nicolaottomano,

    I use Ninja Firewall as the only mu-plugin

    Can you turn it off for a moment and try?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fallback cache warning messages’ is closed to new replies.