mrcdh 发表于 2017-1-12 23:04:45

CI使用万网空间上线后出现各种异常

在本地完全没有任何问题,甚至是直接使用的空间的数据库,,,,,但是一传到空间上,就会出现下面的异常,,百度有人说文件没有权限,,,但是我把空间的所有能开的配置全开了,,文件和文件夹得权限全部设置成了7777,但是一点用也没有还是出现下面的错误,,,,求大神解决。。。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

Michael锐生 发表于 2017-1-13 11:07:57

看起来是写session文件的地方路径无效或者没有权限

Hex 发表于 2017-1-13 14:09:01

服务器上的 PHP 是什么版本的?
页: [1]
查看完整版本: CI使用万网空间上线后出现各种异常