Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • jairodriguez Friend
    #161910

    Hello. This error screen appears in my web site administrator, when I want to edit the JA Slideshow module.
    12037 [/ attach]

    I want to edit this module in text and pictures, but the administrator show – “no permission”
    I installed Joomla 1.6.

    ¿What should I do?


    1. error_jaslideshow1
    thepcman Friend
    #383197

    I am having the same issue

    Can someone let us know how to fix this ASAP

    thuanlq Friend
    #383558

    Hi there,

    To resolve this problem, please try do as following:
    – Open the file “helper.php” in the folder “modules/mod_jaslideshow/admin/”, then find code:


    foreach($user->groups as $group)
    {
    if(in_array($group,$allowGroups)){
    $finded = true;
    break;
    }
    }
    if(!$finded)
    {
    $result['error'] = JText::_('NO_PERMISSION');
    echo json_encode($result);
    exit;
    }


    Replace to:

    foreach($user->groups as $group=>$group_id)
    {
    if(in_array($group,$allowGroups) || in_array($group_id, $allowGroups)){
    $finded = true;
    break;
    }
    }

    Find code:


    if($task!=''){

    $lang = JFactory::getLanguage();
    $lang->load('mod_jaslideshow');

    JAAdminHelper::$task();
    }

    Replace to:


    if($task!=''){

    $lang = JFactory::getLanguage();
    $lang->load('mod_jaslideshow');

    JAAdminHelper::$task();
    }

    if(!$finded)
    {
    $result['error'] = JText::_('NO_PERMISSION');
    echo json_encode($result);
    exit;
    }

    Regards,

    jairodriguez Friend
    #384299

    thuanlq, Thanks very much

    obliat Friend
    #462051

    Thank you very much as well – I had the same issue and it was a big frustration to me – other devs suggested I have server issues with hosting which was not the case – this one fixed it – maybe good idea to fix in the next module version.

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

This topic contains 5 replies, has 4 voices, and was last updated by  obliat 12 years, 3 months ago.

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