Store Manager for Magento安装配置

上一篇文章我讲了,Magento助手(Store Manager for Magento)的基本情况,如果你没有看,先去看下吧,地址:http://www.hellokeykey.com/store-manager-for-magento/

今天我们来看下Magento助手如何安装。首先去官网下载安装下载Magento助手(http://www.mag-manager.com/),像其它软件一样,将其安装好。

 

我们看下如何初始化Magento助手到我们Magento商店的链接。打开我们的Magento助手软件,点击左上角的Logo,如下图中1处,选择preference,弹出如下对话框。

Store Manager for Magento设置新的连接
Store Manager for Magento设置新的连接

此对话框为新建一个Magento商店连接的页面,就像我们使用filezilla新建一个FTP账户,此配置可以保存,以便我们下次使用。我们点击图中的2“actions”按钮,在下拉菜单中选择第一个,新建一个商店的连接配置,就是为你的当前设置取一个名字,我取名为“one”。下次再需要连接我只需要选择“one”即可。

设置好新连接的名字下面就是选择连接的方式。Magento助手与我们的Magento商店连接有两种方式,第一种是直接连接我们Magento的数据库,第二种是通过在Magento网站根目录放置一个PHP文件,然后通过此文件与Magento商店连接。

如上如果选择了第一种,你要确定你的Magento商店的数据库是否支持远程连接,如果你不知道可以问服务器管理员或者客服。我印象中,一般的空间都不会支持远程连接数据库。如果支持,就填写数据库服务器地址,数据库用户名,密码,数据库名字。填写结束后,点击4,测试连接是否正确(本文来自:www.hellokeykey.com)。这样一个Magento助手通过连接你的Magento数据库,点击次对话框下面的接受和确认按钮,这个配置初始化连接就结束了。

如果选择了第二种连接方式,Magento助手将通过一个PHP文件间接的连接你的Magneto商店。此PHP文件在Magento助手软件安装文件中可以找到,打开你的Magento助手安装文件夹,在我电脑的路径为:D:\Program Files\MagneticOne\Store Manager for Magento\Service\bridge.php,此文件重要片段如下

// Please change immediately
// it is security threat to leave these values as is!
$username = "a";
$password = "b";

// Please create this directory or change to any existing temporary directory
// temporary directory should be writable by php script (chmod 0777)
$temporary_dir = "./tmp"; // on some systems if you get output with 0 size, try to use some local temporary folder

// Please enter your email address here to receive notifications
//$user_email = 'YOUR@EMAIL-HERE.com';

此文件中有用户名,密码的设置,也有缓存文件夹的路径设置。此句 $temporary_dir = “./tmp”; 为缓存文件tmp路径,需要在Magento商店的根目录新建文件夹tmp,设置权限为765。对应Magento助手的如下内容,Bridge URL为此文件的访问路径,放在根文件夹,路径为 http://www.域名.com/bridge.php形式。login为bridge.php中的$username = “a”; $password = “b”; 为了安全考虑此处你要修改默认的用户名和密码,我简单设置为a和b。bridge.php也可以重名名为其它名字,这样就更加的安全了。

Store Manager for Magento设置新的连接
Store Manager for Magento设置新的连接

设置好后,点击上图1查看,你的bridge.php文件配置与缓存文件tmp文件夹是否设置正确,是否文件权限正确,以及是否可以连接数据库,对数据库进行操作。点击上图2查看我们的Magento助手是否与Magento商店连接正确。这些都没有问题后,可以点击下下面的接受保存设置,点击确定打开此连接配置。

转载表明出处:www.hellokeykey.com

《Store Manager for Magento安装配置》有17个想法

  1. 钥匙你好,我在网上下载了一个magento免费模板,首页的banner不知道怎么修改,有时间能帮我看下吗,谢谢

  2. 对了key,我记得国内有家视频网站可以传高清视频而且传上去也不会二次压缩,忘记名字了,回头发给你。

    1. 如果一样,也没有表明出处,那一定是抄的我的。给我地址,我google申请,删除它们的收录地址。

  3. 钥匙兄,我安装了extension :simple banner ,安装成功后 后台就打不开了 提示:Fatal error: Class ‘Mage_Banners_Helper_Data’ not found in /home6/dresses2/public_html/app/Mage.php on line 520

    求助急….

  4. 为缓存文件tmp路径,需要在Magento商店的根目录新建文件夹tmp,设置权限为765
    这一句我看不懂。我在产品分类里面设置了一个根目录”tmp”,可我不知道“设置权限” 在哪个位置

  5. Database Permissions Check
    Create Table Fail Error details: “1 PHP MySQL Bridge: Please create local Temporary Directory, see $temporary_dir variable in bridge.php
    Click here to run Self Test or Click here for help ”
    Insert Data Row Fail Error details: “1 PHP MySQL Bridge: Please create local Temporary Directory, see $temporary_dir variable in bridge.php
    Click here to run Self Test or Click here for help ”
    Update Data Row Fail Error details: “1 PHP MySQL Bridge: Please create local Temporary Directory, see $temporary_dir variable in bridge.php
    Click here to run Self Test or Click here for help ”
    Delete Data Row Fail Error details: “1 PHP MySQL Bridge: Please create local Temporary Directory, see $temporary_dir variable in bridge.php
    Click here to run Self Test or Click here for help ”
    Drop Table Fail Error details: “1 PHP MySQL Bridge: Please create local Temporary Directory, see $temporary_dir variable in bridge.php
    Click here to run Self Test or Click here for help ”
    这个什么情况?

评论已关闭。