<![CDATA[ moved server and PHx just stopped working - My Forums]]> https://forums.modx.com/thread/?thread=73354 <![CDATA[Re: moved server and PHx just stopped working]]> https://forums.modx.com/thread/73354/moved-server-and-phx-just-stopped-working#dis-post-408732
Thanks for the reply, was away from the site for the entire weekend, lucky me wink I'll act on what you say here, magic quotes/error highlighting etc.

Regarding PHx in Revo, I have seen that before, probably posted by you - so can I assume that if i run a PHx call in Revo, without adding any extra/plugin, that it would work just the same as it would in Evo?

(you may have mentioned this in your book, which I'm about to buy)]]>
rootsdiv Jan 23, 2012, 08:00 AM https://forums.modx.com/thread/73354/moved-server-and-phx-just-stopped-working#dis-post-408732
<![CDATA[Re: moved server and PHx just stopped working]]> https://forums.modx.com/thread/73354/moved-server-and-phx-just-stopped-working#dis-post-408488
BTW, I think I have seen that error caused by magic_quotes_gpc being turned on.

Another option would be to paste the PHX code into a really good code editor (e.g., PhpStorm, NetBeans, or PhpEd) and see if it highlights any errors.

FYI, MODX Revolution has PHX built into the core.


---------------------------------------------------------------------------------------------------------------
PLEASE, PLEASE specify the version of MODX you are using . . . PLEASE!
MODx info for everyone: http://bobsguides.com/MODx.html]]>
BobRay Jan 20, 2012, 10:50 PM https://forums.modx.com/thread/73354/moved-server-and-phx-just-stopped-working#dis-post-408488
<![CDATA[Re: moved server and PHx just stopped working]]> https://forums.modx.com/thread/73354/moved-server-and-phx-just-stopped-working#dis-post-408318
It's strange as I simply did a straight forward port, didn't apply any exotic chmod setting, and I certainly haven't changed any code.

Yes - probably the PHP version
Which version would you recommend?

I guess a possible solution would be to just rename this install of PHx to make it invisible, and then do a fresh PHx install and see if it works. That way we'd find out if it's a server issue - a process of elimination. Sound like a plan to you?]]>
rootsdiv Jan 20, 2012, 04:16 AM https://forums.modx.com/thread/73354/moved-server-and-phx-just-stopped-working#dis-post-408318
<![CDATA[Re: moved server and PHx just stopped working]]> https://forums.modx.com/thread/73354/moved-server-and-phx-just-stopped-working#dis-post-408201 Quote from: rootsdiv at Jan 18, 2012, 02:43 PM
syntax error, unexpected T_NS_SEPARATOR, expecting T_STRING
Parse error: syntax error, unexpected T_NS_SEPARATOR, expecting T_STRING in
/home/behrenss/public_html/manager/includes/document.parser.class.inc.php(790) : eval()'d code on line 10
Any ideas from this?

Hm, something is quite wrong on the line 10 of an unknown PHx custom modifier / snippet.
It could be any of the following:
- phx:custom_mod snippet was saved while PHP Magic Quotes on (default on 5.3, needs to be off)
- PHx plugin files damaged
...etc

I could most likely get the host to upgrade the php version, they're great for support.

You mean downgrade back to PHP5.2?]]>
danilocuculic Jan 19, 2012, 12:10 PM https://forums.modx.com/thread/73354/moved-server-and-phx-just-stopped-working#dis-post-408201
<![CDATA[Re: moved server and PHx just stopped working]]> https://forums.modx.com/thread/73354/moved-server-and-phx-just-stopped-working#dis-post-407977
syntax error, unexpected T_NS_SEPARATOR, expecting T_STRING

Parse error: syntax error, unexpected T_NS_SEPARATOR, expecting T_STRING in /home/behrenss/public_html/manager/includes/document.parser.class.inc.php(790) : eval()'d code on line 10

Any ideas from this?
I could most likely get the host to upgrade the php version, they're great for support.
Thanks]]>
rootsdiv Jan 18, 2012, 08:43 AM https://forums.modx.com/thread/73354/moved-server-and-phx-just-stopped-working#dis-post-407977
<![CDATA[Re: moved server and PHx just stopped working]]> https://forums.modx.com/thread/73354/moved-server-and-phx-just-stopped-working#dis-post-407842 Quote from: rootsdiv at Jan 16, 2012, 11:00 AM
Hi all,
I recently moved an Evo 1.0.5 site to a new server and PHx has stopped working. Haven't changed a thing with PHx in the manager, but any data previously generated by PHx is just not appearing at the new location.

Here's the current server setup:
PHP version 5.3.8

Here's the previous server setup:
PHP version 5.2.17

Could the server difference here be causing the problem?

Yes - probably the PHP version. Anything noteworthy inside Reports|System Events ?
]]>
danilocuculic Jan 17, 2012, 09:50 AM https://forums.modx.com/thread/73354/moved-server-and-phx-just-stopped-working#dis-post-407842
<![CDATA[moved server and PHx just stopped working]]> https://forums.modx.com/thread/73354/moved-server-and-phx-just-stopped-working#dis-post-407657
I recently moved an Evo 1.0.5 site to a new server and PHx has stopped working. Haven't changed a thing with PHx in the manager, but any data previously generated by PHx is just not appearing at the new location.

Here's the current server setup:
Apache version 2.2.21
PHP version 5.3.8
MySQL version 5.1.56-log

The phx directory is set to 755, Template Service Events set at OnParseDocument.

Here's the previous server setup:
Apache: 2.2.3
PHP version 5.2.17
MySQL version 5.0.77

Could the server difference here be causing the problem?

Thanks in advance]]>
rootsdiv Jan 16, 2012, 05:00 AM https://forums.modx.com/thread/73354/moved-server-and-phx-just-stopped-working#dis-post-407657