<![CDATA[ PHx parse error - My Forums]]> https://forums.modx.com/thread/?thread=45383 <![CDATA[Re: PHx parse error]]> https://forums.modx.com/thread/45383/phx-parse-error#dis-post-262178 ]]> mayhemchaos Jun 24, 2011, 10:41 AM https://forums.modx.com/thread/45383/phx-parse-error#dis-post-262178 <![CDATA[Re: PHx parse error]]> https://forums.modx.com/thread/45383/phx-parse-error#dis-post-262177
P.S. I know a lot of this stuff is probably "duh" to many but I wanted to post to help others when they run into it after migrating to a new host.]]>
brianlarson Oct 27, 2010, 09:27 AM https://forums.modx.com/thread/45383/phx-parse-error#dis-post-262177
<![CDATA[Re: PHx parse error]]> https://forums.modx.com/thread/45383/phx-parse-error#dis-post-262176
include_once $modx->config['base_path'] . "assets/plugins/phx/phx.parser.class.inc.php"


Here’s what the parse error looks like as well:
« MODx Parse Error »

MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
 
PHP error debug
  Error:	Unknown(/home2/username/public_html/alu/assets/plugins/phx/phx.parser.class.inc.php): failed to open stream: No such file or directory	 
  Error type/ Nr.:	Warning - 2	 
  File:	/nfs/c07/h04/mnt/111068/domains/domainname.com/html/manager/includes/document.parser.class.inc.php(746) : eval()'d code	 
  Line:	15	 
 
Parser timing
  MySQL:	0.0352 s	(3 Requests)
  PHP:	0.1053 s	 
  Total:	0.1405 s
]]>
brianlarson Oct 27, 2010, 09:17 AM https://forums.modx.com/thread/45383/phx-parse-error#dis-post-262176
<![CDATA[Re: PHx parse error]]> https://forums.modx.com/thread/45383/phx-parse-error#dis-post-262175
It might be a modx bug. Maybe some of the modx gurus know better.
]]>
cipa Jan 12, 2010, 11:03 PM https://forums.modx.com/thread/45383/phx-parse-error#dis-post-262175
<![CDATA[Re: PHx parse error]]> https://forums.modx.com/thread/45383/phx-parse-error#dis-post-262174
I wonder some if these variables are being used at some other place then it would not work. Any idea?]]>
mahd Jan 12, 2010, 10:16 PM https://forums.modx.com/thread/45383/phx-parse-error#dis-post-262174
<![CDATA[Re: PHx parse error]]> https://forums.modx.com/thread/45383/phx-parse-error#dis-post-262173
include_once $modx->config[’rb_base_dir’] . "plugins/phx/phx.parser.class.inc.php";

to

include_once $modx->config[’base_path’] . "assets/plugins/phx/phx.parser.class.inc.php";]]>
cipa Jan 12, 2010, 12:02 PM https://forums.modx.com/thread/45383/phx-parse-error#dis-post-262173
<![CDATA[PHx parse error]]> https://forums.modx.com/thread/45383/phx-parse-error#dis-post-262172
PHx is working just perfect but their is a little issue. When I’ve it enabled online and change any settings in the admin panel, siteCache file is changed and show the local server path.

If I disable PHx, then it does not happen.

Here is the error:

« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »

PHP error debug
Error: include_once(D:/phpserv/www/clickedsol/assets/plugins/phx/phx.parser.class.inc.php) [function.include-once]: failed to open stream: No such file or directory
Error type/ Nr.: Warning - 2
File: /home/design4m/public_html/apps/clickedsol/manager/includes/document.parser.class.inc.php(746) : eval()’d code
Line: 9

Parser timing
MySQL: 0.0013 s (3 Requests)
PHP: 0.0203 s
Total: 0.0217 s]]>
mahd Jan 12, 2010, 11:58 AM https://forums.modx.com/thread/45383/phx-parse-error#dis-post-262172