我提个纯新手的问题,请大家帮忙!
我准备用CI,在根目录下,直接把CI复制过去,调用 http://localhost/ci/
就出现错误。难道要先设置相关的参数吗?请大家帮忙!
错误如下:
Deprecated: Assigning the return value of new by reference is deprecated in D:\Program Files\xampp\htdocs\ci\system\codeigniter\Common.php on line 130
Deprecated: Assigning the return value of new by reference is deprecated in D:\Program Files\xampp\htdocs\ci\system\codeigniter\Common.php on line 136
A PHP Error was encounteredSeverity: 8192
Message: Function set_magic_quotes_runtime() is deprecated
Filename: codeigniter/CodeIgniter.php
Line Number: 60
A PHP Error was encounteredSeverity: 8192
Message: Assigning the return value of new by reference is deprecated
Filename: libraries/Loader.php
Line Number: 255
Welcome to CodeIgniter!The page you are looking at is being generated dynamically by CodeIgniter.
If you would like to edit this page you'll find it located at:
system/application/views/welcome_message.php
The corresponding controller for this page is found at:
system/application/controllers/welcome.php
If you are exploring CodeIgniter for the very first time, you should start by reading the User Guide.
Page rendered in 0.0536 seconds CI 1.7.1 不支持 PHP 5.3
请等待 1.7.2 哦哦,原来这个问题。
Thanks! 还好,我用的是PHP 5.26 万分感谢这个帖子,我弄了一晚上,开始一直以为是自己的环境问题,排除一切可能发生的问题,最后想了下是不是CI的,最后发现THIS,开心了! 把index.php页里的
error_reporting(E_ALL)=>error_reporting(0); :( 我竟然从google走到这里来了~~
刚刚升级到5.3.0的人飘过
人间悲剧。。。。。。
页:
[1]