-
AuthorPosts
-
ecohaven Friend
ecohaven
- Join date:
- July 2007
- Posts:
- 56
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 8
- Thanked:
- 8 times in 1 posts
December 21, 2012 at 11:24 pm #183334Hi
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 youhere is the code from HikaShop related to JViewLegacy:
if(!HIKASHOP_J30){
class hikashopBridgeView extends JView {}
} else {
class hikashopBridgeView extends JViewLegacy {}
}Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
December 22, 2012 at 8:38 am #477179You 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 {}
}2 users say Thank You to Ninja Lead 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 22, 2012 at 10:48 am #477200Excellent, thank you.
Will I have to repeat that in the future if I upgrade the jat3 plugin?Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
December 24, 2012 at 9:11 am #477386We have fixed this error on our product and it will be released in next version.
January 19, 2013 at 5:11 pm #480463THANK YOU SOOOO MUCH!
PS.- Where’s the “Thanks” button? 😛
March 4, 2013 at 3:06 am #485182This fix worked for me as well. It was with JA social.
bettermentflux Developerbettermentflux
- Join date:
- December 2012
- Posts:
- 2
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 2
March 12, 2013 at 10:13 pm #486223Not 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 ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
April 19, 2013 at 1:23 pm #490452in 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 ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
April 22, 2013 at 10:18 am #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
1 user says Thank You to Ninja Lead for this useful post
May 8, 2015 at 8:00 am #569880Hello,
In the file, I do not have this line of code
Can you help me please ?
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
May 8, 2015 at 9:13 am #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
-
AuthorPosts
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