-
AuthorPosts
-
dieudonne Friend
dieudonne
- Join date:
- January 2011
- Posts:
- 947
- Downloads:
- 61
- Uploads:
- 266
- Thanks:
- 452
- Thanked:
- 107 times in 3 posts
November 22, 2011 at 1:37 pm #170969Hello,
there is a conflict between JA Tabs and Acy Mailing List.
I explain :
we have a module who display the lastest newletter (mod_acymailing_latest).
And when we click on a item, to see one of ours newsletters, the page appears correctly, but there is a error message :Model class archiveModelArchive not found in file
See screenshot
After a lot of test, we found that if we unpublish “System – JA Tabs” plugin, the problem disappears.
So what can we do to fix this ?
Thank in advance.
dieudonne Frienddieudonne
- Join date:
- January 2011
- Posts:
- 947
- Downloads:
- 61
- Uploads:
- 266
- Thanks:
- 452
- Thanked:
- 107 times in 3 posts
November 27, 2011 at 12:35 pm #426707@bear (not really constructive message) :
<blockquote>the issue is thats not our product generating the error nor containing the missing class. You need to contact acy.</blockquote>
Hello,
I’m already in contact with acymailing staff too, but I don’t understand.
What does mean this errors : “Model class archiveModelArchive not found in file” ?
And why when I unpublish the plugin “System – JA Tab”, this error disappear ?Thank in advance.
And here is the link to the acymailing forum :
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
November 27, 2011 at 12:45 pm #426708@dieudonne:
May i have your website URL and backend access / FTP for check the codes ?
Thank you,
Viet Vu1 user says Thank You to jooservices for this useful post
dieudonne Frienddieudonne
- Join date:
- January 2011
- Posts:
- 947
- Downloads:
- 61
- Uploads:
- 266
- Thanks:
- 452
- Thanked:
- 107 times in 3 posts
November 27, 2011 at 1:18 pm #426711@viet Vu
I PM you and give you all the acces code (and the info is already in the ticket BPP-989-49228)
Thank in advance.And for information, here is the answer from acymailing team :
<blockquote>Hello,
AcyMailing does not generate this kind of error and if it only shows up when the plugin JA Tabs is enabled then I would indeed think this error message is generated by this plugin even if the error mentions an AcyMailing class (…which does not exists at all)
I don’t see why JA Tabs would try to load that class by the way but anyway…
Can you retest it to make 100% sure it’s coming from the JA Tabs plugin which means:
1/ Enable the plugin and make sure you see the error
2/ Disable that plugin only and check that the error disappeared.If it’s indeed what happens, then I’m sure the JoomlArt team won’t have the same answer and will look a little bit deeper in that issue. </blockquote>
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
November 28, 2011 at 4:37 am #426813Hi
I’m checking w/ your issue. And as far i can see: AcyMailing was right. They are not throw out this error message.
This message come from … Joomla! core when we getInstance but not valid.
I still don’t know what’s wrong here. That’s far i know at moment.Thank you,
Viet Vujooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
November 28, 2011 at 4:53 am #426819Got !
if (!$app->isAdmin()){
JModel::addIncludePath(JPATH_SITE.'/components/com_content/models', 'ContentModel');
}
In JA Tab plugin we have this code.
JModel will include above path to use. and somehow while including it have trouble.
Errr, i’m considering it’s Joomla! bug ??!!!
Btw we can fix it at our side by use php include code only for which class we need to use instead use JModel here.I’ll fw this one to dev team.
Thank you,
1 user says Thank You to jooservices for this useful post
n6rej Friendn6rej
- Join date:
- November 2006
- Posts:
- 1040
- Downloads:
- 0
- Uploads:
- 63
- Thanks:
- 79
- Thanked:
- 145 times in 90 posts
November 28, 2011 at 8:39 am #426868since viet is handling this here I’ve closed the ticket.
dieudonne Frienddieudonne
- Join date:
- January 2011
- Posts:
- 947
- Downloads:
- 61
- Uploads:
- 266
- Thanks:
- 452
- Thanked:
- 107 times in 3 posts
November 28, 2011 at 8:40 am #426869No, please don’t close the ticket.
This bug is not solved.
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
November 28, 2011 at 9:33 am #426884<em>@dieudonne 285526 wrote:</em><blockquote>No, please don’t close the ticket.
This bug is not solved.</blockquote>
Hi
Because i’m not developer of this plugin. So i can’t much understand the purpose of code
if (!$app->isAdmin()){
JModel::addIncludePath(JPATH_SITE.'/components/com_content/models', 'ContentModel');
}But i think we are in com_content already . so their models should be loaded. And it’s mean we are fine to delete that codes.
Finally, you can go to plugin
pluginssystemjatabsjatabs.php
and delete that codeBut please make back up before just for make sure safety 🙂
This bug also raised into our bugs system . Developer will check it carefully for next release.
Thank you
update:// actually by myself i’m still consider this one as Joomla! bug not JA / Acy Mailing List bug 🙂
1 user says Thank You to jooservices for this useful post
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
November 28, 2011 at 10:04 am #426893<em>@dieudonne 285526 wrote:</em><blockquote>No, please don’t close the ticket.
This bug is not solved.</blockquote>
Nope, it is not solved but we try and keep the ticket system for the private details only. Closing the ticket on there will not affect the speed of our response to you. Over time we would like to keep as much as possible in the forums so everyone can benefit from the fixes and advice given by the team. We also have your problem in a third system, the JIRA, so please rest assured that closing the ticket on the ticket system will not be detrimental to finding a resolution to your problem.
1 user says Thank You to Phill for this useful post
dieudonne Frienddieudonne
- Join date:
- January 2011
- Posts:
- 947
- Downloads:
- 61
- Uploads:
- 266
- Thanks:
- 452
- Thanked:
- 107 times in 3 posts
November 28, 2011 at 10:16 am #426900Ok, we just try this, but it is not working.
The error disappear, but the module on our frontpage too !
(So we put the backup file to keep the ja tabs module on our frontpage)
Do you have a other solution ?
Thank in advance
update : @phil : ok, we understand. Thank for your answer.
1 user says Thank You to dieudonne for this useful post
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
November 28, 2011 at 10:25 am #426905Hi,
May i know what’s wrong w/ your frontpage with my patch ?
Actually i can help you in faster via skype. If you don’t mind.Thank you,
Viet Vups:// in my local i applied my patch and tested . everything working fine.
update in case really need use can use manually code
require_once JPATH_ROOT . DS . 'components' . DS . 'com_content' . DS . 'models' . DS . 'articles.php';
Because in this plugin i saw it’s using JModel Articles.1 user says Thank You to jooservices for this useful post
dieudonne Frienddieudonne
- Join date:
- January 2011
- Posts:
- 947
- Downloads:
- 61
- Uploads:
- 266
- Thanks:
- 452
- Thanked:
- 107 times in 3 posts
November 28, 2011 at 10:54 am #426912Sorry, we made a error.
It seems everything is all right when we delete this line.
The bugs disappear on our newsletter.Thank you very very for your help.
I put this thread to “answered” until the next release.
n6rej Friendn6rej
- Join date:
- November 2006
- Posts:
- 1040
- Downloads:
- 0
- Uploads:
- 63
- Thanks:
- 79
- Thanked:
- 145 times in 90 posts
November 28, 2011 at 9:52 pm #427005<em>@dieudonne 285575 wrote:</em><blockquote>Sorry, we made a error.
It seems everything is all right when we delete this line.
The bugs disappear on our newsletter.Thank you very very for your help.
I put this thread to “answered” until the next release.</blockquote>
I would encourage you NOT to use this solution yet… there are things that need to be further looked at. I understand your desire to get your issue resolved but I’m not convinced this is the best way. Give us a bit of time to solve this the right way.1 user says Thank You to n6rej for this useful post
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
November 29, 2011 at 2:05 am #427032<em>@n6rej 285704 wrote:</em><blockquote>I would encourage you NOT to use this solution yet… there are things that need to be further looked at. I understand your desire to get your issue resolved but I’m not convinced this is the best way. Give us a bit of time to solve this the right way.</blockquote>
Hi,
Would you mind give me the “bug” of my codeAbout this code
require_once JPATH_ROOT . DS . 'components' . DS . 'com_content' . DS . 'models' . DS . 'articles.php';
Please note this’s only replace for JModel::addIncludePath not for !app->isAdmin.And this’s code used to include model Articles directly instead via addIncludePath.
Btw glad to hear if you can give me exploit method
Thank you,
1 user says Thank You to jooservices for this useful post
AuthorPostsThis topic contains 21 replies, has 4 voices, and was last updated by jooservices 12 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum