Twitter bootstrap 引导程序在杂货店积垢中不起作用

Twitter bootstrap 引导程序在杂货店积垢中不起作用,twitter-bootstrap,codeigniter,grocery-crud,Twitter Bootstrap,Codeigniter,Grocery Crud,我正在使用bootstrap更改杂货店crud中的主题,但我的代码不起作用 我的控制器: public function siswa(){ $crud = new grocery_CRUD(); $crud->set_theme('bootstrap'); $crud->set_table('murid'); $output = $crud->render(); $this->load->view('tampilan',$output); }

我正在使用bootstrap更改
杂货店crud
中的主题,但我的代码不起作用

我的控制器:

public function siswa(){
  $crud = new grocery_CRUD();
  $crud->set_theme('bootstrap');
  $crud->set_table('murid');
  $output = $crud->render();
  $this->load->view('tampilan',$output);
}
请帮帮我

下面是错误消息

遇到一个PHP错误

严重性:警告

消息:包括(assets/scrud/themes/bootstrap/config.php): 无法打开流:没有这样的文件或目录

文件名:libraries/groundry_CRUD.php

电话号码:2852

回溯:

文件: C:\xampp\htdocs\grocerycrud\application\libraries\Grocery\u CRUD.php 行:2852函数:\u错误\u处理程序

文件: C:\xampp\htdocs\grocerycrud\application\libraries\Grocery\u CRUD.php 行:2852功能:设置内存

文件: C:\xampp\htdocs\grocerycrud\application\libraries\Grocery\u CRUD.php 行:4476功能:设置内存

文件:C:\xampp\htdocs\grocerycrud\application\controllers\Coba.php 行:19函数:渲染

文件:C:\xampp\htdocs\grocerycrud\index.php行:292函数: 需要一次


只需在screery_crud/themes/bootstrap中创建config.php文件并将其置为空白

只需在screery_crud/themes/bootstrap中创建config.php文件并将其置为空白

即可轻松添加控制器

public function siswa(){
    $crud = new grocery_CRUD();
    $crud->set_theme('bootstrap');
    $crud->set_table('murid');
    $output = $crud->render();
    $this->_example_output($output);
}

以及查看、加载所有CSS和引导等

<div class="box box-primary">
     <div class="box-body">                    
          <?php echo $output; ?>                          
     </div>
</div>

在控制器添加中很容易

public function siswa(){
    $crud = new grocery_CRUD();
    $crud->set_theme('bootstrap');
    $crud->set_table('murid');
    $output = $crud->render();
    $this->_example_output($output);
}

以及查看、加载所有CSS和引导等

<div class="box box-primary">
     <div class="box-body">                    
          <?php echo $output; ?>                          
     </div>
</div>


错误告诉您主题文件不存在,您是否正确设置了主题文件?检查目录assets/scrud/themes/bootstrap/config.php我从未尝试过这个主题,我只是在使用datatables&flexigrid。我在bootstrap目录中找不到config.php,但错误消息总是告诉config.php无法打开流。我只想使用bootstrap重新设计表。尝试在该目录中创建一个名为config.php的新文件,它只有以下几行:错误告诉您主题文件不存在,您是否正确设置了它?检查目录assets/scrud/themes/bootstrap/config.php我从未尝试过这个主题,我只是在使用datatables&flexigrid。我在bootstrap目录中找不到config.php,但错误消息总是告诉config.php无法打开流。我只想使用bootstrap重新设计表。尝试在该目录中创建一个名为config.php的新文件,它只有以下几行: