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
Hello,
Rename the file:
pub/errors/local.xml.sample
to:
pub/errors/local.xml
It will make Magento show errors
Stanislav
Hi Stanislav,
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
catalog_category_product_index_tmp
catalog_product_index_eav_decimal_tmp
catalog_product_index_eav_tmp
catalog_product_index_price_bundle_opt_tmp
catalog_product_index_price_bundle_sel_tmp
catalog_product_index_price_bundle_tmp
catalog_product_index_price_cfg_opt_agr_tmp
catalog_product_index_price_cfg_opt_tmp
catalog_product_index_price_downlod_tmp
catalog_product_index_price_final_tmp
catalog_product_index_price_opt_agr_tmp
catalog_product_index_price_opt_tmp
catalog_product_index_price_tmp
cataloginventory_stock_status_tmp
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?
Thank you very much.
I appreciate your help.
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
Any clue?
I have this error. Where is the pub folder? Can't see it in the root