• Good day,

    the shortcodes on the site used to work, but now they don’t. This message pops up when the plugin changes are saved. Please how to fix this? Thanks!

    Warning: is_file(): open_basedir restriction in effect. File(/pvc_mixins.less.less) is not within the allowed path(s): (/data/web/virtuals/281706/virtual) in /data/web/virtuals/281706/virtual/www/domains/annavernerova.cz/wp-content/plugins/page-views-count/admin/less/lib/lessc.inc.php on line 87

    Warning: is_file(): open_basedir restriction in effect. File(/pvc_mixins.less) is not within the allowed path(s): (/data/web/virtuals/281706/virtual) in /data/web/virtuals/281706/virtual/www/domains/annavernerova.cz/wp-content/plugins/page-views-count/admin/less/lib/lessc.inc.php on line 87

Viewing 1 replies (of 1 total)
  • Plugin Author Steve Truman

    (@a3rev)

    Hello @davsvatos

    Thanks for posting the warning messages – most helpful.

    The warning message you’re seeing is related to a PHP configuration issue on your web server. Specifically, it’s about the open_basedir restriction, which is a security directive in PHP’s configuration that limits the files that can be opened by PHP to the specified directory-tree.

    The message indicates that a PHP script is trying to access a file (/pvc_mixins.less) that is not within the allowed path(s) specified by the open_basedir directive. The allowed path(s) in your case is /data/web/virtuals/281706/virtual, but the script is attempting to access a file outside of this directory.

    Here’s how you can address the issue:


    1. Review the PHP Configuration: The open_basedir setting is specified in your PHP configuration file (php.ini), or it might be set at runtime using the ini_set() function. You’ll need to check where the restriction is being set. If you have access to the php.ini file, you can modify the open_basedir directive to include the path where /pvc_mixins.less is located.

    2. Adjust the open_basedir Path: You need to add the path to the directory containing the /pvc_mixins.less file to your open_basedir directive. Make sure you separate multiple paths with a colon (:) on Unix/Linux systems or a semicolon (;) on Windows.
    OR
    3. Contact Hosting Provider: If you’re on shared hosting or don’t have access to modify the php.ini file directly, you may need to contact your hosting provider for assistance. They can adjust the open_basedir settings for you.

    I hope that helps you.

    Steve

Viewing 1 replies (of 1 total)
  • The topic ‘Doesn’t work’ is closed to new replies.