如何阐明此错误消息?我已经在这上面花了几个小时。基本上,当我连接到 myapp.mysite.org 时,我让它工作,与 myapp.mysite.org/docu 和其他页面一样,但是当我需要查询数据库时,我得到这个神秘的“服务器错误”的东西。关于我如何开始这个的任何提示,我都束手无策。我怎样才能至少有某种错误日志记录,这样我才能看到哪里出了问题。
托管在 Bluehost、Code Igniter 应用程序上。
配置/数据库.php
$db['test']['hostname'] = 'localhost';
$db['test']['username'] = 'me_name';
$db['test']['password'] = 'me_password';
$db['test']['database'] = 'me_database';
$db['test']['dbdriver'] = 'mysql';
$db['test']['dbprefix'] = '';
$db['test']['pconnect'] = TRUE;
$db['test']['db_debug'] = FALSE;
$db['test']['cache_on'] = FALSE;
$db['test']['cachedir'] = '';
$db['test']['char_set'] = 'utf8';
$db['test']['dbcollat'] = 'utf8_general_ci';
$db['test']['swap_pre'] = '';
$db['test']['autoinit'] = TRUE;
$db['test']['stricton'] = FALSE;
.htaccess
SetEnv MAGIC_QUOTES 0
SetEnv PHP_VER 5
Options +FollowSymlinks -MultiViews
Options +SymLinksIfOwnerMatch -MultiViews
RewriteEngine On
DirectoryIndex index.php
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule (.*) index.php?/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(index\.php|images|robots\.txt|css)
RewriteRule (.*) index.php?/$1 [L]
日志结束于 DEBUG - 2012-10-05 23:55:41 --> 数据库驱动程序类已初始化