Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] Problem, help: modular extension based application working on windows localhost (xampp) is giving errors on lin
#3

[eluser]costicanu[/eluser]
I have the same problem, in Wamp works fine, on Linux, I have the error:
Unable to load your default controller. Please make sure the controller specified in your Routes.php file is valid.


I use HMVC and my default controller is located in modules/pages/controllers/pages.php

In my routes.php file I have $route['default_controller'] = "pages";
Did you found why on windows works fine and when upload it on linux crashes?

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 added those 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...


Messages In This Thread
[SOLVED] Problem, help: modular extension based application working on windows localhost (xampp) is giving errors on lin - by El Forum - 04-14-2011, 05:04 AM



Theme © iAndrew 2016 - Forum software by © MyBB