Recently been working on a site for a client, using Bolt as the CMS. I developed the site locally and hosted it on my own site with no problems (my own site uses the CPanel system). However I am now trying to get the website up and running on the clients hosting which is called 'Cloud Hosting'.
The host is running PHP 5.4.16, but after I upload the files and access the site on the domain I get these errors:
- Code: Select all
Warning: is_dir(): Unable to find the wrapper "tcp" - did you forget to enable it when you configured PHP? in /clientdata/apache-www/m/e/sitename/www/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Storage/Handler/NativeFileSessionHandler.php on line 51
Warning: is_dir(): Unable to find the wrapper "tcp" - did you forget to enable it when you configured PHP? in /clientdata/apache-www/m/e/sitename/www/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Storage/Handler/NativeFileSessionHandler.php on line 51
Warning: mkdir(): Unable to find the wrapper "tcp" - did you forget to enable it when you configured PHP? in /clientdata/apache-www/m/e/sitename/www/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Storage/Handler/NativeFileSessionHandler.php on line 52
Warning: mkdir(): File exists in /clientdata/apache-www/m/e/sitename/www/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 by "/clientdata/apache-www/m/e/sitename/www/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Storage/Handler/NativeFileSessionHandler.php" at line 51.' in /clientdata/apache-www/m/e/sitename/www/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:143 Stack trace: #0 /clientdata/apache-www/m/e/sitename/www/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php(281): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start() #1 /clientdata/apache-www/m/e/sitename/www/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Session.php(81): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->getBag('attributes') #2 /clientdata/apache-www/m/e/sitename/www/app/src/Bolt/Application.php(296): in /clientdata/apache-www/m/e/sitename/www/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php on line 143
I have been unable to figure out how to correct this error. I have also chatted to the support of my host and they were unable to help me.
If anyone has any ideas that'd be much appreciated.
Thanks.