As a result of the Sina SAE restrictions on file permissions, cache directory can not modify permissions, so the original CodeIgniter can not be used directly. You can try CodeIgniter 2.10 for sae:http://code.google.com/p/ci-sae/.
The following are configured in database.php :
Copy Code code as follows:
$db [' Default '] [' hostname '] = sae_mysql_host_m;
$db [' Default '] [' username '] = sae_mysql_user;
$db [' Default '] [' password '] = Sae_mysql_pass;
$db [' Default '] [' database '] = sae_mysql_db;
$db [' Default '] [' dbdriver '] = ' mysqli ';
$db [' Default '] [' dbprefix '] = ';
$db [' Default '] [' pconnect '] = FALSE;
$db [' Default '] [' db_debug '] = TRUE;
$db [' Default '] [' cache_on '] = FALSE;
$db [' Default '] [' cachedir '] = ';
$db [' Default '] [' char_set '] = ' UTF8 ';
$db [' Default '] [' dbcollat '] = ' utf8_general_ci ';
$db [' Default '] [' swap_pre '] = ';
$db [' Default '] [' autoinit '] = TRUE;
$db [' Default '] [' stricton '] = FALSE;
$db [' Default '] [' port '] = Sae_mysql_port;
Note that $db[' default '] [' dbdriver '] and $db[' default ' [' Pconnect '] entries , or else the following error message appears:
A Database Error occurred
Unable to connect to your Database server using the provided settings.
filename:core/loader.php
Line number:346