If you get 404 page not found error after installation.
In this case your server needs the RewriteBase option to be set. Open the .htaccess file in the main folder and add the following line to it:
1 |
RewriteBase / |
The .htaccess should look like this:
1 2 3 4 5 |
RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L] |
If you have installed the application into a sub folder you need to add the sub folder name after the /
The .htaccess file should look like this in this case:
1 2 3 4 5 |
RewriteEngine On RewriteBase /your_sub_folder/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L] |
On Dreamhost you have to amend the .htaccess. If you get a “No Input File” error.
The htaccess file should look like this:
1 2 3 4 5 |
RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/?$1 [L] |
If you get “no input file specified” error on goDaddy web host
you need to change the .htaccess as follows:
1 2 3 4 5 6 7 |
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond $1 !\.(gif|jpe?g|png)$ [NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php?/$1 [L] </IfModule> |
This error means that your servers PHP version is not 5.3 or higher. Contact your web host in order to update your PHP version to 5.3 or higher.
If you get a 500 Error after the installation try the following as .htaccess
1 2 3 4 5 |
RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond $1 !^(index\.php|robots\.txt) RewriteRule ^(.*)$ /index.php?/$1 [L] |
If you get a 500 Error after the installation try the following as .htaccess
Another
1 2 3 4 5 6 7 8 |
Options +FollowSymLinks RewriteEngine on RewriteRule ^([a-z0-9_-]+)\.html$ index.php/page/$1 [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond $1 !^(index\.php|asset|robots\.txt) RewriteRule ^(.*)$ index.php?/$1 [QSA,L] |