尝试在Codeigniter中添加默认帮助程序,输入自动加载$autoload['helper'] = array('url');
但是我的系统/帮助程序文件夹中有一个错误Unable to load the requested file: helpers/_helper.php
没有像_helper.php
这样的文件我要加载它吗?无法在Codeigniter中连接到帮手
0
A
回答
0
确保你写'url'
像这样: $autoload['helper'] = array('url');
+0
我打字的男人就像你的例子 – 2012-02-28 15:23:22
4
检查是否已空数组设置为应用程序/配置/ autoload.php $autoload['helper']
变量。
$autoload['helper'] = array(''); // throw an error stated
与
$autoload['helper'] = array();
更换它,即使我不明白为什么它必须从上面两个赋值不同的表现,基本上IMO应该具有相同的行为。
0
确保数组是空的,如果你不打算传递一个url,如果是的话,这将是理想的传递在CSS样式表网址。
相关问题
- 1. Codeigniter模型无法连接到db
- 2. Codeigniter无法连接到数据库
- 3. Codeigniter SMTP无法连接
- 4. 手持设备无法连接到GoogleApiClient
- 5. 无法连接到
- 6. 无法连接到ExtProc在Oracle 11g中
- 7. 无法连接到ProximityService在Android Studio中
- 8. Codeigniter 2手动数据库连接
- 9. Codeigniter手册数据库连接
- 10. WebSocket的握手无法连接
- 11. Codeigniter我的帮手功能
- 12. CodeIgniter:创建新的帮手?
- 13. 在codeigniter中连接页面
- 14. 在codeigniter中交叉连接?
- 15. 无法使用codeigniter连接到数据库
- 16. 无法连接到Facebook连接
- 17. 无法重新连接到ODBC连接
- 18. 无法加载“sfFacebookConnectHelper.php”帮手
- 19. 如何在CodeIgniter中手动连接数据库?
- 20. Xamarin无法连接到MySQL
- 21. Yii2无法连接到postgresql
- 22. 无法连接到Twitter API
- 23. 无法连接到rabbitmq
- 24. 无法连接到HUB类
- 25. 无法连接到SQL Server
- 26. 无法连接到api.heroku.com
- 27. phpmailer无法连接到SMTP
- 28. 无法连接到PostgreSQL
- 29. 无法连接到SQL LocalDB
- 30. 无法连接到MongoDB
“我该怎么做才能加载它?”创建文件来加载它。但我觉得这不是你想要的。所以请花一分钟重新格式化您的问题。 – pduersteler 2012-02-28 15:15:35
我的意思是,可能我做错了什么?我从他们的网站下载coedeigniter ...把应用程序文件夹放到系统中..我不删除任何东西......这是标准功能......但它为什么不起作用? – 2012-02-28 15:17:16
等待等待:“将应用程序文件夹放入系统”是什么意思?他们应该保持你找到他们! – 2012-02-28 15:20:14