Linelabox Support

Hello there! Welcome to Linelabox Support Forum. Post your question and our support specialists will help you. Look for the solution in the F.A.Q. first. Our support team is available for any questions or issues in the following working hours: Monday - Friday: 10:00 - 18:00.

I need your help. You plugin is braking my quizes in Joomla Quiz Deluxe. When i enable the plugin all the quizes are 500 server error.
Responses (6)
  • Accepted Answer

    Thursday, October 23 2014, 10:12 PM - #permalink
    0
    This is the error:

    Fatal error: Class 'JModel' not found in /home/domain/public_html/plugins/content/includeitem/includeitem.php on line 70
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, October 23 2014, 10:15 PM - #permalink
    0
    I just remove line 70 and is working

    JModel::addIncludePath(JPATH_SITE.'/components/com_content/models', 'ContentModel');

    Is this a problem?
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, October 23 2014, 11:48 PM - #permalink
    0
    Try to replace the code:

    JModel::addIncludePath(JPATH_SITE.'/components/com_content/models', 'ContentModel');


    with this code:

    require_once JPATH_SITE.'/components/com_content/helpers/route.php';
    jimport('joomla.application.component.model');
    JModel::addIncludePath(JPATH_SITE.'/components/com_content/models', 'ContentModel');


    or this code:

    require_once JPATH_SITE.'/components/com_content/helpers/route.php';
    jimport('joomla.application.component.model');
    JModelLegacy::addIncludePath(JPATH_SITE.'/components/com_content/models', 'ContentModel');


    Hope this will help you to solve your issue.Thanks for your feedback.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, October 24 2014, 12:09 AM - #permalink
    0
    Thank you. The first code is working
    The reply is currently minimized Show
  • Accepted Answer

    Friday, January 30 2015, 01:40 AM - #permalink
    0
    Hello steve,can you please share with me your quiz deluxe component?I urgently need an extention like that.Thank you.
    The reply is currently minimized Show
  • Accepted Answer

    Kirill
    Kirill
    Offline
    Monday, January 09 2017, 08:32 PM - #permalink
    0
    Linelabox Support wrote:

    Try to replace the code:

    JModel::addIncludePath(JPATH_SITE.'/components/com_content/models', 'ContentModel');


    with this code:

    require_once JPATH_SITE.'/components/com_content/helpers/route.php';
    jimport('joomla.application.component.model');
    JModel::addIncludePath(JPATH_SITE.'/components/com_content/models', 'ContentModel');


    or this code:

    require_once JPATH_SITE.'/components/com_content/helpers/route.php';
    jimport('joomla.application.component.model');
    JModelLegacy::addIncludePath(JPATH_SITE.'/components/com_content/models', 'ContentModel');


    Hope this will help you to solve your issue.Thanks for your feedback.


    ___________________________________________________________

    Good day!
    The errors are displayed, how to get rid of them?

    ERRORS:
    Notice: Undefined offset: 0 in /www/sarflowers/data/www/serg.sarflowers.ru/plugins/content/includeitem/includeitem.php on line 112
    Notice: Undefined offset: 0 in /www/sarflowers/data/www/serg.sarflowers.ru/plugins/content/includeitem/includeitem.php on line 169
    Notice: Undefined offset: 0 in /www/sarflowers/data/www/serg.sarflowers.ru/plugins/content/includeitem/includeitem.php on line 211


    Please help solve the problem!

    Thanks in advance!
    The reply is currently minimized Show
Your Reply

VirtueMart Admin Theme

VMADMINLAB

Responsive VirtueMart 3 Administrator Template

Download
JOIN NOW!

New Joomla! 3 Template

REVOLAB

Responsive Joomla 3 Template / VirtueMart 3 Theme

Template Demo
JOIN NOW!

Recent Discussions

Dear Sirs, I would like to have a template in which I can display a set of Vir...
1 week ago 0
PARAM
Started by Filip Černý
Dobrý den, aktualizoval jsem si virtuemart ze dvojky na trojku. Přestalo se mi e...
1 week ago 0
Hi, productXport categories Problem. I was wondering if you can assist with ...
1 week ago 0
Ve VM mám takto nastavenu cenu u produktu: <a href="http://prntscr....
2 weeks ago 0

Who's Online

We have 237 guests and no members online

Linelabox.com is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries.
Copyright © 2014 Linelabox.com - Joomla! 3 / VirtueMart 3 Templates. All Rights Reserved.
Joomla! is Free Software released under the GNU General Public License. All other marks are the property of their respective owners.
LINELAB WEBDESIGN