`
MMSCAU
  • 浏览: 114375 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

MachForm安装

阅读更多

参照:

http://www.appnitro.com/machform/installation

 

原文:

第一步

The MachForm installer will not create your database. This must be done prior to moving on to the installer. Make sure to write down the database name, username, password, and database host (often localhost) for the database.

Make sure the database user has the proper permissions to create tables within the database.

 

建一个数据库 create database machform;

 

第二步

修改

config-empty.php

 

/** MySQL settings **/
define('DB_NAME', 'YOUR_DB_NAME'); //The name of your database. Note that this database must exist before running installer.php
define('DB_USER', 'YOUR_DB_USER'); //Your database username
define('DB_PASSWORD', 'YOUR_DB_PASSWORD'); //Your database users password
define('DB_HOST', 'localhost'); //The hostname for your database
   
/** Admin user and password **/
define('ADMIN_USER','admin');
define('ADMIN_PASSWORD','admin');

 

修改之后如下:比如是...

define('DB_NAME', 'machform'); //The name of your database. Note that this database must exist before running installer.php
define('DB_USER', 'root'); //Your database username
define('DB_PASSWORD', 'root'); //Your database users password
define('DB_HOST', 'localhost'); //The hostname for your database

define('ADMIN_USER','您的用户名');
define('ADMIN_PASSWORD','您的密码');

 

 

 

之后出现过问题:将line 46 的&去掉,再运行即可

 

Deprecated: Assigning the return value of new by reference is deprecated in C:\Program Files\EasyPHP-5.3.5.0\www\machform\edit_form.php on line 46

 

 

 

 

 

  • 大小: 40.7 KB
  • 大小: 69.9 KB
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics