Hi, I am running Magento 2.0.4 in Plesk successfully and the site has been running fine. Today I updated my db to Maria db 10.1.14 from 10.1.13 and now I'm getting the error below and I cannot access the site at all. Does anyone know how to fix this? Thanks
There has been an error processing your request
Exception printing is disabled by default for security reasons.
Error log record number: xxxxx
Rename the file:
It will make Magento show errors
Thanks for the reply. The error message I am getting now is;
Warning: SessionHandler::read(): open(/var/lib/php/session/sess_cvevqn06desuj80, O_RDWR) failed: Permission denied (13) in /var/www/vhosts/[site]/httpdocs/vendor/magento/framework/Session/SaveHandler.php on line 74
In the server update, i believe the php version was also updated. Also i can see 14 errors from the db
They all say "The storage engine for the table doesn't support check"
It looks like the web server/PHP no longer have permissions to read/write from the sessions storage (/var/lib/php/session/). How are you running PHP? As an Apache module or fastcgi/php-fpm?
Where do you see the database errors? On the same error screen?
Thanks for the update, when i change the permissions for the folder /var/lib/php/session/ the site loads up.
There is a Check and repair future within Plesk and that is producing the errors but im not sure if they are of any significance. I am running Apache with PHP version 7.0.6 as FPM. It seems its a permissions issue. Im not sure why this has suddenly happened, do you have any suggestions for this?
It appears that Plesk changed the permissions on the sessions folder. This has been updated and now working correctly.
However the permissions now are set to 1733. Is this correct?
I had this issue and was caused by file permission. Just rest files permission. I am hosting my magento with Cloudways, and they have the option to reset permission from the hosting control panel.
Sorry to bump this.
The error I get is this:
Warning: ini_set(): Cannot find save handler 'memcached' in ... /vendor/magento/framework/Session/SessionManager.php on line 536
I have this error. Where is the pub folder? Can't see it in the root