错误1、如果提示 rfdkp is already installed - remove the install.php file in this directory.
解答1、把文件夹里的config.php文件里的代码清空即可。
错误2、如果出现错误提示 Deprecated: Function set_magic_quotes_runtime() is deprecated
查了一下网络及资料发现是PHP5.3之后移除了set_magic_quotes_runtime()函数。
解答2:在install.php里注释掉set_magic_quotes_runtime,加上一行ini_set见下
//@set_magic_quotes_runtime(0);
ini_set("magic_quotes_runtime",0);
就是用ini_set()办法替代原有的set_magic_quotes_runtime语法。
原文地址 http://www.ljf.cn/archives/339.aspx
错误3、如果出现错误提示 Message: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=InnoDB' at line 1 Code: 1064
查了一下网络及资料发现是mysql5.5之后不支持使用'Type=InnoDB' 这种语法。
The older TYPE option was synonymous with ENGINE. TYPE was deprecated in MySQL 4.0 and removed in MySQL 5.5. When upgrading to MySQL 5.5 or later, you must convert existing applications that rely on TYPE to use ENGINE instead.
解答3:在以下两个文件中把 Type=InnoDB 替换为 ENGINE=InnoDB
\rfdkp\dbal\structure\mysql_structure.sql
\rfdkp\admin\fix_negative.php
原文地址 http://www.heidisql.com/forum.php?t=8761
错误5、如果出现错误提示 Deprecated: Assigning the return value of new by reference is deprecated in
查了一下网络及资料发现是php5.3以后,会出现上述错误提示。这是因为php5.3以后,不能使用”=&”符号,可以直接用”=”引用就可以了。
解答5、
A、 把php的版本降级到5.3以下,但后退的不是明智的选择。
B、 对程序中”=&”符号全部用”=” 代替。