05-16-2016, 02:54 AM
Hello,
Please I need your help on my codeigniter project.
I have a codeigniter project which works fine on my local machine, but when I uploaded it to a hosted Domain server, I start getting this error message “404-page-not-found-the-page-you-requested-was-not-found” I have tried my possible best but still can't get a positive result.
I run codeigniter Version 2.2.2. and below are my file configuration:
Below is my config.php file showing the base url of my application:
$config['base_url'] = 'http://www.nicebis.com/';
This section contains the .htaccess File:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
Options -Indexes
This section shows my database.php file:
$active_group = 'default';
$active_record = TRUE;
$db['default']['hostname'] = 'localhost';
$db['default']['username'] = 'username';
$db['default']['password'] = 'password';
$db['default']['database'] = 'databasename';
$db['default']['dbdriver'] = 'mysql';
$db['default']['dbprefix'] = '';
$db['default']['pconnect'] = TRUE;
$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;
My rout.php file is below:
$route['default_controller'] = "account/login";
$route['404_override'] = '';
Please what is it that i'm not getting right? I will also appreciate if you can remotely login to help resolve it. I'm available via TeamViewer or any other online means you will recommend.
I have been on this for a while now, please help me.
Thanks in anticipation
Ebere
Please I need your help on my codeigniter project.
I have a codeigniter project which works fine on my local machine, but when I uploaded it to a hosted Domain server, I start getting this error message “404-page-not-found-the-page-you-requested-was-not-found” I have tried my possible best but still can't get a positive result.
I run codeigniter Version 2.2.2. and below are my file configuration:
Below is my config.php file showing the base url of my application:
$config['base_url'] = 'http://www.nicebis.com/';
This section contains the .htaccess File:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
Options -Indexes
This section shows my database.php file:
$active_group = 'default';
$active_record = TRUE;
$db['default']['hostname'] = 'localhost';
$db['default']['username'] = 'username';
$db['default']['password'] = 'password';
$db['default']['database'] = 'databasename';
$db['default']['dbdriver'] = 'mysql';
$db['default']['dbprefix'] = '';
$db['default']['pconnect'] = TRUE;
$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;
My rout.php file is below:
$route['default_controller'] = "account/login";
$route['404_override'] = '';
Please what is it that i'm not getting right? I will also appreciate if you can remotely login to help resolve it. I'm available via TeamViewer or any other online means you will recommend.
I have been on this for a while now, please help me.
Thanks in anticipation
Ebere