What's new
Xen Factory

Register today to become a member! Once signed in, you'll be able to start purchasing our products, ask questions, request support and suggest new ideas!

  • This area is dedicated to the support of our xF1 add-ons. For xF2, please use the dedicated area: HERE.
  • We are aware that a no permission error was shown when you tried to purchase in the last 2 days, this is now fixed.

Bug XF 1.5.21 // Can't make Documents working

marremp

New Member
Hi,

1. First, fatal error during install :
Fatal Error: Cannot 'break' 2 levels - library/WidgetFramework/Helper/Index.php:90
and here is the concerned part of the code :
Code:
public static function setNavtabSelected(array &$tabs, array &$extraTabs)
    {
        $selected = false;

        if (!empty($tabs['forums']))
        {
            // found "Forums" navtab, select it now
            $tabs['forums']['selected'] = true;
            $selected = true;
        }
        else
        {
            // try to select the first one from $tabs
            foreach ($tabs as &$tab)
            {
                $tab['selected'] = true;
                $selected = true;
                break;
            }

            if (!$selected)
            {
                // still not selected!?
                // try with $extraTabs now
                foreach ($extraTabs as &$tabs)
                {
                    $tab['selected'] = true;
                    $selected = true;
                    break 2;
                }
            }
        }

        return $selected;
    }

2. I removed this code, and suceeded to install Documents, but nothing is displayed in admin or public pages.

Thanks !
 

Clement

Freaky Coder
Staff member
Hello,

The error you point out is not linked to Document Manager.

It might popup during install but it's popping out from WidgetFramework (I don't anything related to this).

I would recommend uninstalling and trying to reinstall with the Widget Framework add-on inactive.

Clément
 
Top