newism / nsm.tiny_mce.ee_addon

Other
6 stars 3 forks source link

Syntax Error in ft.nsm_tiny_mce.php #4

Closed rbird closed 14 years ago

rbird commented 14 years ago

I've just installed latest build of both EE 2.0 and nsm_tiny_mce. The AddOns=>Fieldtypes control panel will not load. Instead, receive this error:

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /path_to_system/expressionengine/third_party/nsm_tiny_mce/ft.nsm_tiny_mce.php on line 20
rbird commented 14 years ago

Okay. I think this is a PHP version problem? I was running 4.x. Changed system to 5.x and no longer received this syntax error.

leevigraham commented 14 years ago

Yeah it would have been. I'm not supporting PHP4 in any of my addons.