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

[版本 3.x] CI万网上线后出现问题

[复制链接]
发表于 2017-1-12 23:06:49 | 显示全部楼层 |阅读模式
20CI币
在本地完全没有任何问题,甚至是直接使用的空间的数据库,,,,,但是一传到空间上,就会出现下面的异常,,百度有人说文件没有权限,,,但是我把空间的所有能开的配置全开了,,文件和文件夹得权限全部设置成了7777,但是一点用也没有还是出现下面的错误,,,,求大神解决。。。
PHP复制代码
[/indent][indent]An uncaught Exception was encountered
 
Type: RuntimeException
 
Message: Unable to locate the model you have specified: Article_model
 
Filename: /data/home/bxu2359350301/htdocs/system/core/Loader.php
 
Line Number: 344
 
Backtrace:
 
File: /data/home/bxu2359350301/htdocs/application/controllers/Welcome.php
Line: 8
Function: model
 
File: /data/home/bxu2359350301/htdocs/index.php
Line: 315
Function: require_once
 
A PHP Error was encountered
 
Severity: Warning
 
Message: mkdir(): Invalid path
 
Filename: drivers/Session_files_driver.php
 
Line Number: 136
 
Backtrace:
 
File: /data/home/bxu2359350301/htdocs/application/controllers/bk/Login.php
Line: 5
Function: library
 
File: /data/home/bxu2359350301/htdocs/index.php
Line: 315
Function: require_once
 
An uncaught Exception was encountered
 
Type: Exception
 
Message: Session: Configured save path '' is not a directory, doesn't exist or cannot be created.
 
Filename: /data/home/bxu2359350301/htdocs/system/libraries/Session/drivers/Session_files_driver.php
 
Line Number: 138
 
Backtrace:
 
File: /data/home/bxu2359350301/htdocs/application/controllers/bk/Login.php
Line: 5
Function: library
 
File: /data/home/bxu2359350301/htdocs/index.php
Line: 315
Function: require_once
复制代码

发表于 2017-1-13 14:09:43 | 显示全部楼层
PHP 版本是什么?
回复

使用道具 举报

发表于 2017-1-13 22:07:00 | 显示全部楼层
是 apache  还是 nginx 建议选择的时候选择 apache 的空间~~
回复

使用道具 举报

发表于 2017-1-14 16:14:35 | 显示全部楼层
本帖最后由 iamrwong 于 2017-1-14 16:19 编辑

session目录有问题。在万网控制台有个设置(高级环境设置--php.ini设置) 。或者把ci的session改为数据库方式。
回复

使用道具 举报

本版积分规则