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.

General Questions

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

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

session_start() Error


3 Posts   705 Views


30 May 2010 at 5:46am Community Member, 121 Posts

My site was perfectly fine then all of the sudden this error appeard:

[Warning] session_start() [function.session-start]: open(/tmp/sess_f392e55900854bf8543c1f976cd286e5, O_RDWR) failed: Permission denied (13)
GET /?flush=all

Line 197 in /home/lexdraft/public_html/sapphire/core/Session.php

Any ideas? Thanks :)


30 May 2010 at 7:58pm Community Member, 121 Posts

bump. any ideas? :)


31 May 2010 at 2:42pm (Last edited: 31 May 2010 2:44pm), Forum Moderator, 921 Posts

Hmm, are you on a shared hosting provider? Looks like permissions for PHP / Apache have been set incorrectly, or PHP was changed to store sessions in a different location.

If so, I'd suggest telling them you're getting this error, as it's a file system problem.