Modular Extensions - HMVC version 5.3 |
[eluser]icomefromthenet[/eluser]
I was having a problem with blank screen after a install of the new HMVC code (1.7.2), In my case I tracked it down to the /third_party/MX/Config.php file, the config file under System/libraries/config.php was already included (so new file not loaded), so after a rename of the file (not class inside) my problem went away.
[eluser]wiredesignz[/eluser]
[quote author="icomefromthenet" date="1285331018"]I was having a problem with blank screen after a install of the new HMVC code (1.7.2), In my case I tracked it down to the /third_party/MX/Config.php file, the config file under System/libraries/config.php was already included (so new file not loaded), so after a rename of the file (not class inside) my problem went away.[/quote] And you have broken the installation. Good luck with that. File names are not the issue.
[eluser]wiredesignz[/eluser]
Modular Extensions - HMVC bitbucket wiki is updated.
[eluser]coffey[/eluser]
As you say @InsiteFX Quote: Thanks. It suited me to create a model extending CI_Model (autoloaded via config/autoload). Code: <?php if (! defined('BASEPATH')) exit('No direct script access'); Really not much of a change here anyway as most of my previous 1.7 module models were in themselves descended from an extended 'crud' base model anyway.
[eluser]coffey[/eluser]
BTW big thanks to @wiredesignz for all his fantastic work. Now where is that donate button.....
[eluser]Phil Sturgeon[/eluser]
It looks to me like callback functions don't work when I extend from MX_Controller. My login callback was the one that made me spot this: Code: <?php if (!defined('BASEPATH')) exit('No direct script access allowed'); _check_login() is never called at all. I threw a exit('hai!') in the first line of the method and got nothing, I'd have a go debugging the error but I've already spent almost an hour of work time getting this far. >.<
[eluser]WanWizard[/eluser]
Ran into this issue as well. The form validation library expects callbacks to be methods of $this->CI (set in the library constructor, when you load the form validation library), which probably points to something else than your module controller...
[eluser]wiredesignz[/eluser]
I have explained this so many times. Set the Form_validation $CI instance to the object you require to respond to callbacks. Code: // Call validation and set rules
[eluser]Phil Sturgeon[/eluser]
This doesn't seem like an amazingly clean solution... Is there no way to build support for this into ME? |
Welcome Guest, Not a member yet? Register Sign In |