-
AuthorPosts
-
it4inc Friend
it4inc
- Join date:
- May 2010
- Posts:
- 13
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 2
- Thanked:
- 2 times in 1 posts
March 14, 2011 at 3:19 am #161405Using the Communty Plus template (on Joomla 1.6) and the Easyblog extension, I get the error:
Fatal error: Cannot redeclare class JView in /home/pcw/public_html/plugins/system/jat3/jat3/core/joomla/view.php on line 743
The error happens when using certain functions.
I found a post on the Easyblog forum that this is a problem when using SEF and the Joomlart templates with JAT3. The resolution said to add the following code:
function onAfterInitialise()
{
t3import (‘core.joomla.view’);
}Where should I place this code and in what file?
Thank you!
it4inc Friendit4inc
- Join date:
- May 2010
- Posts:
- 13
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 2
- Thanked:
- 2 times in 1 posts
March 16, 2011 at 2:25 pm #381665<em>@it4inc 227430 wrote:</em><blockquote>Using the Communty Plus template (on Joomla 1.6) and the Easyblog extension, I get the error:
Fatal error: Cannot redeclare class JView in /home/pcw/public_html/plugins/system/jat3/jat3/core/joomla/view.php on line 743
The error happens when using certain functions.
I found a post on the Easyblog forum that this is a problem when using SEF and the Joomlart templates with JAT3. The resolution said to add the following code:
function onAfterInitialise()
{
t3import (‘core.joomla.view’);
}Where should I place this code and in what file?
Thank you!</blockquote>
The staff at Stack Ideas (easyblog) fixed this for me. Solution was to add the following to the class in the file ‘JOOMLA/plugins/system/jat3/jat3.php’
function onAfterInitialise()
{
t3import (‘core.joomla.view’);
}gnappoman2 users say Thank You to it4inc for this useful post
sunrise Friendsunrise
- Join date:
- February 2007
- Posts:
- 920
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 103
- Thanked:
- 166 times in 114 posts
April 4, 2011 at 10:35 am #384769Hi it4inc,
Thanks for sharing that bit of info, Saved me a lot of trouble. I just came up with the same problem, using EasyBlog, and found your solution.
At first I was not sure where in the file to put it, and maybe it does not really matter. The first time I put it at the end and got an error message. THen I tried somewhere in the middle, right before another function. Same error message. Then I realized that the problem was that I should not add the last word “gnappoman”.
so waht is to be added is just
function onAfterInitialise()
{
t3import (‘core.joomla.view’);
}Maybe that will save someone else the same trouble.
Have a great day.:)
1 user says Thank You to sunrise for this useful post
May 5, 2011 at 6:17 pm #390012<em>@sunrise 232151 wrote:</em><blockquote>Hi it4inc,
Thanks for sharing that bit of info, Saved me a lot of trouble. I just came up with the same problem, using EasyBlog, and found your solution.
At first I was not sure where in the file to put it, and maybe it does not really matter. The first time I put it at the end and got an error message. THen I tried somewhere in the middle, right before another function. Same error message. Then I realized that the problem was that I should not add the last word “gnappoman”.
so waht is to be added is just
function onAfterInitialise()
{
t3import (‘core.joomla.view’);
}Maybe that will save someone else the same trouble.
Have a great day.:)</blockquote>
This is the solution that works!!!
I use Purity II and added the code on line 106 in the above file, and it did the trick 😀
Thank you very much!
May 28, 2011 at 3:03 am #393289Hi, could u pls help me fix this issue in joomla 1.5? I dont know how to fix this :-s
Tnk/ Brgds
<em>@coopoli 238810 wrote:</em><blockquote>This is the solution that works!!!
I use Purity II and added the code on line 106 in the above file, and it did the trick 😀
Thank you very much!</blockquote>
December 21, 2012 at 11:54 am #477082Hi,
I have a similar problem as described above, however, concerns the addition EasyDisscus.
In general, the addition of installed and activated. When I click on a thread example appears:
Fatal error: Can not redeclare class JView in / home/fpress/public_html/plugins/system/jat3v3/includes/joomla25/view.php on line 787I tried to add the file view.php and jat3v3.php such lines
onAfterInitialise function ()
{
t3import (‘core.joomla.view’);
}
Unfortunately, to no avail. Please help me.Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
December 28, 2012 at 2:13 am #477690Hi,
Does it work with other default template which doesn’t using JAT3 framework?
PM me admin and FTP account so that I can check for you.
-
AuthorPosts
This topic contains 7 replies, has 6 voices, and was last updated by Saguaros 11 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum