Magento (麦进斗) 是一套专业开源的电子商务系统。Magento设计得非常灵活,具有模块化架构体系和丰富的功能。易于与第三方应用系统无缝集成。其面向企业级应用,可处理各方面的需求,以及建设一个多种用途和适用面的电子商务网站。 包括购物、航运、产品评论等等,充分利用开源的特性,提供代码库的开发,非常规范的标准,易于与第三方应用系统无缝集成。

准备一:

下载址:

 https://www.magentocommerce.com/products/downloads/magento/

下载内容:

1、安装包

Full Release ver 1.9.1.1  - Added May 1, 2015

2、示例数据库

Sample Data ver 1.9.1.0  - Added Dec 3, 2014

如图的第一和第三项:

准备二:

安装 xampps 1.9.0      ap+mysql环境一键安装包

测试可以正常启动,

步骤一:

导入示例数据库,

步骤二:

根据提示安装网站

步骤三,

出现的问题及故障排除

 -- :: e10 InnoDB: Recalculation of persistent statistics requested for table "magento"."catalog_product_option_type_title" but the required persistent statistics storage is not present or is corrupted. Using transient stats instead.
-- :: e10 InnoDB: Error: Table "mysql"."innodb_table_stats" not found.
-- :: InnoDB: Error: Fetch of persistent statistics requested for table "magento"."catalogrule_website" but the required system tables mysql.innodb_table_stats and mysql.innodb_index_stats are not present or have unexpected structure. Using transient stats instead.
-- :: InnoDB: Error: Table "mysql"."innodb_table_stats" not found.
-- :: InnoDB: Error: Table "mysql"."innodb_table_stats" not found.
-- :: InnoDB: Error: Table "mysql"."innodb_table_stats" not found.
-- :: InnoDB: Error: Fetch of persistent statistics requested for table "magento"."catalogrule_product_price" but the required system tables mysql.innodb_table_stats and mysql.innodb_index_stats are not present or have unexpected structure. Using transient stats instead.
-- :: InnoDB: Error: Table "mysql"."innodb_table_stats" not found.
-- :: InnoDB: Error: Table "mysql"."innodb_table_stats" not found.
-- :: 50f4 InnoDB: Recalculation of persistent statistics requested for table "magento"."eav_form_fieldset" but the required persistent statistics storage is not present or is corrupted. Using transient stats instead.
-- :: 50f4 InnoDB: Error: Table "mysql"."innodb_table_stats" not found.
-- :: 50f4 InnoDB: Recalculation of persistent statistics requested for table "magento"."eav_form_element" but the required persistent statistics storage is not present or is corrupted. Using transient stats instead.
-- :: 50f4 InnoDB: Error: Table "mysql"."innodb_table_stats" not found.
-- :: 50f4 InnoDB: Recalculation of persistent statistics requested for table "magento"."eav_entity_varchar" but the required persistent statistics storage is not present or is corrupted. Using transient stats instead.
-- :: 50f4 InnoDB: Error: Table "mysql"."innodb_table_stats" not found.
-- :: 50f4 InnoDB: Recalculation of persistent statistics requested for table "magento"."eav_entity_type" but the required persistent statistics storage is not present or is corrupted. Using transient stats instead.
-- :: 50f4 InnoDB: Error: Table "mysql"."innodb_table_stats" not found.
-- :: 50f4 InnoDB: Recalculation of persistent statistics requested for table "magento"."eav_entity_text" but the required persistent statistics storage is not present or is corrupted. Using transient stats instead.
-- :: 50f4 InnoDB: Error: Table "mysql"."innodb_table_stats" not found.
-- :: 50f4 InnoDB: Recalculation of persistent statistics requested for table "magento"."eav_entity_store" but the required persistent statistics storage is not present or is corrupted. Using transient stats instead.
-- :: 50f4 InnoDB: Error: Table "mysql"."innodb_table_stats" not found.
-- :: 50f4 InnoDB: Recalculation of persistent statistics requested for table "magento"."eav_entity_int" but the required persistent statistics storage is not present or is corrupted. Using transient stats instead.
-- :: 50f4 InnoDB: Error: Table "mysql"."innodb_table_stats" not found.
-- :: 50f4 InnoDB: Recalculation of persistent statistics requested for table "magento"."eav_entity_decimal" but the required persistent statistics storage is not present or is corrupted. Using transient stats instead.
-- :: 50f4 InnoDB: Error: Table "mysql"."innodb_table_stats" not found.
-- :: 50f4 InnoDB: Recalculation of persistent statistics requested for table "magento"."eav_entity_datetime" but the required persistent statistics storage is not present or is corrupted. Using transient stats instead.
-- :: 50f4 InnoDB: Error: Table "mysql"."innodb_table_stats" not found.
-- :: 50f4 InnoDB: Recalculation of persistent statistics requested for table "magento"."eav_entity_attribute" but the required persistent statistics storage is not present or is corrupted. Using transient stats instead.
-- :: 50f4 InnoDB: Error: Table "mysql"."innodb_table_stats" not found.
-- :: 50f4 InnoDB: Recalculation of persistent statistics requested for table "magento"."eav_entity" but the required persistent statistics storage is not present or is corrupted. Using transient stats instead.
-- :: 50f4 InnoDB: Error: Table "mysql"."innodb_table_stats" not found.
-- :: 50f4 InnoDB: Recalculation of persistent statistics requested for table "magento"."eav_attribute_set" but the required persistent statistics storage is not present or is corrupted. Using transient stats instead.
-- :: 50f4 InnoDB: Error: Table "mysql"."innodb_table_stats" not found.
-- :: InnoDB: Error: Table "mysql"."innodb_table_stats" not found.
-- :: 50f4 InnoDB: Recalculation of persistent statistics requested for table "magento"."eav_attribute_option_value" but the required persistent statistics storage is not present or is corrupted. Using transient stats instead.
-- :: 50f4 InnoDB: Error: Table "mysql"."innodb_table_stats" not found.
-- :: 50f4 InnoDB: Recalculation of persistent statistics requested for table "magento"."eav_attribute_option" but the required persistent statistics storage is not present or is corrupted. Using transient stats instead.
-- :: 50f4 InnoDB: Error: Table "mysql"."innodb_table_stats" not found.
-- :: 50f4 InnoDB: Recalculation of persistent statistics requested for table "magento"."eav_attribute_label" but the required persistent statistics storage is not present or is corrupted. Using transient stats instead.
-- :: 50f4 InnoDB: Error: Table "mysql"."innodb_table_stats" not found.

数据表错误代码

由于是将低版本的MySQL datadir目录直接拷贝到5.6.21-enterprise-commercial-advanced-log的,低版本的mysql这个schema中并没有innodb_table_stats,innodb_index_stats这些表。所以登录到mysql这个schema中手工创建这些表后,重启mysql即可。

纠正方法

 CREATE TABLE `innodb_table_stats` (    `database_name` varchar(64) COLLATE utf8_bin NOT NULL,    `table_name` varchar(64) COLLATE utf8_bin NOT NULL,    `last_update` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,    `n_rows` bigint(20) unsigned NOT NULL,    `clustered_index_size` bigint(20) unsigned NOT NULL,    `sum_of_other_index_sizes` bigint(20) unsigned NOT NULL,    PRIMARY KEY (`database_name`,`table_name`)  ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin STATS_PERSISTENT=0;

 CREATE TABLE `innodb_index_stats` (    `database_name` varchar(64) COLLATE utf8_bin NOT NULL,    `table_name` varchar(64) COLLATE utf8_bin NOT NULL,    `index_name` varchar(64) COLLATE utf8_bin NOT NULL,    `last_update` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,    `stat_name` varchar(64) COLLATE utf8_bin NOT NULL,    `stat_value` bigint(20) unsigned NOT NULL,    `sample_size` bigint(20) unsigned DEFAULT NULL,    `stat_description` varchar(1024) COLLATE utf8_bin NOT NULL,    PRIMARY KEY (`database_name`,`table_name`,`index_name`,`stat_name`)  ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin STATS_PERSISTENT=0;

创建表 innodb_table_stats

Magento安装时数据库不支持InnoDB存储引擎问题的解决

找到文件app/code/core/Mage/Install/Model/Installer/Db/Mysql4.php的第59行:

 public function supportEngine()
{
$variables = $this->_getConnection()
->fetchPairs('SHOW VARIABLES');
return (!isset($variables['have_innodb']) || $variables['have_innodb'] != 'YES') ? false : true;
}

替换后的代码:

 public function supportEngine()
{
$variables = $this->_getConnection()
->fetchPairs('SHOW ENGINES');
return (isset($variables['InnoDB']) && $variables['InnoDB'] != 'NO');
}

导入数据库出现的错误:

Fatal error: Maximum execution time of 300 seconds exceeded in D:\xampps\phpmyadmin\libraries\dbi\DBIMysqli.class.php on line 258

【错误原因】:mysql_query执行超时.

【解决办法】:修改php.ini中的 max_execution_time的值,默认为300,单位是秒,例如:

max_execution_time = 300   (如果前面有 “;” 号,则去掉)

将其改为:

max_execution_time = 3000

最后,重新启动服务管理器即可

如果重新安装:

删除这个文件

D:\xampps\htdocs\magento12\app\etc\local.xml

说明出现了错误,请根据"Error record
number:xxxxxxxxx"的数字在网站根目录下的var/report中找到对应的报告并打开,里面有具体的问题。

There has been an error processing your request

Exception printing is disabled by default for security reasons.

Error log record number: 573621623

D:\xampps\htdocs\magento12\var\report

 a::{i:;s::"Error in file: "D:\xampps\htdocs\magento12\app\code\core\Enterprise\WebsiteRestriction\data\enterprise_websiterestriction_setup\data-install-1.11.0.0.php" - A page URL key for specified store already exists.";i:;s::"#0 D:\xampps\htdocs\magento12\app\code\core\Mage\Core\Model\Resource\Setup.php(645): Mage::exception('Mage_Core', 'Error in file: ...')
# D:\xampps\htdocs\magento12\app\code\core\Mage\Core\Model\Resource\Setup.php(): Mage_Core_Model_Resource_Setup->_modifyResourceDb('data-install', '', '1.11.0.0.1')
# D:\xampps\htdocs\magento12\app\code\core\Mage\Core\Model\Resource\Setup.php(): Mage_Core_Model_Resource_Setup->_installData('1.11.0.0.1')
# D:\xampps\htdocs\magento12\app\code\core\Mage\Core\Model\Resource\Setup.php(): Mage_Core_Model_Resource_Setup->applyDataUpdates()
# D:\xampps\htdocs\magento12\app\code\core\Mage\Core\Model\App.php(): Mage_Core_Model_Resource_Setup::applyAllDataUpdates()
# D:\xampps\htdocs\magento12\app\Mage.php(): Mage_Core_Model_App->run(Array)
# D:\xampps\htdocs\magento12\index.php(): Mage::run('', 'store')
# {main}";s:3:"url";s:46:"/magento12/index.php/install/wizard/installDb/";s:11:"script_name";s:20:"/magento12/index.php";s:4:"skin";s:7:"default";}

功能  

1.强大的商品属性组合

Magento强大的商品属性系统能够支持任意商品类型。无论您是销售服装,电器还是家具,Magento都能完美支持商品的所有属性,并且能够灵活的修改和管理。

2.购物车价格规则

Magento的购物车价格规则不同于传统的优惠券功能。完整的逻辑关系处理能够创建出任意的优惠方式,让您在制定促销方案时游刃有余。

3.灵活的模板系统

Magento灵活的模板系统可以让您做到模板一键切换。弹指之间,更改网站所有页面的风格,包括Email营销邮件样式。再也不必为更改页面风格而烦恼。

4.多网店系统

假如您拥有多个品牌,或者多家网店。 Magento的多店系统可以让您配置多个网店,多个域名,但使用统一的管理控制台,节约您管理的时间和成本。

5.完善的插件体系

Magento的插件系统可以灵活的为系统增减功能。您不必修改已有的代码,只需要安装相应功能的插件就能实现。极大的缩减了新增功能的复杂开发成本。在Magento1.3、Magento1.4还有Magento1.5版本之间有很大区别并不是所有的都能兼容。

6.安全加密

电子商务系统的数据是企业的商业机密。 Magento支持SSL加密传输前台和后台数据并且支持后台权限的分级控制,确保您的数据万无一失。

7.企业应用集成

Magento的WebService开放API系统能够和您企业的其他系统进行无缝集成。不论是ERP还是CRM,Magento都能保证数据的同步和准确,使您企业应用的效率最大化。   特色

1.容易整合

Magento 让整合第三方厂商解决方案变得更加容易,透过Magento 建立客制化网站可以节省您很多的时间与资源。

2.新颖的功能

像是产品标签、多送货地址或产品比较系统等功能,您不需要支付额外的费用来取得,在现成的Magento系统中,您可以发现更多。

3.专业与社群支援

不像是其他的开放原始码解决方案,Magento 提供专业、可信赖的支援,您也可以从热情的社群中取得协助,国内也有Magento的爱好者创建中文社区。

4.完整的扩充性

无论网站经过了一夜或是一年的成长,您不需要担心选择的方案无法应付,Magento 提供了完整的扩充性

功能

市场营销工具 *私人(俱乐部)销售,包括活动,邀请,分类访问权限

*灵活的优惠券(价格规则),可限制店铺、客户组、时间段、商品和分类。例如,百分比折扣|固定金额折扣|免运费|买一送一|买一件,第二件可以获得百分比或固定金额的折扣|购买指定商品可以全单免运费|购买指定商品可以获得百分比折扣|购买指定商品可以获得固定金额的折扣

*可设置按百分比或固定金额的目录促销价格适用于某些店铺、分类和商品

*免运费选项

*按购买数量分层定制价格折扣

*捆绑商品

*特定客户组价格和特定客户组分层价格

*用于促销的目标页面工具

*搜索引擎友好的URL

*URL 重写

*浏览过的商品

*把多个商品加入比较

*新商品促销工具

*商品页面的推荐销售

*购物车里的交叉销售

*发送给好友可设为对所有访客或仅对注册用户开放

*通过电子邮件或RSS 发送收藏夹给好友

*新商品、新促销和新标签的RSS 源

*自动生成网站地图

*Google 网站地图

*投票调查

*新闻电邮管理

分析与报告 *登录进行管理员操作

*整合Google 分析

*报告概览的管理面板

*销售报告

*新订单的RSS 源

*税费报告

*被放弃的购物车报告

*访问最多的商品报告

*订购最多的商品报告

*低库存报告

*搜索关键词报告

*商品评论报告

*新评论的RSS 源

*标签报告

*新标签的RSS 源

*优惠券使用报告

*开具发票的销售总额

*销售退款总额

*根据订单总金额和订单数目来排行的最

*佳客户报告

搜索引擎优化 *100%搜索引擎友好

*Google 网站地图

*URL 重写以全面掌控URL

*商品与分类的元数据

*自动生成展示在站点的网站地图

*自动生成热门搜索关键词页面

站点管理 内容拆分与合并。支持按需和按计划来合并和内容回滚。

多个网站和店铺统一后台管理,可以根

据需要共享资料

多语言选择

支持本地化

支持多种货币

用户角色权限的管理系统

Web 服务API 使得Magento 和第三方软件之间更容易整合

灵活的税率管理适用于美国和国际市场

使用模版100% 定制设计

客户群

一键式升级

静态页面内容管理系统

整合Google 网站优化工具进行A/B 测试盒多元化测试

magento 12 配置安装教程的更多相关文章

  1. Ubuntu 12.04安装教程详细步骤(图解)

    1.选择你所想要的语言,如图. 2.选择安装Ubuntu(I). 3.进入Ubuntu安装等待 4.设置处理器信息 5.同意选择的语言 6.配置键盘信息 7.键盘布局选择汉语 8.配置键盘选择汉语 9 ...

  2. CDH-5.12.2安装教程

    CDH是Cloudera公司提供的Hadoop发行版,它在原生开源的Apache Hadoop基础之上,针对特定版本的Hadoop以及Hadoop相关的软件,如Zookeeper.HBase.Flum ...

  3. VsCode Python配置安装教程

    1.软件下载地址 Python官网: https://www.python.org/downloads/windows/ Python下载地址: https://www.python.org/ftp/ ...

  4. LoadRunner 12.02 安装教程及中文语言包安装

    注意事项: 安装前,把所有的杀毒软件和防火墙关闭. 若以前安装过LoadRunner,则将其卸载. 安装路径不要带中文字符. LoadRunner 12已经不再支持xp系统,仅支持win7和win8系 ...

  5. mysql安装简单教程(自动安装/配置安装)

    mysql安装简单教程(自动安装/配置安装) 1.1前言: 由于特殊原因,在最近2-3个月里mysql真是安装了无数遍,每次安装都要上网找教程,每个教程基本都不一样,因此还是自己写下来比较好,毕竟自己 ...

  6. Magento 多站点多域名安装教程(可以设置手机模版哟,亲 \(^o^)/)

    这篇文章是安装magento子域名的教程,请先进行安装之前,确认以下几点: 1.请先确认子域名是否已经指向你的服务器 2.可以编辑.htaccess文件 3. 熟悉Cpanel操作 我们的目标是建立一 ...

  7. 转载:Hadoop安装教程_单机/伪分布式配置_Hadoop2.6.0/Ubuntu14.04

    原文 http://www.powerxing.com/install-hadoop/ 当开始着手实践 Hadoop 时,安装 Hadoop 往往会成为新手的一道门槛.尽管安装其实很简单,书上有写到, ...

  8. Apache Tomcat下载、安装、配置图文教程

    本文已迁移到我的个人网站 http://www.wshunli.com 文章地址: http://www.wshunli.com/2016/03/19/Tomcat安装配置/ (整理截图.安装过程更加 ...

  9. Hadoop安装教程_单机/伪分布式配置_Hadoop2.6.0/Ubuntu14.04

    摘自: http://www.cnblogs.com/kinglau/p/3796164.html http://www.powerxing.com/install-hadoop/ 当开始着手实践 H ...

随机推荐

  1. openwrt 控制gpio口的方法

    利用i2c来控制gpio口 1.编译驱动或者安装驱动 # opkg update # opkg install kmod-i2c-gpio-custom kmod-i2c-core# 加载驱动 # i ...

  2. springMVC接收参数 xml/json

    springMVC参数接收 作为web层框架,可以接受复杂的类型,且很简单 1.接收字符串可以直接写参数类型,参数名称,跟前端传过来的name值一样即可 如果不一样也可以,通过@RequestPara ...

  3. libevent的作用或者说是有哪些功能

    1. 介绍 libevent是一个用来开发可扩展的网络服务器的事件通知函数库.当一个文件描述符上的特定事件发生或是一个超时时间到达后,libevent API提供一种执行回调函数的机制.而且,libe ...

  4. HTML中的ul, ol,li , dl,dt, dd标签

    ul: unordered lists ol: ordered lists li: Lists ol 有序列表. <ol><li>……</li><li> ...

  5. 使用JDBC连接数据库的一些BUG

    题记:前几天用JDBC连接MYSQL数据库的时候,出现了一些BUG,有代码层次的,也有设置层次的, 下面的解决方法时我目前所遇到的,后期如果还有遇到的会进行补充. 一.出现:远程mysql_java. ...

  6. 简单机器学习人脸识别工具face-recognition python小试,一行代码实现人脸识别

    摘要: 1行代码实现人脸识别,1. 首先你需要提供一个文件夹,里面是所有你希望系统认识的人的图片.其中每个人一张图片,图片以人的名字命名.2. 接下来,你需要准备另一个文件夹,里面是你要识别的图片.3 ...

  7. React Native 系列(九)

    前言 本系列是基于React Native版本号0.44.3写的.很多的App都使用了Tab标签组件,例如QQ,微信等等,就是切换不同的选项,显示不同的内容.那么这篇文章将介绍RN中的Tab标签组件. ...

  8. 正则表达式 \ 和 原生字符串 r

    使用python写字符串常量时,raw string是个很好用的东东,比如在C里我要写一个Windows下的路径,得这么写: char *path = "C:\\mydir\\myfile. ...

  9. Unity创建asset文件的扩展编辑器

    using UnityEngine; using UnityEditor; using System.IO; public class CreateAsset : EditorWindow { pri ...

  10. Android 新浪博客分享问题总结

     分类: android(33)  版权声明:本文为博主原创文章,未经博主允许不得转载.   目录(?)[-] 我遇到BUG 1    sso package or singn error Bug2 ...