Magento Common Errors and Possible solutions

by Admin
Magento errors
It's only fair to share...Share on google
Google
Share on pinterest
Pinterest
Share on twitter
Twitter
Share on linkedin
Linkedin

Here are some of the common Magento errors and their possible solutions:
Unable to allocate memory for pool” in PHP?

SOLUTION: This is Memory related error linked to APC. To resolve this error, specify you .ini settings, specifically your apc.mmap_file_mask setting.

For file-backed mmap, it should be set to something like:

apc.mmap_file_mask=/tmp/apc.XXXXXX

 

For POSIX-compliant shared-memory-backed mmap, use:

apc.mmap_file_mask=/apc.shm.XXXXXX


While Installing Magento, you might get the following error code:

Fatal error: Maximum function nesting level of '100' reached, aborting!

SOLUTION:  To resolve this issue, you can:

Disable the xdebug extension.
Set the value of xdebug.max_nesting_level to a value of 200 or more. Then restart the Apache server and this should resolve the error.

 

Another common installation error is “Installation fails; cannot create install.log:

Review your setting for open_basedir in php.ini. The Setup Wizard uses the sys_get_temp_dir ( void ) PHP call to get the value of the temporary directory. If open_basedir is set to refuse connections to a directory specified by sys_get_temp_dir, the installation fails.

To resolve the issue, change the value of open_basedir and restart the web server.

Another installation error is fatal PDO error displays:

PHP Fatal error:  Class 'PDO' not found in /var/www/html/magento2/setup/module/Magento/Setup/src/Module/Setup/ConnectionFactory.php on line 44

SOLUTION: Check and make sure you have installed all required PHP extensions. This error usually occurs due to missing some extensions.
Magento install error There has been an error processing your request

There has been an error processing your request
Exception printing is disabled by default for security reasons.

SOLUTION: check for the “errors” folder–> Change local.xml.sample to local.xml –>Open magento/lib/Zend/Cache/Backend/File.php and look for:

protected $_options = array(
‘cache_dir’ => ‘null’,
Change it to:
protected $_options = array(
‘cache_dir’ => ‘tmp/’,
Save it and then create a tmp folder in the root Magento folder. Problem solved!
Check out our popular section for Magento common questions and answers. For complete Magento support, contact us at info (at) platinait.com

 

Related Posts