404 on live Server |
Hi guys,
i need your help. I've pushed my application on a linux live server and now i only get a 404 from CI. I've tried everything i found on the web but nothig works for me ![]() My htaccess: Code: <IfModule mod_rewrite.c> I make a apache entry like: Code: <VirtualHost *:80> I use CI 3 RC2 I use HMVC modules (https://github.com/jenssegers/codeigniter-hmvc-modules) (maybe this is the problem?!) My log file said: ERROR - 2015-04-01 15:59:50 --> 404 Page Not Found: ../modules/ar.../controllers/Ar.../index Needed more info? Thanks for any help!!! Markus
Do you use the HMVC for CI3 (there is a download branch)?
And you should update or start with the final 3.
Jens Segers' HMVC does not support CI3 and no longer appears to be maintained. There are some pull requests on that repository for CI3 compatibility, but I have no idea if they will fix your problems.
Wiredesignz HMVC has been updated for CI3 support: https://bitbucket.org/wiredesignz/codeig...gniter-3.x As Rufnex suggested, you should update to the final version of CI 3.0, as well.
Ok now i have installed wiredesignz HMVC and CI 3.0 but still got a 404
![]() The CI Error log said: ERROR - 2015-04-02 10:02:43 --> 404 Page Not Found: ../modules/xxx/controllers//index Seems that the controller name is missing or not!? Quote:Are your directory permissions for /home/www/folder/ correct?EDIT: nevermind this ^ probably something with that HMVC stuff. Are the double slashes at the end of the path normal?
Permissons are ok.
I think between the double slashes a controller name is missed. It should be look like: ../modules/MODULENAME/controllers/CONTROLLERNAME/index The Error must be in routing or htaccess i think.
Do your classes file names start with a capital letter? That is necessary in CI3
Because i only git this error on a linux server.. maybe there is aproblem with the capital letters? On my locale windows xampp everthing works fine.
|
Welcome Guest, Not a member yet? Register Sign In |