Jump to content

error in mudule "Warning: ........ need help!


Recommended Posts

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



hey guys I need help here

Link to comment
Share on other sites

for those who have the same problem

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

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