简体   繁体   English

关于在xampp localhost中进行magento安装的问题

[英]Issue on magento installation in xampp localhost

I install magento on xampp localhost first time, the error occurred when i enter the DB details and click on continue, the error is: 我第一次在xampp localhost上安装magento,输入数据库详细信息并单击“继续”时发生错误,错误是:

There has been an error processing your request

Exception printing is disabled by default for security reasons.

Error log record number: 798243806

I checked in the phpmyadmin, there are 85 tables created in magento DB. 我检查了phpmyadmin,在magento DB中创建了85个表。

I also check in php.ini these lines 我也在这些行中检查php.ini

extension=php_mcrypt.dll
extension=php_curl.dll
extension=php_pdo_mysql.dll
extension=php_pdo.dll

They are also un commented in php.ini 他们也在php.ini中未评论

Edit: I also check this file var\\report\\798243806 here is the written that i don't understand 编辑:我也检查此文件var \\ report \\ 798243806这是我不理解的书面内容

a:5:{i:0;s:210:"Error in file: "D:\xampp\htdocs\magento\app\code\core\Mage\Catalog\sql\catalog_setup\install-1.6.0.0.php" - SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'catalog_product_entity' already exists";i:1;s:950:"#0 D:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\Resource\Setup.php(645): Mage::exception('Mage_Core', 'Error in file: ...')
#1 D:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\Resource\Setup.php(421): Mage_Core_Model_Resource_Setup->_modifyResourceDb('install', '', '1.6.0.0.19')
#2 D:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\Resource\Setup.php(327): Mage_Core_Model_Resource_Setup->_installResourceDb('1.6.0.0.19')
#3 D:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\Resource\Setup.php(235): Mage_Core_Model_Resource_Setup->applyUpdates()
#4 D:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\App.php(417): Mage_Core_Model_Resource_Setup::applyAllUpdates()
#5 D:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\App.php(343): Mage_Core_Model_App->_initModules()
#6 D:\xampp\htdocs\magento\app\Mage.php(684): Mage_Core_Model_App->run(Array)
#7 D:\xampp\htdocs\magento\index.php(87): Mage::run('', 'store')
#8 {main}";s:3:"url";s:9:"/magento/";s:11:"script_name";s:18:"/magento/index.php";s:4:"skin";s:7:"default";}

I don't know what is the issue. 我不知道是什么问题。 Please help me 请帮我

Or any other tutorial for installation. 或任何其他安装教程。

The error clearly states: 该错误明确指出:

Base table or view already exists: 1050 Table 'catalog_product_entity' already exists" 基本表或视图已存在:1050表'catalog_product_entity'已存在”

The install process is trying to create a table that is already created in the database. 安装过程正在尝试创建已在数据库中创建的表。

What you need to do is to drop the database underlying database and create a new one for your install so that all tables are removed. 您需要做的是删除数据库基础数据库,并为您的安装创建一个新数据库,以便删除所有表。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM