Bolt errors on fatcow debian servers

A forum for Bolt related questions / issues

Bolt errors on fatcow debian servers

Postby anonymoose » Tue Jan 08, 2013 11:26 pm

I am in the process of trying to deploy a simple bolt ( mostly OOB bolt install ) to a server being hosted by fatcow. The server is running debian, php 5.3, and MySQL 5.0.91-log.

When trying to run bolt I am greeted with this error:

Code: Select all
Warning: mkdir(): Permission denied in /hermes/waloraweb000/b1920/moo.druidcloakcom/apothecary/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Storage/Handler/NativeFileSessionHandler.php on line 52 Fatal error: Uncaught exception 'RuntimeException' with message 'Failed to start the session because headers have already been sent.' in /hermes/waloraweb000/b1920/moo.druidcloakcom/apothecary/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:142 Stack trace: #0 /hermes/waloraweb000/b1920/moo.druidcloakcom/apothecary/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php(262): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start() #1 /hermes/waloraweb000/b1920/moo.druidcloakcom/apothecary/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Session.php(82): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->getBag('attributes') #2 /hermes/waloraweb000/b1920/moo.druidcloakcom/apothecary/app/app_backend.php(94): Symfony\Component\HttpFoundation\Session\Session->has('user') #3 /hermes/waloraweb000/b1920/moo.druidcloakcom/apothecary/app/bootstrap.php(96): requi in /hermes/waloraweb000/b1920/moo.druidcloakcom/apothecary/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php on line 142


Is any one able to point me in the right direction of fixing this problem? I have checked all the reference points in the symphony php file however I am unable to notice any problems in the code.

Thanks,
Ethan
anonymoose
 
Posts: 20
Joined: Mon Jan 07, 2013 4:35 pm

Re: Bolt errors on fatcow debian servers

Postby Bob » Wed Jan 09, 2013 8:15 am

Bolt/Silex uses Symfony's default file based session handler. I'm guessing that for some reason your setup isn't allowed to write the session files. I believe they should just go in PHP's default temp folder.

Check phpinfo() to see where the tmp folder is, and see if it's set up correctly. There should be sess_21343foo234bar files in there.

Tip: if you're on the command line, you can use 'php app/nut phpinfo'
Bob
Lead Developer
 
Posts: 1374
Joined: Tue Nov 20, 2007 11:16 pm

Re: Bolt errors on fatcow debian servers

Postby anonymoose » Wed Jan 16, 2013 7:52 pm

Thanks! That information was helpful in figuring out that it was the hosting provider's problem...
anonymoose
 
Posts: 20
Joined: Mon Jan 07, 2013 4:35 pm


Return to Bolt Discussion

Who is online

Users browsing this forum: No registered users and 1 guest