用户
 找回密码
 入住 CI 中国社区
搜索
查看: 3202|回复: 4
收起左侧

[已解决] 在本地可以运行,传到虚拟主机上就不行!

[复制链接]
发表于 2012-2-3 13:03:55 | 显示全部楼层 |阅读模式
Your system folder path does not appear to be set correctly. Please open the following file and correct this: index.php
发表于 2012-2-3 13:54:32 | 显示全部楼层
你看看 index.php 里 system_path 的路径是否正确,这个和本地可能是不一样的。
 楼主| 发表于 2012-2-3 22:04:03 | 显示全部楼层
{:soso_e181:}解决了
发表于 2012-5-29 08:53:17 | 显示全部楼层
这个问题是如何解决的啊,望楼主贴出来啊,我现在也有这个问题了
发表于 2012-5-29 10:15:37 | 显示全部楼层
找到解决方法了,大家可以参考一下,直接修改index.php文件里面的这段代码
原始代码:
$system_path = "system";
修改为:$system_path = dirname(__FILE__)."/system";

原始代码:$application_folder = "application";

修改为:$application_folder = dirname(__FILE__)."/application";

其他修改同上面!

本版积分规则