I don't know if I'm in the right forum, since it's SSH which is giving me trouble, but it's SSH saying that my code is incorrect, therefore, it won't run my cron job.
I created a class which will generate a new code into my system at a regular interval. I've got the cron job set up and everything had been going smoothly. That was until I typed "php /path/to/file.php" then I got an error, reading:
<b>Parse error</b>: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in <b>/homepages/7/d404100790/htdocs/cron.php</b> on line <b>122</b><br />
That'd be understand, since it tells you which line and stuff the error is on, yes? No.
Here's the line and others around it of where the error is occurring
This is quite annoying, since there's not actually an error. Am I doing something wrong?
Any help greatly appreciated,
Thanks in advanced.