【问题标题】:codeigniter 3.1 upgradation showing error The configuration file url.php does not existcodeigniter 3.1升级显示错误配置文件url.php不存在
【发布时间】:2017-05-14 20:15:31
【问题描述】:

codeigniter 3.1 升级显示错误配置文件 url.php 不存在。而日志文件未显示确切错误。这是日志详细信息

INFO - 2017-05-14 22:11:57 --> Config Class Initialized
INFO - 2017-05-14 22:11:57 --> Hooks Class Initialized
DEBUG - 2017-05-14 22:11:57 --> UTF-8 Support Enabled
INFO - 2017-05-14 22:11:57 --> Utf8 Class Initialized
INFO - 2017-05-14 22:11:57 --> URI Class Initialized
DEBUG - 2017-05-14 22:11:57 --> No URI present. Default controller set.
INFO - 2017-05-14 22:11:57 --> Router Class Initialized
INFO - 2017-05-14 22:11:57 --> Output Class Initialized
INFO - 2017-05-14 22:11:57 --> Security Class Initialized
DEBUG - 2017-05-14 22:11:57 --> Global POST, GET and COOKIE data sanitized
INFO - 2017-05-14 22:11:57 --> CSRF cookie sent
INFO - 2017-05-14 22:11:57 --> Input Class Initialized
INFO - 2017-05-14 22:11:57 --> Language Class Initialized
INFO - 2017-05-14 22:11:57 --> Loader Class Initialized

【问题讨论】:

  • CodeIgniter 没有或不需要这样的配置文件;您的库/扩展之一正在触发错误。

标签: php codeigniter


【解决方案1】:

转到config/autoload.php

在帮助部分输入此代码

$autoload['helper'] = array('url','form');

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-06-19
    • 1970-01-01
    • 2012-04-25
    • 2022-01-10
    • 1970-01-01
    相关资源
    最近更新 更多