Welcome Guest, Not a member yet? Register   Sign In
Matchbox error : module_model() is not a function
#1

[eluser]medium_kreation[/eluser]
HI, all is working fine at my local server but when i but the site live it gives the below error..
Code:
Fatal error: Call to undefined function: module_model()

My local server is Windows/Apache/PHP 5.2 /Mysql 5
& my online server is Linux/Apache/PHP 4.4 /MYSQL 5



Error is at the default controller that load when you access the domain url
Code:
<?php

class Site extends Controller {

    function Site()
    {
        parent::Controller();
        
        #load modules
        $this->load->module_model('news','news_model', 'news');

plz help i don’t know what’s wrong..

thanks




Theme © iAndrew 2016 - Forum software by © MyBB