I did not use Tsodeigniter but now got a working site that was another hosting. Once you run it you get this: address : 95.87.255.162
just waiting and nothing loaded in the Apache log file nothing. My settings config file are:
$ Active_group = 'default';
$ Active_record = TRUE;
$ Db ['default'] ['hostname'] = 'localhost';
$ Db ['default'] ['username'] = 'MYUSER';
$ Db ['default'] ['password'] = 'MYPASS';
$ Db ['default'] ['database'] = 'MYDATABASE';
$ Db ['default'] ['dbdriver'] = 'mysqli';
$ Db ['default'] ['dbprefix'] ='';
$ Db ['default'] ['pconnect'] = FALSE;
$ Db ['default'] ['db_debug'] = FALSE;
$ 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;
(MYUSER, MADATABASE, MYPASS)
are real. However, if wrong some of these things the site is loaded but only starting and other static pages, those recorded as "page" in the database does not open, gives 404. In the wrong data to the base and change
$ db ['default'] ['db_debug'] = TRUE;
gives error:
Error reading the database.
Unable to connect to your database server using the provided settings.
Filename: core / Loader.php
Line Number: 268
The same happens if (MYUSER, MADATABASE, MYPASS) are correct and change localhost
to 127.0.0.1
.
As I wrote nothing in error_log
and access_log
only get:
xxx.xxx.xxx.xxx - [03/Jun/2013: 07:01:03 0300] "GET / en / home HTTP/1.1" 200 -
My system is centos, php 5.1.6 mysql 5.1, codeigniter 2.0.3