今天将自己做的项目提到服务器上,本来信心满满的等着跑流程测试,结果配好路径后,一直报错:
顿时懵逼。。。于是开始了排查过程
1、首先想到的是文件权限的问题,结果查看目录都是755, 文件都是644,不可能只有这个文件加载不到,故排除
2、再者想到是否是加载名字的大小写问题,查看autoload.php,为:
$autoload['helper'] = array('Other');
接着看文件名 Other_helper.php,统一,故排除
3、最后注意到报错提示是 helpes/other_helper.php, 难道是小写的?于是mv改名,再看,报错排除!!!
反思:
1、报错提示比较明显,要仔细看报错
2、为什么我定义的是大写,而会加载小写的?
追踪:
1、查看CI_Controller.php
因为我用的是autoload,故接着查看Loader.php
2、
3、
因为是helper问题,故
4、
通过_ci_prep_filename生成文件名,故
5、
找到原因!!!
end

转载于:https://www.cnblogs.com/small-pig/p/6275372.html

排查 CI Unable to load the requested file相关推荐

  1. error: Unable to load contents of file list: '/Users/.../Products/Debug-appletvos/myapp.app/Info....

    Error: Build system information error: Unable to load contents of file list: '/Users/-/Products/Debu ...

  2. 解决PowerBuilder错误:unable to load the requested database interface please

    点击红色框提示:unable to load the requested database interface please make sue both the interface and clien ...

  3. Unable to load vocabulary from file. Please check that the provided vocabulary is accessible and not

    问题: python使用transformers时报错: 1. Unable to load vocabulary from file. Please check that the provided ...

  4. PB9.0连接MSSQL2005和MSSQL2008数据库出错!unable to load the requested database interface.

    PB9.0连接MSSQL2005和MSSQL2008数据库数据库出错! unable to load the requested database interface.plesase make sur ...

  5. iOS XCode 解决 Showing Recent Messages :-1: Unable to load contents of file list

    iOS XCode 解决 Showing Recent Messages

  6. Py_Initialize fails - unable to load the file system codec

    Py_Initialize fails - unable to load the file system codec https://stackoverflow.com/questions/56947 ...

  7. unable to load client certificate private key file

    解决方法可以跳过看最后!!!o( ̄︶ ̄)o 终端执行 openssl s_client -connect gateway.sandbox.push.apple.com:2195 -cert MyPus ...

  8. 关于pycharm报错:Fatal Python error: Py_Initialize: unable to load the file system codec的解决

    先上pycharm报错: Fatal Python error: Py_Initialize: unable to load the file system codec ModuleNotFoundE ...

  9. 出现 malformed or corrupted AST file: 'Unable to load module .pcm: module file out of date'错误

    iOS9出现以后,必须把Xcode6升级到iOS7了,但是今天用Xcode7打开之前Xcode6编写的项目,突然出现了这个问题 malformed or corrupted AST file: 'Un ...

最新文章

  1. Webpack 4 api 了解与使用
  2. SSH下的组合批量增加
  3. hibernate详解
  4. Elasticsearch 教程--入门
  5. 排序 (2)快速排序-多个数组
  6. 秒杀系统设计的 5 个要点:前端三板斧+后端两条路
  7. Ubuntu各个版本国内源
  8. 关于android中的ramdisk.img及uImage无法包含驱动模块(*.ko)的问题
  9. 预测算法用java实现
  10. IPV6:移动光猫吉比特GM228-S 桥接+IPV6教程
  11. 自然语言处理(NLP)和语音识别(ASR)的区别
  12. 微星GP76 AX1675x ubuntu 18.04安装有线/无线网卡驱动
  13. SpringBoot的test测试类报com.netflix.discovery.shared.transport.TransportException异常
  14. Python生成标签云/词云
  15. 45 STM32 IIC主机、从机通信实例(ma51t12b触摸按键芯片)
  16. 一篇文章带你了解网络编程(总结)
  17. Python利用Face++实现身份证件图片识别
  18. 2021工业交换机前十大品牌排行榜,工业交换机哪个牌子好?
  19. opengl纹理颠倒,rgb通道错位等。详解rgba,bgra,argb等内存序
  20. XSS Challenges/刷题/Stage #3

热门文章

  1. python历史5分钟数据_python每5分钟从kafka中提取数据的例子
  2. iptables防火墙工作原理及简单配置访问策略
  3. 探索服务设计的深层定义
  4. 【SSH网上商城项目实战03】使用EasyUI搭建后台页面框架
  5. 谈谈html5存储之IndexdDB
  6. 李洪强iOS开发之Foundation框架—结构体
  7. FastDFS点滴记录
  8. 忆起在兄弟连的那些日子!
  9. HOW TO: Troubleshoot development errors in MOSS 2007
  10. 问题 D: 去行首行尾的空白符