CHeighlund
Programmer
I've got a php program I've been trying to work on. I now have it working on our test box perfectly, but attempts to run it on the box it's supposed to be placed on are causing problems.
I'm getting the error message "Parse error: parse error, unexpected T_NEW in /srv/ on line 197". The contents of line 197 are "throw new FileWriteException();". Given that this works on the test box, I'm presuming it's an environment issue; what am I likely to need to look at in the php environment to compare with the version of the environment that works? (Or alternately, if this isn't likely to be an environmnent issue, where should I start looking?)
I'm getting the error message "Parse error: parse error, unexpected T_NEW in /srv/ on line 197". The contents of line 197 are "throw new FileWriteException();". Given that this works on the test box, I'm presuming it's an environment issue; what am I likely to need to look at in the php environment to compare with the version of the environment that works? (Or alternately, if this isn't likely to be an environmnent issue, where should I start looking?)