TastyIgniter Forums
PHP Fatal error - Printable Version

+- TastyIgniter Forums (https://forum.tastyigniter.com)
+-- Forum: Support (https://forum.tastyigniter.com/forum-4.html)
+--- Forum: Installation, Setup & Upgrade (https://forum.tastyigniter.com/forum-7.html)
+--- Thread: PHP Fatal error (/thread-1113.html)



PHP Fatal error - Adr - 26 Mar

Hi !

I'm haveing a problem with installation. i get error 500 from a browser.
the funny thing is that it userto work ,but stoped somehow?

PHP Fatal error:  session_start(): Failed to initialize storage module: user (path: /var/www/TI/system/tastyigniter/session) in /var/www/TI/sys$
 script '/var/www/TI/azenv.php' not found or unable to stat, referer: https://proxyradar.com/
 PHP Warning:  Uncaught Exception: Session: Configured save path '/var/www/TI/system/tastyigniter/session' is not writable by the PHP process. in /var$
PHP Fatal error:  session_start(): Failed to initialize storage module: user (path: /var/www/2xbe.pl/system/tastyigniter/session) in /var/www/TI/syst$
script '/var/www/TI/setup.php' not found or unable to stat

My ermissions are set up like this:

sudo chown -R $USER:$USER /var/www/
sudo chmod -R 755 /var/www
.htcacces :# 1.To use URL Alias you need to be running apache with mod_rewrite enabled.
Options +FollowSymlinks

# Prevent Directoy listing
Options -Indexes

<IfModule mod_rewrite.c>
        # Turn on URL rewriting
        RewriteEngine On

        # !IMPORTANT! Set your RewriteBase here and don't forget trailing and leading slashes.
        # If your page resides at http://www.example.com/mypage then use
        # RewriteBase /mypage

    RewriteBase /TI
    RewriteRule ^assets/downloads/(.*) not_found [L]
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>


sites availeble config file is:


<VirtualHost *:80>
ServerAdmin admin@ti.pl
DocumentRoot /var/www/TI/
ServerName 2xbe.pl
ErrorLog /var/log/apache2/TI-error_log
CustomLog /var/log/TI/TI-access_log common
<Directory /var/www/TI/>
Options FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
</Directory>
</VirtualHost>


Annyone know what can be the issue? Shoul there be diffirent permission then i have if error log says"is not writable by the PHP process. in /va$"

if so what kind of permission shoud be set?
thanks,
A


RE: PHP Fatal error - Tanbir - 31 Mar

Check this to see if you are having the same issue; https://stackoverflow.com/questions/34125849/php-7-user-sessions-issue-failed-to-initialize-storage-module