22 January 2010 at 4:38am
The error is followed by this one:
Call to a member function getSession() on a non-object in /var/www/vhosts/example.co.uk/httpdocs/sapphire/core/Session.php on line 60
Could be something to do with sessions. I assume once you put the site into development or test mode, it is just for you session and not for all sessions across the whole site? I can imagine how easy it would be to switch it on to check something in a live site and forget to turn it off, so you would not want other people being able to get in there and view the internals with a few choice parameters.
I have seen that type of thing happen on other sites when developers accidentally leave PHPbug code turned on, and up pops debug messages in my FF browser. Whoops.
22 January 2010 at 8:35am
Last post on this subject. I have 'wasted' too much time and effort and have businesses to run, and 27 years in this industry believe me I know a problem is software, hardware or configuration issues when I see one, and this one is definitely a SS issue.
I have tried numerous times with V 2.3.4 it's hopeless and get's worse. I have tried a friends brand new dedicated server, no sites loaded at all on it, tried V 2.3.4, tried all the workarounds for speed/performance improvements. Absolutely no different whatsoever. Tried V 2.4 on the original server, slight improvement but nothing to sing a song about. Tried V 2.4 on my friends brand new Dell dedicated server and it's marginally better but not usable in a live environmet. The time I have wasted pi**ing about with SS I could have had the site done and dusted.
I much appreciate all your input and assistance but the use of SS has been binned. I 'may' call back in 6 months or so and see how things are then and give it a try.
22 January 2010 at 8:54am
Judge, I think the dev mode gets enabled anyway, it just crashes immediately afterwards. This happens on clean 2.4 install, here is a ticket: http://open.silverstripe.org/ticket/4947 . Which version are you using, Judge?