Jump to content

Debug Mode Error in the Module Section


Recommended Posts

Hello,

 

if upgrade my prestashop version from 1.5.3.1 to the newest.

If turned the debug mode on and now im getting the following error code

Warning: is_dir(): open_basedir restriction in effect. File(/var/www/vhosts/topsportsfood.eu/beta/modules/config.xml/) is not within the allowed path(s): (/var/www/vhosts/topsportsfood.eu/:/tmp/) in /var/www/vhosts/topsportsfood.eu/beta/classes/module/Module.php on line 1261 Warning: is_dir(): open_basedir restriction in effect. File(/var/www/vhosts/topsportsfood.eu/beta/modules/defines.php/) is not within the allowed path(s): (/var/www/vhosts/topsportsfood.eu/:/tmp/) in /var/www/vhosts/topsportsfood.eu/beta/classes/module/Module.php on line 1261 Warning: is_dir(): open_basedir restriction in effect. File(/var/www/vhosts/topsportsfood.eu/beta/modules/germanext.php/) is not within the allowed path(s): (/var/www/vhosts/topsportsfood.eu/:/tmp/) in /var/www/vhosts/topsportsfood.eu/beta/classes/module/Module.php on line 1261 Warning: is_dir(): open_basedir restriction in effect. File(/var/www/vhosts/topsportsfood.eu/beta/modules/.htaccess/) is not within the allowed path(s): (/var/www/vhosts/topsportsfood.eu/:/tmp/) in /var/www/vhosts/topsportsfood.eu/beta/classes/module/Module.php on line 1261 Warning: is_dir(): open_basedir restriction in effect. File(/var/www/vhosts/topsportsfood.eu/beta/modules/index.php/) is not within the allowed path(s): (/var/www/vhosts/topsportsfood.eu/:/tmp/) in /var/www/vhosts/topsportsfood.eu/beta/classes/module/Module.php on line 1261 Warning: is_dir(): open_basedir restriction in effect. File(/var/www/vhosts/topsportsfood.eu/beta/modules/INSTALL.txt/) is not within the allowed path(s): (/var/www/vhosts/topsportsfood.eu/:/tmp/) in /var/www/vhosts/topsportsfood.eu/beta/classes/module/Module.php on line 1261 Warning: is_dir(): open_basedir restriction in effect. File(/var/www/vhosts/topsportsfood.eu/beta/modules/LICENSE/) is not within the allowed path(s): (/var/www/vhosts/topsportsfood.eu/:/tmp/) in /var/www/vhosts/topsportsfood.eu/beta/classes/module/Module.php on line 1261 Warning: is_dir(): open_basedir restriction in effect. File(/var/www/vhosts/topsportsfood.eu/beta/modules/logo.gif/) is not within the allowed path(s): (/var/www/vhosts/topsportsfood.eu/:/tmp/) in /var/www/vhosts/topsportsfood.eu/beta/classes/module/Module.php on line 1261 Warning: is_dir(): open_basedir restriction in effect. File(/var/www/vhosts/topsportsfood.eu/beta/modules/logo.png/) is not within the allowed path(s): (/var/www/vhosts/topsportsfood.eu/:/tmp/) in /var/www/vhosts/topsportsfood.eu/beta/classes/module/Module.php on line 1261 Warning: is_dir(): open_basedir restriction in effect. File(/var/www/vhosts/topsportsfood.eu/beta/modules/README.md/) is not within the allowed path(s): (/var/www/vhosts/topsportsfood.eu/:/tmp/) in /var/www/vhosts/topsportsfood.eu/beta/classes/module/Module.php on line 1261

What does it say and how can i fix it?

 

 

post-311609-0-89798300-1386876405_thumb.jpg

Link to comment
Share on other sites

the php environment has open_basedir active.

 

you can choose to disable it one of the following areas will work, You could try via .htaccess but I've read where this does not always work.

 

open_basedir should be set in the httpd.conf, php.ini or vhost.conf

 

or contact your hosting company and ask them to turn off open_basedir

 

hope that helps

Link to comment
Share on other sites

or do nothing by turn off debug mode. :)  you would not want to run your production shop in debug mode unless desperate...

 

you can also change the error options under config/settings.inc.php, what you posted is a 'warning' so it does not stop a script.

@error_reporting(E_ALL | E_STRICT);


for value settings see

http://php.net/manual/en/function.error-reporting.php

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...