2014-09-03 49 views
0

我已經更新Codeigniter 1.1.4到2.2現在但我有很多關於我對這個新的承認,我不知道如何使用我發現在這個新版本的錯誤文件夾如何在Codeigniter 2.2的錯誤文件夾中使用CLi和html錯誤?

1,I已經找到的錯誤提供一些文件夾

   1:error_404.php 
      2:error_db.php 
      3:error_general.php 
      4:error_php.php 

而且錯誤的文件夾在應用程序文件夾 並鑑於文件夾中有:

cli: 
      1:error_404.php 
      2:error_db.php 
      3:error_general.php 
      4:error_php.php 
      5:index.html 
HTML: 
      1:error_404.php 
      2:error_db.php 
      3:error_general.php 
      4:error_php.php 
      5:index.html 

但是我的網站目錄的來源是像這

http://localhost/Codeigniter2.2/public_html 

但是我的系統和應用程序的public_html

Codeigniter2.2/public_html/: 
      .htaccess 
      index.php 
      And Stylesheet, images folder 


Codeigniter2.2/: *Root of public_html/* 

      1,System 
      2,Application 

的根因爲我改變笨的應用程序和系統的目錄

$system_path = '../system'; 
    $application_folder = '../application'; 

所以我得到了錯誤的是像這樣

  **A PHP Error was encountered 
     Severity: Warning 
     Message: include(application/views/errorshtml\error_general.php): failed to open stream: No such file or directory 
     Filename: core/Exceptions.php 
     Line Number: 169** 

當我打電話的控制器錯誤的方法或功能

請幫我

感謝您的幫助我,我會投票,分享你的答案

這是在CLI
+0

請幫我!!!!!!! – hengsopheak 2014-09-04 03:55:34

+0

爲什麼?我無法得到任何答案?我能怎麼做 – hengsopheak 2014-09-04 13:43:18

回答

0

錯誤將被調用,當你在命令錯誤line