Viewing 15 posts - 1 through 15 (of 21 total)
  • Author
    Posts
  • dieudonne Friend
    #170969

    Hello,

    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.


    1. 2011-11-22-14h32_59
    dieudonne Friend
    #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 :

    http://www.acyba.com/fr/forum/2-bug-report/27543-error–model-class-archivemodelarchive-not-found-in-file.html#27795

    jooservices Friend
    #426708

    @dieudonne:
    May i have your website URL and backend access / FTP for check the codes ?
    Thank you,
    Viet Vu

    dieudonne Friend
    #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 Friend
    #426813

    Hi
    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 Vu

    jooservices Friend
    #426819

    Got !

    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,

    n6rej Friend
    #426868

    since viet is handling this here I’ve closed the ticket.

    dieudonne Friend
    #426869

    No, please don’t close the ticket.

    This bug is not solved.

    jooservices Friend
    #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 code

    But 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 🙂

    Phill Moderator
    #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.

    dieudonne Friend
    #426900

    Ok, 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.

    jooservices Friend
    #426905

    Hi,
    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 Vu

    ps:// 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.

    dieudonne Friend
    #426912

    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.

    n6rej Friend
    #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.

    jooservices Friend
    #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 code

    About 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,

Viewing 15 posts - 1 through 15 (of 21 total)

This 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