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...
  • 16 years later...

trying to update from the last 1.6 to the last 1.7 I stumbled in TOO many problems. Before I could have a barely working installation I had to Uninstall way too many modules. It didn't help just disabling them and I had to go by trial and error since many of the modules that will break simply running the update to completion were never "installed" nor enabled but still they were causing errors.

Stumped in the same problem and it seems that the zip archive 1.7.8.11 is missing most of everything that should be in the /tools directory

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