Magento Forum

   
Error in Magento 1.7 installation. 
 
maneesh_patel
Jr. Member
 
Total Posts:  5
Joined:  2012-04-26
 


Hi every one,
I have tried to install latest version of Magento on my website http://www.carguru.in. But i am getting this error.

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

Error log record number: 812740235”

URL of my website is :- http://carguru.in/
Please help me on this issue. Thanks in advance.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Dx3webs
Sr. Member
 
Avatar
Total Posts:  178
Joined:  2008-12-16
 

well.. what does /var/report/812740235 say?

 
Magento Community Magento Community
Magento Community
Magento Community
 
lbim
Jr. Member
 
Total Posts:  1
Joined:  2012-04-29
 

Hello all Magento fans, experts and users!

I have the same error message like maneesh_patel on fresh Magento 1.7 install. Our website is hosted on server with all requirements of Magento, here it is magento-check.php result: 
===================
Congratulations! Your server meets the requirements for Magento.
• You have PHP 5.2.0 (or greater)
• Safe Mode is off
• You have MySQL 4.1.20 (or greater)
• You have the curl extension
• You have the dom extension
• You have the gd extension
• You have the hash extension
• You have the iconv extension
• You have the mcrypt extension
• You have the pcre extension
• You have the pdo extension
• You have the pdo_mysql extension
• You have the simplexml extension
===================
The error on installation page is 504

There has been an error processing your request
Exception printing is disabled by default for security reasons.
Error log record number: 406065169794

Content of error message 406065169794 is:

a:5:{i:0;s:208:"Error in file: “/home/chris225/public_html/mage/app/code/core/Mage/Sales/sql/sales_setup/install-1.6.0.0.php” - SQLSTATE[42S01]: Base table or view already exists: 1050 Table ‘sales_flat_order’ already exists";i:1;s:1008:"#0 /home/chris225/public_html/mage/app/code/core/Mage/Core/Model/Resource/Setup.php(645): Mage::exception(’Mage_Core’, ‘Error in file: ...’)
#1 /home/chris225/public_html/mage/app/code/core/Mage/Core/Model/Resource/Setup.php(421): Mage_Core_Model_Resource_Setup->_modifyResourceDb(’install’, ‘’, ‘1.6.0.7’)
#2 /home/chris225/public_html/mage/app/code/core/Mage/Core/Model/Resource/Setup.php(327): Mage_Core_Model_Resource_Setup->_installResourceDb(’1.6.0.7’)
#3 /home/chris225/public_html/mage/app/code/core/Mage/Core/Model/Resource/Setup.php(235): Mage_Core_Model_Resource_Setup->applyUpdates()
#4 /home/chris225/public_html/mage/app/code/core/Mage/Core/Model/App.php(417): Mage_Core_Model_Resource_Setup::applyAllUpdates()
#5 /home/chris225/public_html/mage/app/code/core/Mage/Core/Model/App.php(343): Mage_Core_Model_App->_initModules()
#6 /home/chris225/public_html/mage/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#7 /home/chris225/public_html/mage/index.php(87): Mage::run(’’, ‘store’)
#8 {main}”;s:3:"url”;s:6:"/mage/”;s:11:"script_name”;s:15:"/mage/index.php”;s:4:"skin”;s:7:"default";}
=================================

I’ve been deleting and reinstalling database several times. Do I have to reinstall
all Magento 1.7 again? (about 90 minutes). This is my first Magento but I have practice with 6 other CMS (Drupal, Joomla, WordPress) installations.
Actually I don’t have a clue where to look or what can be done and I am hoping that somebody with more experience will share some wisdom with us.

lbim

 
Magento Community Magento Community
Magento Community
Magento Community
 
oustin
Jr. Member
 
Total Posts:  3
Joined:  2012-04-24
 

Magento install error - Exception printing is disabled

Here is a known error which can occur when installing Magento:
There has been an error processing your request
Exception printing is disabled by default for security reasons.
Error log record number: XXXXXXXXXXXXXXX

Here is the solution:

Navigate to the “errors” folder.
Change local.xml.sample to local.xml
You should now see a new list of crazy errors all over the Magento page - this is okay.
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.
Now the final step is to go create a tmp folder in the root Magento folder.
That’s it.

 
Magento Community Magento Community
Magento Community
Magento Community
 
glenr8
Jr. Member
 
Total Posts:  8
Joined:  2012-03-25
 

I did what you said but I’m not sure what it did!!

Anyway, I’m having an issue, this is the error I get.

SQLSTATE[HY000] [2002] Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (11)

Trace:
#0 /home2/davoirco/public_html/lib/Zend/Db/Adapter/Pdo/Mysql.php(96): Zend_Db_Adapter_Pdo_Abstract->_connect()
#1 /home2/davoirco/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(313): Zend_Db_Adapter_Pdo_Mysql->_connect()
#2 /home2/davoirco/public_html/lib/Zend/Db/Adapter/Abstract.php(459): Varien_Db_Adapter_Pdo_Mysql->_connect()
#3 /home2/davoirco/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query(’SET NAMES utf8’, Array)
#4 /home2/davoirco/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(419): Zend_Db_Adapter_Pdo_Abstract->query(’SET NAMES utf8’, Array)
#5 /home2/davoirco/public_html/app/code/core/Mage/Core/Model/Resource.php(169): Varien_Db_Adapter_Pdo_Mysql->query(’SET NAMES utf8’)
#6 /home2/davoirco/public_html/app/code/core/Mage/Core/Model/Resource.php(110): Mage_Core_Model_Resource->_newConnection(’pdo_mysql’, Object(Mage_Core_Model_Config_Element))
#7 /home2/davoirco/public_html/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php(320): Mage_Core_Model_Resource->getConnection(’core_write’)
#8 /home2/davoirco/public_html/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php(350): Mage_Core_Model_Resource_Db_Abstract->_getConnection(’write’)
#9 /home2/davoirco/public_html/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php(335): Mage_Core_Model_Resource_Db_Abstract->_getWriteAdapter()
#10 /home2/davoirco/public_html/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php(360): Mage_Core_Model_Resource_Db_Abstract->_getReadAdapter()
#11 /home2/davoirco/public_html/app/code/core/Mage/Core/Model/Resource/Db/Collection/Abstract.php(134): Mage_Core_Model_Resource_Db_Abstract->getReadConnection()
#12 /home2/davoirco/public_html/app/code/core/Mage/Core/Model/Config.php(1348): Mage_Core_Model_Resource_Db_Collection_Abstract->__construct(Object(Mage_Core_Model_Resource_Website))
#13 /home2/davoirco/public_html/app/code/core/Mage/Core/Model/Config.php(1380): Mage_Core_Model_Config->getModelInstance(’core_resource/w...’, Object(Mage_Core_Model_Resource_Website))
#14 /home2/davoirco/public_html/app/Mage.php(490): Mage_Core_Model_Config->getResourceModelInstance(’core/website_co...’, Object(Mage_Core_Model_Resource_Website))
#15 /home2/davoirco/public_html/app/code/core/Mage/Core/Model/Abstract.php(208): Mage::getResourceModel(’core/website_co...’, Object(Mage_Core_Model_Resource_Website))
#16 /home2/davoirco/public_html/app/code/core/Mage/Core/Model/Abstract.php(213): Mage_Core_Model_Abstract->getResourceCollection()
#17 /home2/davoirco/public_html/app/code/core/Mage/Core/Model/App.php(608): Mage_Core_Model_Abstract->getCollection()
#18 /home2/davoirco/public_html/app/code/core/Mage/Core/Model/App.php(466): Mage_Core_Model_App->_initStores()
#19 /home2/davoirco/public_html/app/code/core/Mage/Core/Model/App.php(349): Mage_Core_Model_App->_initCurrentStore(’’, ‘store’)
#20 /home2/davoirco/public_html/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#21 /home2/davoirco/public_html/index.php(87): Mage::run(’’, ‘store’)
#22 {main}

Does this mean there is a problem with the MySQL Server on my ISps end?

Glen

 
Magento Community Magento Community
Magento Community
Magento Community
 
ankur_jain85
Jr. Member
 
Total Posts:  6
Joined:  2011-07-05
 

Hi oustin,
Thank for the post , it worked smile grin

oustin - 16 May 2012 03:08 PM

Magento install error - Exception printing is disabled

Here is a known error which can occur when installing Magento:
There has been an error processing your request
Exception printing is disabled by default for security reasons.
Error log record number: XXXXXXXXXXXXXXX

Here is the solution:

Navigate to the “errors” folder.
Change local.xml.sample to local.xml
You should now see a new list of crazy errors all over the Magento page - this is okay.
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.
Now the final step is to go create a tmp folder in the root Magento folder.
That’s it.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top