• Resolved fazolejh

    (@fazolejh)


    Hi, I have a problem with Cache enabler and TwentyTwenty theme. Sometimes when I click on Clear Site Cache my admin backend shows PHP headers error. Im not sure If its dangerous for my web so can you help me to solve I?

    This is it:

    Warning: is_dir(): open_basedir restriction in effect. File(/data/web/virtuals/122843/virtual/www/wp-content/cache/cache-enabler/uschovat.cz/https-index.html/) is not within the allowed path(s): (/data/web/virtuals/122843/virtual) in /data/web/virtuals/122843/virtual/www/wp-content/plugins/cache-enabler/inc/cache_enabler_disk.class.php on line 254

    Warning: Cannot modify header information – headers already sent by (output started at /data/web/virtuals/122843/virtual/www/wp-content/plugins/cache-enabler/inc/cache_enabler_disk.class.php:254) in /data/web/virtuals/122843/virtual/www/wp-includes/pluggable.php on line 1296

    Warning: Cannot modify header information – headers already sent by (output started at /data/web/virtuals/122843/virtual/www/wp-content/plugins/cache-enabler/inc/cache_enabler_disk.class.php:254) in /data/web/virtuals/122843/virtual/www/wp-includes/pluggable.php on line 1299

    Thank you.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Anonymous User 16850768

    (@anonymized-16850768)

    The first PHP warning is related to your open_basedir restrictions in your PHP configuration file and not Cache Enabler. The fix would depend on your preference. You can update the allowed paths or even set it to none instead. The open_basedir directive documentation contains more information about this. If you happen to have a managed hosting provider I would presume they can assist as they have direct access to the PHP configuration file on your server.

    I believe the following PHP warnings will be resolved once the above is fixed. It would be great if you can confirm this for me after the open_basedir restriction issue is resolved.

    Thread Starter fazolejh

    (@fazolejh)

    Hi Corey,
    I was searching for open_basedir problem on my hosting (as you mentioned). And I discovered that is not open_basedir problem but migration problem. I migrated my web (via Duplicator plugin) and the the path in wp-config.php didn’t changed to the new one. I don’t know who had to change it – Duplicator or Cache Enabler or me? 😀
    So my problem was solved by deactivating and deleting the Cache Enabler plugin. After that I installed it again and it works.

    Thank you for help.

    Anonymous User 16850768

    (@anonymized-16850768)

    Excellent! I’m glad to hear the issue has been resolved. Thank you for following up and letting me know how you fixed it, I really appreciate that.

    If you’re able leaving an honest review is always helpful.

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

The topic ‘Cannot modify header information’ is closed to new replies.