我想运行我的X-购物车网站在我自己的本地Wampserver,如果更新的X-购物车服务器是否破坏了网站。X-购物车版本为4.2.2.
当我在localhost上运行它时,在主要内容之前会收到以下错误:
( ! ) Deprecated: Function set_magic_quotes_runtime() is deprecated in C:\wamp\www\hilla\prepare.php on line 52
Call Stack
# Time Memory Function Location
1 0.0362 380720 {main}( ) ..\home.php:0
2 0.0497 392656 require( 'C:\wamp\www\hilla\auth.php' ) ..\home.php:38
3 0.0713 399144 require( 'C:\wamp\www\hilla\preauth.php' ) ..\auth.php:45
4 0.0899 650648 include_once( 'C:\wamp\www\hilla\init.php' ) ..\preauth.php:51
5 0.0957 878200 require_once( 'C:\wamp\www\hilla\prepare.php' ) ..\init.php:41
Error: Smarty error: [in customer/home.tpl line 18]: syntax error: unrecognized tag 'var' (Smarty_Compiler.class.php, line 590) in C:\wamp\www\hilla\include\lib\smarty\Smarty.class.php on line 1092本地WampServer的Apache : 2.2.17,PHP : 5.3.5。
这是否意味着set_magic_quotes_runtime()不适用于PHPV5.3.5或更高版本?
发布于 2011-04-09 10:34:54
这意味着函数被取消了,所以在PHP5.3中,她被包括在内,但在PHP6中却没有。
问题是,当您禁用php.ini中的取消消息时,警告会产生一个输出,系统应该可以工作。
https://serverfault.com/questions/257677
复制相似问题