Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

File Based Sessions - Error
 
SimonWatts
Jr. Member
 
Total Posts:  19
Joined:  2012-01-08
 

I have a store that uses file based sessions. All seems to be working for a while then suddenly When I add to cart I am redirect to a 404 page with the follow error in the url :

Fatal error: Class ‘Mage’ not found in /var/www/app/code/core/Mage/Core/functions.php on line 0

At this point the backend admin no longer works and reports the same error.

the only way I can clear this is to remove all of the sessions files from ./var/session directory.

Having tested the site seems stable when using a databased based session.

Has anyone else come across this? I would be interested in anyones thoughts as to what might be going on here and any potential solutions that I could test.

Thanks

Simon Watts

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top