I have a site that’s I’m trying to implement some advanced functionality, ie: blog and custom article archiving with categories/tags. I’ve been trying to learn PHx as it seems to be the solution that I need, unfortunately, as soon as set it up I get the following error:
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: Unknown(): open_basedir restriction in effect. File(/assets/plugins/phx/phx.parser.class.inc.php) is not within the allowed path(s): (/var/www/vhosts/domain.com/httpdocs:/tmp)
Error type/ Nr.: Warning - 2
File: /var/www/vhosts/domain.com/httpdocs/manager/includes/document.parser.class.inc.php(724) : eval()’d code
Line: 10
Parser timing
MySQL: 0.0307 s (4 Requests)
PHP: 0.0451 s
Total: 0.0758 s
Note: I changed the domain name to domain.com only for this posting.
My first question I guess should be, will PHx even work on 0.9.5?
Second, I’ve created a subdomain on this site and installed 0.9.6.3 to test out the above theory, still getting a parse error.
Is there a safe way to upgrade the current installation without loosing data (huge site)? Will upgrading even help in this instance? I was told that PHx needs PHP5 to run correctly - is that true?
ANY help will be greatly appreciated. I’m at a loss for what I can do to make this work correctly :’( ...other then using Wordpress