【发布时间】:2016-10-13 07:03:09
【问题描述】:
我被一个问题困扰了好几个小时,我无法摆脱它,我正在尝试从我的资产文件夹中加载我的引导文件,但出现 404 错误。
如您所见,我的资产文件夹在我的根文件夹中
我在头部使用 base_url 函数调用它:
<link href="<?php echo base_url('assets/css/bootstrap.css'); ?>" rel="stylesheet">
我在控制台中收到此错误:
获取http://127.0.0.1/WeBusy/assets/css/bootstrap.css
GET http://127.0.0.1/WeBusy/assets/js/bootstrap.min.js404(未找到)
编辑
我注意到与文件相关的所有内容都失败了,例如,如果我自动加载库会话,则会出现以下错误:
Message: mkdir(): Invalid path
Filename: drivers/Session_files_driver.php
Message: Session: Configured save path '' is not a directory, doesn't exist or cannot be created.
Filename: C:\Users\User\Dropbox\WeBusy\system\libraries\Session\drivers\Session_files_driver.php
【问题讨论】:
标签: php twitter-bootstrap codeigniter http-status-code-404