codeIgniter安装失败
本帖最后由 上校门卫 于 2014-1-1 21:37 编辑我是新手,
刚安装就失败了:
如下:
Warning:require(application/config/constants.php) : failed to open stream: No such file or directory in E:\apache_php_mysql\Apache Software Foundation\Apache2.2\htdocs\CodeIgniter\system\core\CodeIgniter.php on line 64
Fatal error:require() : Failed opening required 'application/config/constants.php' (include_path='.E:\apache_php_mysql\jpgraph') in E:\apache_php_mysql\Apache Software Foundation\Apache2.2\htdocs\CodeIgniter\system\core\CodeIgniter.php on line 64
麻烦各位了
文件及文件夹结构是这样子的
http://codeigniter.org.cn/forums/data/attachment/album/201401/01/210645ar1z4bqy6qoqhp6r.png
如果文件结构改为这样:
http://codeigniter.org.cn/forums/data/attachment/album/201401/01/213527ywdb8h1ubaawz4aw.png
则出现这样的错误:
Your system folder path does not appear to be set correctly. Please open the following file and correct this: index.php
我在config.php文件中已经改为:
$config['base_url'] = 'http://127.0.0.1/myobject/';
把 $config['base_url'] = 'http://127.0.0.1/myobject/' 改为 $config['base_url'] = ''。如何你使用的是最新版codeigniter,系统自己算出的base_url 会是 http://127.0.0.1/CodeIgniter gbwaini2009 发表于 2014-1-1 22:49 static/image/common/back.gif
把 $config['base_url'] = 'http://127.0.0.1/myobject/' 改为 $config['base_url'] = ''。如何你使 ...
我在github中下载的就没有问题了,谢谢了
页:
[1]