正在使用笨,我不斷從配置文件找不到經常上網
A PHP Error was encountered
Severity: Warning
Message: constant() [function.constant]: Couldn't find constant ONLINE
Filename: libraries/co.php
Line Number: 534
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/baahoot/public_html/Outlaws/system/core/Exceptions.php:185)
Filename: helpers/url_helper.php
Line Number: 542
得到一個錯誤我不知道我在做什麼錯了,這是從git的樞紐工作代碼。我是新來的PHP,並希望看到這是如何工作在arvixe服務器上使用MySQL數據庫任何人都知道如何解決這種類型的錯誤?
庫/ co.php周圍某處:534
function __construct() {
$CI =& get_instance();
//$CI->form_validation->set_error_delimiters('<br /><div class="response error-note">Error: ', '</div>');
if(constant('ONLINE') == FALSE):
//$CI->output->enable_profiler(TRUE); endif;
if(1 == 0 && constant('ONLINE') == TRUE) {
echo $CI->load->view('temporary', '', true); exit;
} $CI->load->config('redis');
$this->redis = ($CI->config->item('redis_active'));
}
該腳本正在尋找恆定的ONLINE,這是沒有定義,沒有更多的sya比 – 2013-09-25 22:08:16
正確的,我想弄清楚哪裏seting將在代碼中還不確定 –
好吧,我們沒有辦法會心。 – 2013-09-25 23:03:02