Webdesigncr3ator

Your Trusted Partner

Category: Magento Fix

Protected: Your current PHP memory limit is 128M Magento 2 requires it to be set to 756M

This content is password protected. To view it please enter your password below:

Warning : Exception printing is disabled by default for security reasons magento2

Warning : Exception printing is disabled by default for security reasons magento2

1) We will need to enable exception printing in Magento 2.
The local.xml file in Magento 2 is located in pub/errors/, now we will rename local.xml.sample to local.xml .

Then I see this error :

2) Warning: ini_set(): A session is active. You cannot change the session module’s ini settings at this time in lib/internal/Magento/Framework/Session/SessionManager.php on line 129»

Solution link :

1)Go line 129 on vendor/magento/framework/Session/SessionManager.php

Then just replace it :

// Enable session.use_only_cookies
ini_set(‘session.use_only_cookies’, ‘1’);

with the following ones:

if (!$this->isSessionExists()) {
// Enable session.use_only_cookies
ini_set(‘session.use_only_cookies’, ‘1’);
}

Reference Link : https://mage2.pro/t/topic/5232

© 2018 Webdesigncr3ator

Theme by Anders NorenUp ↑