-
AuthorPosts
-
December 3, 2012 at 3:57 pm #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 ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
December 4, 2012 at 10:18 am #475149Hi 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?
December 13, 2012 at 8:06 pm #476190The 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.phpReplace 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');
}4 users say Thank You to jaweb for this useful post
ecohaven Friendecohaven
- Join date:
- July 2007
- Posts:
- 56
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 8
- Thanked:
- 8 times in 1 posts
December 21, 2012 at 6:40 am #477039Hi
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 716what 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 ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
December 22, 2012 at 9:47 am #477189Hi ecohaven,
Please try solution in this thread: http://www.joomlart.com/forums/topic/cannot-redeclare-class-jviewlegacy/
kanenses Friendkanenses
- Join date:
- December 2012
- Posts:
- 55
- Downloads:
- 0
- Uploads:
- 9
- Thanks:
- 11
- Thanked:
- 16 times in 1 posts
February 1, 2013 at 12:07 am #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.phpReplace 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 Developerbettermentflux
- Join date:
- December 2012
- Posts:
- 2
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 2
March 12, 2013 at 10:08 pm #486222That 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 ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
March 13, 2013 at 7:05 am #486288Thanks for your idea, we will check it with new version of T3 framework and will update if problem persists. 🙂
Regards
musicinme Friendmusicinme
- Join date:
- September 2009
- Posts:
- 70
- Downloads:
- 3
- Uploads:
- 9
- Thanks:
- 6
- Thanked:
- 50 times in 23 posts
April 21, 2013 at 10:26 pm #490608Thank you, thank you, thank you for the fix! It works with
Joomla! 3.0.3, JA T3v3 1.2.3 and T3 Blank J3.0.
Superb solution and Joomlart should do something with this conflict since last post it still persist.emarketingventures Friendemarketingventures
- Join date:
- April 2011
- Posts:
- 2
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 2
June 11, 2013 at 3:06 pm #495508Thank 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.phpReplace 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>February 16, 2014 at 1:47 pm #522873Hello!
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 ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
February 17, 2014 at 4:19 pm #523030I 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.2Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
February 18, 2014 at 2:20 am #523085Joomla 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.
March 24, 2015 at 7:41 pm #564466Hi,
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
AuthorPostsThis 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