Modular Extensions Error |
[eluser]edwin87[/eluser]
Hello CI, I can't get modular extensions (HMVC) to work in PHP version 4.3.9. Everytime i want to load an module from an module, i get an error. In the controller there seems to be a error. It's strange because when i try it in my wamp with PHP 5 it works. I've downloaded the PHP4 version from the WIKI. Quote:Fatal error: Call to undefined function: _ci_load() in /****/httpdocs/ci/application/libraries/Controller.php on line 405) This happens every time i want to load a view in the module that i load. For example: News module Code: <?php Test module Code: <?php The news page is like this: Code: <h1><?php echo $var1 . $var2; ?></h1> The test page is like this: Code: <?php echo $testvar;?> The page should return now: Quote:test1test2 Can somebody please help me? I've searched the whole forum but can't find a similar problem or close to that.
[eluser]umefarooq[/eluser]
simple solution is to try with library for php5 it will work ;-) http://codeigniter.com/wiki/File:modular..._5140.zip/
[eluser]edwin87[/eluser]
Thanks for your reply. But i'm using PHP 4.3.9 and it is not an option to upgrade it to php 5. Because my host doesn't want to. So i've to rewrite this library to php4?
[eluser]edwin87[/eluser]
I've tried to rewrite it to PHP 4 but it is a hell of a job. Is there not a other solution for this problem?
|
Welcome Guest, Not a member yet? Register Sign In |