Resource icon

[bd] Widget Framework 2.6.6

No permission to download
more comes

Code:
An exception occurred: wf_default.css - Line 98: Invalid math expression in /home/budimuzika/public_html/library/XenForo/Template/Compiler.php on line 991

    XenForo_Template_Compiler->getNewCompilerException() in XenForo/Template/Compiler/Function/Calc.php at line 189
    XenForo_Template_Compiler_Function_Calc->_parseMathExpression() in XenForo/Template/Compiler/Function/Calc.php at line 55
    XenForo_Template_Compiler_Function_Calc->compile() in XenForo/Template/Compiler.php at line 700
    XenForo_Template_Compiler->compileFunction() in XenForo/Template/Compiler.php at line 576
    XenForo_Template_Compiler->compileSegment() in XenForo/Template/Compiler.php at line 509
    XenForo_Template_Compiler->compileSegments() in XenForo/Template/Compiler.php at line 422
    XenForo_Template_Compiler->compileIntoVariable() in XenForo/Template/Compiler/Tag/Include.php at line 113
    XenForo_Template_Compiler_Tag_Include->compile() in XenForo/Template/Compiler.php at line 641
    XenForo_Template_Compiler->compileTag() in XenForo/Template/Compiler.php at line 568
    XenForo_Template_Compiler->compileSegment() in XenForo/Template/Compiler.php at line 509
    XenForo_Template_Compiler->compileSegments() in XenForo/Template/Compiler.php at line 372
    XenForo_Template_Compiler->compileParsed() in XenForo/Model/Template.php at line 1601
    XenForo_Model_Template->compileAndInsertParsedTemplate() in XenForo/Model/Template.php at line 1378
    XenForo_Model_Template->compileTemplateInStyleTree() in XenForo/Model/Template.php at line 1329
    XenForo_Model_Template->compileNamedTemplateInStyleTree() in XenForo/Model/Template.php at line 1268
    XenForo_Model_Template->compileAllTemplates() in XenForo/Deferred/Template.php at line 36
    XenForo_Deferred_Template->execute() in XenForo/Deferred/Atomic.php at line 66
    XenForo_Deferred_Atomic->execute() in XenForo/Model/Deferred.php at line 295
    XenForo_Model_Deferred->runDeferred() in XenForo/Model/Deferred.php at line 429
    XenForo_Model_Deferred->_runInternal() in XenForo/Model/Deferred.php at line 374
    XenForo_Model_Deferred->run() in XenForo/ViewRenderer/Abstract.php at line 352
    XenForo_ViewRenderer_Abstract::hasManualDeferredToRun() in XenForo/ViewRenderer/Json.php at line 147
    XenForo_ViewRenderer_Json::_addDefaultParams() in XenForo/ViewRenderer/Json.php at line 185
    XenForo_ViewRenderer_Json::jsonEncodeForOutput() in XenForo/ViewRenderer/Json.php at line 60
    XenForo_ViewRenderer_Json->renderError() in XenForo/FrontController.php at line 595
    XenForo_FrontController->renderView() in XenForo/FrontController.php at line 158
    XenForo_FrontController->run() in /home/budimuzika/public_html/admin.php at line 13
That issue has been fixed in beta 18 specifically for XenForo v1.5.8 so you may need to double check your files and make sure they are uploaded correctly.
 

Attachments

  • Screen Shot 2016-11-21 at 10.12.42 AM.webp
    Screen Shot 2016-11-21 at 10.12.42 AM.webp
    24.7 KB · Views: 18
after uplaod beta 18 files there is a error

Code:
An exception occurred: Mysqli prepare error: Unknown table 'budimuzika_muz.thread' in /home/budimuzika/public_html/library/Zend/Db/Statement/Mysqli.php on line 77

    Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115
    Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381
    Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478
    Zend_Db_Adapter_Abstract->query() in XenForo/Model.php at line 219
    XenForo_Model->fetchAllKeyed() in XenForo/Model/Thread.php at line 73
    XenForo_Model_Thread->getThreadsByIds() in WidgetFramework/Model/Thread.php at line 39
    WidgetFramework_Model_Thread->getThreadsByIdsInOrder() in WidgetFramework/WidgetRenderer/Threads.php at line 574
    WidgetFramework_WidgetRenderer_Threads->_getThreadsWithConditions() in WidgetFramework/WidgetRenderer/Threads.php at line 490
    WidgetFramework_WidgetRenderer_Threads->_getThreads() in WidgetFramework/WidgetRenderer/Threads.php at line 232
    WidgetFramework_WidgetRenderer_Threads->_render() in WidgetFramework/WidgetRenderer.php at line 728
    WidgetFramework_WidgetRenderer->render() in WidgetFramework/Core.php at line 500
    WidgetFramework_Core->renderWidget() in WidgetFramework/Core.php at line 462
    WidgetFramework_Core->renderWidgets() in WidgetFramework/Core.php at line 429
    WidgetFramework_Core->_renderWidgetsFor() in WidgetFramework/Core.php at line 312
    WidgetFramework_Core->renderWidgetsFor() in WidgetFramework/Listener.php at line 118
    WidgetFramework_Listener::template_post_render() in XenForo/CodeEvent.php at line 58
    XenForo_CodeEvent::fire() in XenForo/Template/Abstract.php at line 195
    XenForo_Template_Abstract->render() in XenForo/Template/Public.php at line 110
    XenForo_Template_Public->render() in XenForo/ViewRenderer/HtmlPublic.php at line 124
    XenForo_ViewRenderer_HtmlPublic->renderContainer() in XenForo/FrontController.php at line 639
    XenForo_FrontController->renderView() in XenForo/FrontController.php at line 158
    XenForo_FrontController->run() in /home/budimuzika/public_html/index.php at line 13
This is weird, do you edit XenForo files? The snippet in question in XenForo 1.5.8 is follow
PHP:
    public function getThreadsByIds(array $threadIds, array $fetchOptions = array())
    {
        if (!$threadIds)
        {
            return array();
        }

        $joinOptions = $this->prepareThreadFetchOptions($fetchOptions);

        return $this->fetchAllKeyed('
            SELECT thread.*
                ' . $joinOptions['selectFields'] . '
            FROM xf_thread AS thread' . $joinOptions['joinTables'] . '
            WHERE thread.thread_id IN (' . $this->_getDb()->quote($threadIds) . ')
        ', 'thread_id');
    }

It should references "xf_thread" table instead of "thread"...
 
**EDIT: Solved it by downloading new version.

What is this error?

Code:
Error Info
ErrorException: Fatal Error: Cannot 'break' 2 levels - library/WidgetFramework/Helper/Index.php:90
Generated By: Unknown Account, A moment ago
Stack Trace
#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}
Request State
array(3) {
  ["url"] => string(17) "http://domain.com/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
Last edited:
ifNOTmemberof...

I understand that XenForo_Template_Helper_Core::callHelper('ismemberof', array($visitor,5)) will only display the widget to members of group 5.

But how can I do to make the opposite... To display the widget to all registered members except those who are in group 5 ?

Thanks
 
ifNOTmemberof...

I understand that XenForo_Template_Helper_Core::callHelper('ismemberof', array($visitor,5)) will only display the widget to members of group 5.

But how can I do to make the opposite... To display the widget to all registered members except those who are in group 5 ?

Thanks

I've found the solution... :)

XenForo_Template_Helper_Core::callHelper('ismemberof', array($visitor,5)) == false
 
Does anybody know how to get this to display ONLY on XenPorta 2 Pro portal? I have this conditional {$contentTemplate} == 'EWRporta2_ArticleList' but the widget displays on every single page on my forum. Thanks.:)
 
I have a question, a pretty basic one I presume.

I created a template widget (no wrapper) and put adqt_post_new_thread_button template in the Template field. I now need to create a custom wrapper for this? (fairly basic one). Right now it is all of out of sync, I need to make sure that it is centrally aligned and the template covers the full widget width.
 
I've Widget Framework 2.5.9 in Xenforo 1.5.1 on one of my site. And I doubt it's not working proper, since the listing page of widget looks like the attached image.

Also, when I deleted one entry with data_key "simpleCache" from xf_data_registry table since I wanted to refresh my right sidebar, my right sidebar is not displaying now.

Yes I know I'm using older versions, which I need to upgrade, but still do we have any clue what could have caused this:

- Why the listing looks like that
- What is the way to clear WF cache?
- When I edit any widget with "Static HTML" content, it doesn't display that "textarea" tha should contain static HTML text, so I can't edit anything from admin side.

Any clues, what could cause above symptoms?
 

Attachments

  • widget_listing.webp
    widget_listing.webp
    84.8 KB · Views: 16
I have a question, a pretty basic one I presume.

I created a template widget (no wrapper) and put adqt_post_new_thread_button template in the Template field. I now need to create a custom wrapper for this? (fairly basic one). Right now it is all of out of sync, I need to make sure that it is centrally aligned and the template covers the full widget width.
If you need the wrapper, use the wrapper renderer. It should work with your template.

I've Widget Framework 2.5.9 in Xenforo 1.5.1 on one of my site. And I doubt it's not working proper, since the listing page of widget looks like the attached image.

Also, when I deleted one entry with data_key "simpleCache" from xf_data_registry table since I wanted to refresh my right sidebar, my right sidebar is not displaying now.

Yes I know I'm using older versions, which I need to upgrade, but still do we have any clue what could have caused this:

- Why the listing looks like that
- What is the way to clear WF cache?
- When I edit any widget with "Static HTML" content, it doesn't display that "textarea" tha should contain static HTML text, so I can't edit anything from admin side.

Any clues, what could cause above symptoms?
I think you might have issue because of mismatched installed version and files due to add-on upgrade/installation etc. Please take note of the installed [bd] Widget Framework version on the add-on list page and download that version again (from here).
 
Top Bottom