Welcome Guest, Not a member yet? Register   Sign In
Problem with CI installation and
#1

[eluser]mmax[/eluser]
Hi,

I have a problem running my new CI installation. I want to use the concept of HMVC and installed the following third-party addon/plugin:
https://github.com/Bigwebmaster/codeigni...sions-hmvc

Now I have three controllers "testbase", "testbase2" and "testsub" where testsub is module stored in the "/modules/testsub/controllers" directory, the others are regular controllers in the "application/controllers" path.

Every controller just shows the welcome message like the default welcome controller. But every controller only works when it's configured as the default controller. If not I get a 404 error. Same behaviour no matter if a module or not. I'm using the latest CI version 2.1.4 and htaccess to get rid of the index.php style.

This is the CI-logfile when the controller testbase is configured as default and I call the testbase2 controller (http://new.localhost/testbase2).
Code:
DEBUG - 2014-05-09 21:11:54 --> Config Class Initialized
DEBUG - 2014-05-09 21:11:54 --> Hooks Class Initialized
DEBUG - 2014-05-09 21:11:54 --> Utf8 Class Initialized
DEBUG - 2014-05-09 21:11:54 --> UTF-8 Support Enabled
DEBUG - 2014-05-09 21:11:54 --> URI Class Initialized
DEBUG - 2014-05-09 21:11:54 --> Router Class Initialized
ERROR - 2014-05-09 21:11:54 --> 404 Page Not Found --> testbase2

If i confure the testbase2 as the default, it works:
Code:
DEBUG - 2014-05-09 21:14:46 --> Config Class Initialized
DEBUG - 2014-05-09 21:14:46 --> Hooks Class Initialized
DEBUG - 2014-05-09 21:14:46 --> Utf8 Class Initialized
DEBUG - 2014-05-09 21:14:46 --> UTF-8 Support Enabled
DEBUG - 2014-05-09 21:14:46 --> URI Class Initialized
DEBUG - 2014-05-09 21:14:46 --> Router Class Initialized
DEBUG - 2014-05-09 21:14:46 --> Output Class Initialized
DEBUG - 2014-05-09 21:14:46 --> Security Class Initialized
DEBUG - 2014-05-09 21:14:46 --> Input Class Initialized
DEBUG - 2014-05-09 21:14:46 --> Global POST and COOKIE data sanitized
DEBUG - 2014-05-09 21:14:46 --> Language Class Initialized
DEBUG - 2014-05-09 21:14:46 --> Language Class Initialized
DEBUG - 2014-05-09 21:14:46 --> Config Class Initialized
DEBUG - 2014-05-09 21:14:46 --> Loader Class Initialized
DEBUG - 2014-05-09 21:14:46 --> Controller Class Initialized
DEBUG - 2014-05-09 21:14:46 --> Testbase2 MX_Controller Initialized
DEBUG - 2014-05-09 21:14:46 --> File loaded: application/views//welcome_message.php
DEBUG - 2014-05-09 21:14:46 --> Final output sent to browser
DEBUG - 2014-05-09 21:14:46 --> Total execution time: 0.0074

Does anyone know what might be the problem?
I'm allready struggling around for a while but ran out of ideas. I'm working a while (~3 years) with CI and thought I know it quite well ;-)

Thanks,
Max
#2

[eluser]CroNiX[/eluser]
You should file a bug report with the person who you got that extension on github from since it's not native CI.
#3

[eluser]mmax[/eluser]
Hi,

Just replaced the third-party files with the "original" HMVC from:
https://bitbucket.org/wiredesignz/codeig...sions-hmvc

and now it works!




Theme © iAndrew 2016 - Forum software by © MyBB