安装Magento - 文件错误

时间:2016-02-21 05:04:13

标签: php magento

我对Magento来说是全新的,我在使用WAMP在我的本地服务器上安装它时遇到了麻烦。这是我得到的错误:

Error in file: "C:\wamp\www\magentoempty\app\code\core\Mage\ImportExport\sql\importexport_setup\install-1.6.0.0.php" - SQLSTATE[HY000]: General error: 7 Error on rename of '.\magentoempty\#sql-598_ccd.frm' to '.\magentoempty\catalog_product_link_attribute_int.frm' (Errcode: 13 - Permission denied)

Trace:
#0 C:\wamp\www\magentoempty\app\code\core\Mage\Core\Model\Resource\Setup.php(644): Mage::exception('Mage_Core', 'Error in file: ...')
#1 C:\wamp\www\magentoempty\app\code\core\Mage\Core\Model\Resource\Setup.php(421): Mage_Core_Model_Resource_Setup->_modifyResourceDb('install', '', '1.6.0.2')
#2 C:\wamp\www\magentoempty\app\code\core\Mage\Core\Model\Resource\Setup.php(327): Mage_Core_Model_Resource_Setup->_installResourceDb('1.6.0.2')
#3 C:\wamp\www\magentoempty\app\code\core\Mage\Core\Model\Resource\Setup.php(235): Mage_Core_Model_Resource_Setup->applyUpdates()
#4 C:\wamp\www\magentoempty\app\code\core\Mage\Core\Model\App.php(428): Mage_Core_Model_Resource_Setup::applyAllUpdates()
#5 C:\wamp\www\magentoempty\app\code\core\Mage\Core\Model\App.php(354): Mage_Core_Model_App->_initModules()
#6 C:\wamp\www\magentoempty\app\Mage.php(684): Mage_Core_Model_App->run(Array)
#7 C:\wamp\www\magentoempty\index.php(83): Mage::run('', 'store')
#8 {main}

我在配置步骤中单击继续后出现此错误。我检查了数据库,并添加了326个空表。

然后当我刷新页面时,我收到一个新错误:

Error in file: "C:\wamp\www\magentoempty\app\code\core\Mage\ImportExport\sql\importexport_setup\install-1.6.0.0.php" - SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'importexport_importdata' already exists, query was: CREATE TABLE `importexport_importdata` (
  `id` int UNSIGNED NOT NULL auto_increment COMMENT 'Id' ,
  `entity` varchar(50) NOT NULL COMMENT 'Entity' ,
  `behavior` varchar(10) NOT NULL default 'append' COMMENT 'Behavior' ,
  `data` text NULL default '' COMMENT 'Data' ,
  PRIMARY KEY (`id`)
) COMMENT='Import Data Table' ENGINE=INNODB charset=utf8 COLLATE=utf8_general_ci

Trace:
#0 C:\wamp\www\magentoempty\app\code\core\Mage\Core\Model\Resource\Setup.php(644): Mage::exception('Mage_Core', 'Error in file: ...')
#1 C:\wamp\www\magentoempty\app\code\core\Mage\Core\Model\Resource\Setup.php(421): Mage_Core_Model_Resource_Setup->_modifyResourceDb('install', '', '1.6.0.2')
#2 C:\wamp\www\magentoempty\app\code\core\Mage\Core\Model\Resource\Setup.php(327): Mage_Core_Model_Resource_Setup->_installResourceDb('1.6.0.2')
#3 C:\wamp\www\magentoempty\app\code\core\Mage\Core\Model\Resource\Setup.php(235): Mage_Core_Model_Resource_Setup->applyUpdates()
#4 C:\wamp\www\magentoempty\app\code\core\Mage\Core\Model\App.php(428): Mage_Core_Model_Resource_Setup::applyAllUpdates()
#5 C:\wamp\www\magentoempty\app\code\core\Mage\Core\Model\App.php(354): Mage_Core_Model_App->_initModules()
#6 C:\wamp\www\magentoempty\app\Mage.php(684): Mage_Core_Model_App->run(Array)
#7 C:\wamp\www\magentoempty\index.php(83): Mage::run('', 'store')
#8 {main}

帮助!

0 个答案:

没有答案