Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • rstaniszewski Friend
    #176415

    Hi,

    I’m Using Tiris with Joomla 2.5.4

    I’m getting a Fatal error: Class ‘JModel’ not found in /home/richa18/public_html/ztestarea/modules/mod_jasidenews/helper.php on line 16.

    I’ve checked that “jimport(‘joomla.application.component.model’);” i in mod_jasidenews/helper.php and it is.

    I still get the error message.

    can anyone give me some ideas?

    Richard

    Sherlock Friend
    #449948

    Hi Richard,

    You can try as following
    Open the file of modulesmod_jasidenewshelper.php you would see this line of code
    [PHP] require_once JPATH_SITE . ‘/components/com_content/helpers/route.php’;[/PHP]

    Replace that code by this
    [PHP]
    jimport(‘joomla.application.component.model’);
    require_once JPATH_SITE . ‘/components/com_content/helpers/route.php’;
    [/PHP]
    if the code is there already you can pm me your url, the admin account, the FTP info for a further checking.

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  Sherlock 12 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum