1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.3 Error during master rebuild.

Discussion in 'Troubleshooting and Problems' started by Mian Shahid, Aug 20, 2014.

  1. Mian Shahid

    Mian Shahid Well-Known Member

    Hi, when i am reverting all templates via master rebuild by clicking the [Rebuild Master Data] button, the following error occurred.

    [​IMG]
    [​IMG]

    But the real problem is that, the template "conversation_message" contains only 44 lines :(

    So, how can i fix this problem?

    2nd: I think, master rebuild only re-write/over rite manually edited templates, it doesn't do any hanky panky with those modification who done by add-ons :D
     
  2. Mian Shahid

    Mian Shahid Well-Known Member

    Wher tryied to run stopped process via ACP
    , received following errors:(

    Code:
    An exception occurred: conversation_message - Line 56: Invalid condition expression in /home/doctor/public_html/xf13/library/XenForo/Template/Compiler.php on line 991
    
    [LIST=1]
    [*]XenForo_Template_Compiler->getNewCompilerException() in XenForo/Template/Compiler.php at line 1214
    [*]XenForo_Template_Compiler->_parseConditionExpression() in XenForo/Template/Compiler.php at line 1066
    [*]XenForo_Template_Compiler->parseConditionExpression() in XenForo/Template/Compiler/Tag/If.php at line 109
    [*]XenForo_Template_Compiler_Tag_If->compile() in XenForo/Template/Compiler.php at line 641
    [*]XenForo_Template_Compiler->compileTag() in XenForo/Template/Compiler.php at line 570
    [*]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 570
    [*]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 1611
    [*]XenForo_Model_Template->compileAndInsertParsedTemplate() in XenForo/Model/Template.php at line 1378
    [*]XenForo_Model_Template->compileTemplateInStyleTree() in XenForo/Model/Template.php at line 1328
    [*]XenForo_Model_Template->compileNamedTemplateInStyleTree() in XenForo/Model/Template.php at line 1267
    [*]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 256
    [*]XenForo_Model_Deferred->runDeferred() in XenForo/Model/Deferred.php at line 390
    [*]XenForo_Model_Deferred->_runInternal() in XenForo/Model/Deferred.php at line 335
    [*]XenForo_Model_Deferred->run() in XenForo/ViewRenderer/Abstract.php at line 352
    [*]XenForo_ViewRenderer_Abstract::hasManualDeferredToRun() in XenForo/ViewRenderer/HtmlAdmin.php at line 130
    [*]XenForo_ViewRenderer_HtmlAdmin->renderContainer() in XenForo/FrontController.php at line 618
    [*]XenForo_FrontController->renderView() in XenForo/FrontController.php at line 158
    [*]XenForo_FrontController->run() in /home/doctor/public_html/xf13/admin.php at line 13
    [/LIST]
    
     
  3. Mike

    Mike XenForo Developer Staff Member

    This would likely indicate that something manipulated the database directly to insert invalid template data. Look at all your styles for a customized conversation_message template and revert it. That should allow the rebuild to continue.

    If you can't find anything like this, try disabling all add-ons in the ACP as there may be a template modification (though XF does do a test compile to ensure they don't break things).
     
  4. Mian Shahid

    Mian Shahid Well-Known Member

    Before revert, "Template Modification System" were disabled, after error i tried to enable it when the above message occurred (post 2). now again i tried to disable it the same error occurred
    [​IMG]

    all other add-on disabled successfully

    Anyhow, after doing this all things, i got the message which i am looking for :D
    [​IMG]

    Thanks Mike. :)
     
  5. Mian Shahid

    Mian Shahid Well-Known Member

    is modified templates name showing in red or not?

    [​IMG]

    I have some mix up in my mind, live board this is still showing in red
    [​IMG]

    but not in test forum which is in debug mode :eek: is there really anything wrong or just i need some rest :D
     

Share This Page