Welcome Guest, Not a member yet? Register   Sign In
Object not found
#2

It seems your .htaccess is not working correctly.


Try below steps:

1. Check if apache is configured to support .htaccess.
Code:
<Directory "/var/www/html">
    Options -Indexes FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>

2. Put below .htaccess under CI220-CRUD folder if not exists or correct it if as per below example
Code:
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /CI220-CRUD/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>

3. Make sure, base_url config variable under config.php is set to as per below example
Code:
$config['base_url']    = 'http://localhost/CI220-CRUD';

4. Make sure, index_page config variable under config.php is set to blank (Just check below example)
Code:
$config['index_page'] = '';


Try this and let me know if it works.
Reply


Messages In This Thread
Object not found - by davy_yg - 11-18-2014, 09:34 PM
RE: Object not found - by tapan.thapa - 11-18-2014, 09:52 PM
RE: Object not found - by davy_yg - 11-19-2014, 02:55 AM
RE: Object not found - by tapan.thapa - 11-19-2014, 04:19 AM
RE: Object not found - by InsiteFX - 11-19-2014, 02:20 PM



Theme © iAndrew 2016 - Forum software by © MyBB