refraim Posted June 28, 2008 Share Posted June 28, 2008 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 29Warning: 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 29Fatal 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 29hey guys I need help here Link to comment Share on other sites More sharing options...
refraim Posted June 28, 2008 Author Share Posted June 28, 2008 for those who have the same problemJust 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';torequire_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';torequire_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 More sharing options...
Peter Wilson Posted July 4, 2008 Share Posted July 4, 2008 Thanks for posting your solution, refraim. It will surely help others who get the same error.Is everything working OK now ? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now