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

[版本 3.x] CI使用万网空间上线后出现各种异常

[复制链接]
发表于 2017-1-12 23:04:45 | 显示全部楼层 |阅读模式
在本地完全没有任何问题,甚至是直接使用的空间的数据库,,,,,但是一传到空间上,就会出现下面的异常,,百度有人说文件没有权限,,,但是我把空间的所有能开的配置全开了,,文件和文件夹得权限全部设置成了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 11:07:57 | 显示全部楼层
看起来是写session文件的地方路径无效或者没有权限
发表于 2017-1-13 14:09:01 | 显示全部楼层
服务器上的 PHP 是什么版本的?

本版积分规则