Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

PHP Fatal error getSession()


Go to End


1760 Views

Avatar
zenmonkey

Community Member, 545 Posts

4 August 2010 at 9:01am

I'm getting the following error on my 2.4.1 install. I've checking the site using ?isDev=1&debug=1 because I can't log in to the CMS using FF 3.6.8 Mac. I can get in on Safari if I ad ?isDev

[Tue Aug 03 15:44:20 2010] [error] [client xx] PHP Warning: No current controller available in /var/www/vhosts/avellibrands.com/httpdocs/sapphire/core/control/Controller.php on line 365
[Tue Aug 03 15:44:20 2010] [error] [client xx] PHP Fatal error: Call to a member function getSession() on a non-object in /var/www/vhosts/avellibrands.com/httpdocs/sapphire/core/Session.php on line 163

Any help would be great, thanks