Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • yema Friend
    #878306

    Hi,

    Information: if you install plg_jabookmark.v2.6.0 on a fresh new site without contain Virtuemart component there is an error when you want to edit the plugin jabookmark.

    "virtuemart_categories_en_gb doesn’t exist" …

    plg_jabookmark.v2.5.9 works and we can make update after

    Pankaj Sharma Moderator
    #879691

    Hi
    I tested The plugin v2.6.0 on fresh latest Joomla installation and there is no problem found in the plugin .
    Its working fine at my end : http://prntscr.com/a0uu8b

    yema Friend
    #879730

    Hi,

    thank you for return
    Yet I am not the only one with the problem.
    I saw another topic that speaks after posting mine
    https://www.joomlart.com/forums/topic/ja-bookmark-plugin-with-virtuemart-2/

    And update after not work too!

    To resolve I had to apply this tip (page 2)

    OK, better than giving you credentials, I have tried to figure out by myself :-)

    So in k2category.php around line 109 you changed "element" to "name"
    was :

    SELECT COUNT(*) FROM #__extensions AS e WHERE e.element ='$component' AND e.enabled=1

    now is :

    SELECT COUNT(*) FROM #__extensions AS e WHERE e.name ='$component' AND e.enabled=1

    So, in vmcategory.php, I tried to also change "element" to "name"
    Was :

    ->where($db->quoteName('element').'='. $db->quote($component));

    Now is :

    ->where($db->quoteName('name').'='. $db->quote($component));

    … and yessssss ! now it works fine : no error message (cf screenshot I sent).

    But how comes that "element" works on some sites and that it has to be renamed "name" for other sites ??
    (because I have installed and tested the latest JA Bookmark, the same version, on a fresh test-site done on demojoomla.com, and there it would work fine, even without renaming "element" to "name" !)

    Pankaj Sharma Moderator
    #879736

    Hi
    Many Thanks For sharing it . It will help other users also .

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 3 replies, has 2 voices, and was last updated by  Pankaj Sharma 8 years, 2 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum