Welcome Guest, Not a member yet? Register   Sign In
WSOD Question
#3

[eluser]Synapse56[/eluser]
Thanks for your reply. Ok the CI stuff is below

config.php first - comments removed
Code:
$config['base_url']    = "http://127.0.0.1/igtest/";
$config['index_page'] = "index.php";
$config['uri_protocol']    = "AUTO";
$config['url_suffix'] = "";
$config['language']    = "english";
$config['charset'] = "UTF-8";
$config['enable_hooks'] = FALSE;
$config['subclass_prefix'] = 'MY_';
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_-';
$config['enable_query_strings'] = FALSE;
$config['directory_trigger'] = 'd';
$config['controller_trigger'] = 'c';
$config['function_trigger'] = 'm';
$config['log_threshold'] = 4;
$config['log_path'] = '';
$config['log_date_format'] = 'Y-m-d H:i:s';
$config['cache_path'] = '';
$config['encryption_key'] = "";
$config['sess_cookie_name']        = 'ci_session';
$config['sess_expiration']        = 7200;
$config['sess_encrypt_cookie']    = FALSE;
$config['sess_use_database']    = TRUE;
$config['sess_table_name']        = 'ci_sessions';
$config['sess_match_ip']        = FALSE;
$config['sess_match_useragent']    = TRUE;
$config['sess_time_to_update']         = 300;
$config['cookie_prefix']    = "";
$config['cookie_domain']    = "";
$config['cookie_path']        = "/";
$config['global_xss_filtering'] = FALSE;
$config['compress_output'] = FALSE;
$config['time_reference'] = 'local';
$config['rewrite_short_tags'] = FALSE;

database.php
Code:
$active_group = 'default';
$active_record = TRUE;

$db['default']['hostname'] = "localhost";
$db['default']['username'] = "mgb";
$db['default']['password'] = "mgb";
$db['default']['database'] = "mine";
$db['default']['dbdriver'] = "mysql";
$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";


The following in a standalone page connects ok:

Code:
$link = mysql_connect("localhost","mgb","mgb");
mysql_select_db("mine",$link);
if( !$link ) {
echo 'No';
}else{
echo 'Connected';
}


I do find it surprising that CI doesn't log anything at all....

Cheers for any suggestions / tips


Messages In This Thread
WSOD Question - by El Forum - 03-13-2008, 09:20 AM
WSOD Question - by El Forum - 03-13-2008, 09:42 AM
WSOD Question - by El Forum - 03-14-2008, 04:27 AM
WSOD Question - by El Forum - 03-14-2008, 06:35 AM
WSOD Question - by El Forum - 03-14-2008, 08:12 AM
WSOD Question - by El Forum - 03-14-2008, 10:26 AM
WSOD Question - by El Forum - 03-14-2008, 10:45 AM
WSOD Question - by El Forum - 03-14-2008, 02:57 PM
WSOD Question - by El Forum - 03-15-2008, 05:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB