Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • ecohaven Friend
    #183334

    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 related to JViewLegacy:

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

    Ninja Lead Moderator
    #477179

    You can fix it by opening file:
    <blockquote>/public_html/plugins/system/jat3/jat3/core/joomla/view.php</blockquote>
    from

    class JViewLegacy extends JView {}
    change to

    if (! class_exists(JViewLegacy)) {
    class JViewLegacy extends JView {}
    }

    ecohaven Friend
    #477200

    Excellent, thank you.
    Will I have to repeat that in the future if I upgrade the jat3 plugin?

    Ninja Lead Moderator
    #477386

    We have fixed this error on our product and it will be released in next version.

    inaki Friend
    #480463

    THANK YOU SOOOO MUCH!

    PS.- Where’s the “Thanks” button? 😛

    mattlab Friend
    #485182

    This fix worked for me as well. It was with JA social.

    bettermentflux Developer
    #486223

    Not fixed as of March 12th. Fresh install of Zite/JA T3 Framework from download page (V2.6.0) Your hack worked but am concerned the blank pages will reappear with a future update.

    Bug appears to only affect JoomlArt/T3 templates. Three other vendors plus default Joomla 2.5 templates unaffected by bug.

    Ninja Lead Moderator
    #486489

    I’m so sorry maybe this fixed is not yet release on JAT3 framework, I have raised it as a bug to dev team here, they will release it as soon.

    oviedocomercio1 Friend
    #490452

    in my case with ja tiris it displays a message wich i cant get rid of

    Notice: Use of undefined constant JViewLegacy – assumed ‘JViewLegacy’ in C:xampphtdocsoviedocomerciopluginssystemjat3jat3corejoomlaview.php on line 716

    Ninja Lead Moderator
    #490687

    <em>@oviedocomercio1 369699 wrote:</em><blockquote>in my case with ja tiris it displays a message wich i cant get rid of

    Notice: Use of undefined constant JViewLegacy – assumed ‘JViewLegacy’ in C:xampphtdocsoviedocomerciopluginssystemjat3jat3corejoomlaview.php on line 716</blockquote>

    You can fix it this way

    Open plugins/system/jat3/jat3/core/joomla/view.php file

    from


    if (!class_exists(JViewLegacy)) {
    class JViewLegacy extends JView {}
    }

    change to


    if (!class_exists('JViewLegacy')) {
    class JViewLegacy extends JView {}
    }

    Remember to clear cache from Admin area

    tennis2table Friend
    #569880

    Hello,
    In the file, I do not have this line of code
    Can you help me please ?


    1. view.php
    2. viewlegacy.php
    Ninja Lead Moderator
    #569888

    @tennis2table: You can use other below

    + Download and extract my attachment file

    + Copy to plugins/system/jat3/jat3/core/joomla/ folder, don’t forget to backup old file before doing changes

    + Once done remember to clear cache from admin area


    1. viewlegacy.zip
Viewing 12 posts - 1 through 12 (of 12 total)

This topic contains 12 replies, has 7 voices, and was last updated by  Ninja Lead 9 years, 6 months ago.

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