Welcome Guest, Not a member yet? Register   Sign In
HMVC problem about "default controller"
#7

[eluser]PhilTem[/eluser]
[quote author="costicanu" date="1302780009"]I fixed it! Strange thing!!! On Windows in my apps folder I don't have 'controllers' and 'models' folders. I deleted them because I have HMVC and I put everything in modules. ON Wamp works fine, but on Linux, is not! I create those 2 empty folders in my app folder from linux and now everything is fine, I think is enough to add only 'controllers' folder, but I added 'models' too, just in case...[/quote]

It's not such a strange thing if you look at how the filepaths to the modules' controllers is created. HMVC's MX_Router appends an ../ to the controllers folder which results in going up one folder. If you don't have the controllers folder you cannot append a ../ to the folderpath. On some OSs this results in errors on others it doesn't, but it's no false code of HMVC, it's - sorry to say - an error that you created by yourself Wink


Messages In This Thread
HMVC problem about "default controller" - by El Forum - 05-27-2009, 04:58 PM
HMVC problem about "default controller" - by El Forum - 05-27-2009, 05:50 PM
HMVC problem about "default controller" - by El Forum - 05-28-2009, 09:22 AM
HMVC problem about "default controller" - by El Forum - 04-14-2011, 04:20 AM
HMVC problem about "default controller" - by El Forum - 04-14-2011, 12:04 PM
HMVC problem about "default controller" - by El Forum - 11-06-2012, 08:59 PM
HMVC problem about "default controller" - by El Forum - 11-07-2012, 05:35 AM



Theme © iAndrew 2016 - Forum software by © MyBB