test
Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • jegbertzen Friend
    #182784

    I have just updated zoo and the t3 blank to version 2.5.3, but now all pages of Zoo show the following error:

    Fatal error: Cannot redeclare class JViewLegacy in /home/users/oraoeftp/haagseouderen.orangehilltest.nl/libraries/cms/view/legacy.php on line 23

    see: http://haagseouderen.orangehilltest.nl/index.php?option=com_zoo&view=item&layout=item&Itemid=419

    Can anyone help out?

    Saguaros Moderator
    #475149

    Hi there,

    The error comes from the core file of joomla, which version of joomla are you using? Did you try to switch default template to another template like Bee5?

    jaweb Friend
    #476190

    The problem is with the JA T3v3 System Plugin and Zoo. JA uses their own JViewLegacy to move the html directory from the template to the plugin and then zoo imports the Joomla version.

    To fix it for now you can hack:
    /administrator/components/com_zoo/framework/classes/view.php

    Replace line 8 & 9:

    jimport('cms.view.legacy');
    jimport('legacy.view.legacy');

    with

    if (!class_exists('JViewLegacy', false)){
    jimport('cms.view.legacy');
    jimport('legacy.view.legacy');
    }

    ecohaven Friend
    #477039

    Hi
    I have same problem with joomla 3.0.2 and Ja-university with HikaShop
    Fatal error: Cannot redeclare class JViewLegacy in /public_html/plugins/system/jat3/jat3/core/joomla/view.php on line 716

    what code do I change?
    thank you
    here is the code from HikaShop:

    if(!HIKASHOP_J30){
    class hikashopBridgeView extends JView {}
    } else {
    class hikashopBridgeView extends JViewLegacy {}
    }

    Saguaros Moderator
    #477189

    Hi ecohaven,

    Please try solution in this thread: http://www.joomlart.com/forums/topic/cannot-redeclare-class-jviewlegacy/

    kanenses Friend
    #481920

    <em>@jaweb 350531 wrote:</em><blockquote>The problem is with the JA T3v3 System Plugin and Zoo. JA uses their own JViewLegacy to move the html directory from the template to the plugin and then zoo imports the Joomla version.

    To fix it for now you can hack:
    /administrator/components/com_zoo/framework/classes/view.php

    Replace line 8 & 9:

    jimport('cms.view.legacy');
    jimport('legacy.view.legacy');

    with

    if (!class_exists('JViewLegacy', false)){
    jimport('cms.view.legacy');
    jimport('legacy.view.legacy');
    }

    </blockquote>

    Work great on Mendozite Template 🙂

    bettermentflux Developer
    #486222

    That worked. Thank you for the fix. Concerned that my site will break again if/when I update the T3 framework. Since the fix seems so simple and the bug only affects JoomlArt Templates, when could we expect the fix to be merged in to the source?

    Thanks again.

    Saguaros Moderator
    #486288

    Thanks for your idea, we will check it with new version of T3 framework and will update if problem persists. 🙂

    Regards

    musicinme Friend
    #490608

    Thank you, thank you, thank you for the fix! It works with

    Joomla! 3.0.3, JA T3v3 1.2.3 and T

    3 Blank J3.0.
    Superb solution and Joomlart should do something with this conflict since last post it still persist.

    emarketingventures Friend
    #495508

    Thank you! Worked on JA Social.
    <em>@jaweb 350531 wrote:</em><blockquote>The problem is with the JA T3v3 System Plugin and Zoo. JA uses their own JViewLegacy to move the html directory from the template to the plugin and then zoo imports the Joomla version.

    To fix it for now you can hack:
    /administrator/components/com_zoo/framework/classes/view.php

    Replace line 8 & 9:

    jimport('cms.view.legacy');
    jimport('legacy.view.legacy');

    with

    if (!class_exists('JViewLegacy', false)){
    jimport('cms.view.legacy');
    jimport('legacy.view.legacy');
    }

    </blockquote>

    pomicult Friend
    #522873

    Hello!
    i have the same problem but on joomla 3.2 – with “adsmanager” component
    This is the error: “Fatal error: Cannot redeclare class JViewLegacy in C:xampphtdocsramnicpress.ropluginssystemjat3jat3corejoomlaviewlegacy.php on line 711”
    Please help me!

    Saguaros Moderator
    #522914

    @pomicult: Did you try to update JAT3 plugin to the latest version? (Remember to BACKUP your site first).

    pomicult Friend
    #523030

    I have the latest version of JAT3
    I insatalled latest version of JA TELINE IV (3.2) with all updates.
    This error occurred after I installed last update from Joomla 3.2.2

    Saguaros Moderator
    #523085

    Joomla have released this new version 3.2.2 recently and this JA T3v2 framework is still not compatible with J.3.2.2, we are in progress to have it updated.

    Anyway, if your site is online, you can PM me admin & ftp credentials and URL of page where problem can be seen. I will try to check this for you.

    fabrice31 Friend
    #564466

    Hi,

    I am using joomla 3.4.1 with Jat3 T3v2 framework plugin (2.7.1) et jurityii template (2.5.5)

    I have the same error when i am opening a product on hikashop.

    I am working in local before updating online

    Thanks for you help


    1. error-jat3
Viewing 15 posts - 1 through 15 (of 19 total)

This topic contains 19 replies, has 11 voices, and was last updated by  hennen 9 years, 7 months ago.

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