I have a strange problem here. Last night I was upgrading a site to 2.4. I removed the cms and saphire folders and then uploaded the 2.4 'cms' and 'saphire'.
Everything seemed ok but then all of a sudden I hit this message on the screen:
Parse error: syntax error, unexpected T_STRING in /var/tmp/silverstripe-cache-nfs-c06-h05-mnt-92173-domains-xxxxx.co.uk-html/.cache.nfs.c06.h05.mnt.92173.domains.xxxxx.co.uk.html.themes.hub.templates.Page.ss on line 56
I checked my template and nothing was wrong there, in fact I had not even edited or uploaded this anyway. I deleted the silverstripe-cache and still no joy.
Then this morning I thought that if I uploaded the blackcandy theme, edited the config file on the server to use this theme and reloaded the page that I would then atleast be able to see something...
The pain in the ass is, I can't log in either to do dev/build/?flush=1 because I'm being redirected to the security login page which uses Page.ss where I'm having a problem.
I'm running out of ideas about why this is happening and what to do.
Anyone got any ideas or ever experienced anything like this?