Jump to content

[Solved] error on module page.


Recommended Posts

Hi
after installing the prestashop 1.rc4 i got this error when i clic on module
how can we fix this error !?

Warning: main() [function.main]: open_basedir restriction in effect. File(/Parser/Type.php) is not within the allowed path(s): (/var/www/vhosts/xxx.COM/httpdocs:/tmp) in /var/www/vhosts/xxx.COM/httpdocs/tools/pear_xml_parser/Parser.php on line 29

Warning: main(Parser/Type.php) [function.main]: failed to open stream: Operation not permitted in /var/www/vhosts/xxx.COM/httpdocs/tools/pear_xml_parser/Parser.php on line 29

Fatal error: main() [function.require]: Failed opening required 'Parser/Type.php' (include_path='.:') in /var/www/vhosts/xxx.COM/httpdocs/tools/pear_xml_parser/Parser.php on line 29

Regards.

Link to comment
Share on other sites

Just find the fix (i hope)
most likely the problem is with Plesk??
you need to edit tools/pear_xml_parser/Parser.php on line 29:

require_once ‘Parser/Type.php’;
to
require_once ‘/var/www/vhosts/xxyourdomainxx.com/httpdocs/tools/pear_xml_parser/Parser/Type.php’;

you also need to do the same on line 34:
require_once ‘Parser/Exception.php’;
to
require_once ‘/var/www/vhosts/xxyourdomainxx.com/httpdocs/tools/pear_xml_parser/Parser/Exception.php’;

the most important its working

Link to comment
Share on other sites

  • 4 months later...

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...