关于在CI中引用路径的问题 File does not exist
2011-05-26 10:05
405 查看
我们在开发的过程中,可能设置好base_url之后,再调用别的controller的时候,会用src="/header" 之类的调用,这种方法,在windows平台 没有问题,但是在linux上就不行了,就会出现 File does not exist: /usr/local/httpd/htdocs/header 这样的错误,我们需要把路径中的反斜杠去掉就可以了
相关文章推荐
- 关于productFlavors使用和specified for property 'resourceFile' does not exist.问题
- Linux eclipse 解决The program file specified in the launch configuration does not exist问题
- 解决问题python - "CSV file does not exist"
- [模拟器问题] 关于ActivityManager: Error: Activity class {..} does not exist. 的解决
- 有时候,一点小问题,就会纠结你半天,真是基础不牢啊。 彻底解决 django的模板templates路径的问题; 一般会提示什么模板找不到,类似:TemplateDoesNotExist at /ac
- User setting file does not exist C:\Users\lenevo\.m2\setting.xml 问题解决
- APK file does not exist on disk问题解决
- android7.0 uri转图片路径遇到的问题:java.lang.IllegalArgumentException: column '_data' does not exist
- yii2安装后报The file or directory to be published does not exist:path/vendor/bower/jquery/dist的问题
- 关于Service 'XXXX' of type 'MapServer' does not exist or is inaccessible问题的解决
- 使用MyBatis Generator自动创建代码时遇到的configfile D:\generatorConfig.xml does not exist问题
- [模拟器问题] 关于ActivityManager: Error: Activity class {..} does not exist. 的解决
- Android studio打包时的问题xxxxrelease-stripped.ap_' specified for property 'resourceFile' does not exist.
- file does not exist 阿里云OSS图片上传遇到的问题
- 关于mysql使用dbForge调试的问题:Object 'test.p_insertRoute' does not exist.
- Maven出现User setting file does not exist ...\.m2\setting.xml的问题解决(同时也解决用户.m2目录下无setting.xml文件)
- [INFO] User settings file does not exist C:/Documents and Settings/zhangsb/.m2/settings.xml问题解决
- 关于applicationContext.xml cannot be opened because it does not exist的解决
- 关于vue.js发布后路径引用的问题解决
- [Winform] 关于 FileDialog 的路径问题