Announcement

Collapse
No announcement yet.

When forum is off a system error is displayed instead of the offline message

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • When forum is off a system error is displayed instead of the offline message

    When turning our forum off temporarily such as during an upgrade, site visitors get a system error instead of the temporary message defined in settings.I believe this has been happening ever since we upgraded from 4 to 5. I turned on debug mode to get the details below and am hoping for pointers to solve this.

    Code:
    Error :API Error
    Controller: user
    Method: checkPrivacyOption
    Error(s):
    
    array ( 0 => array ( 0 => '<p>Sorry, the Message Board is unavailable while we perform maintenance.</p> <p>We will be back soon.</p>', ), 1 => array ( 0 => 'exception_trace', 1 => '## /var/www/html/core/vb/api.php(644) Exception Thrown #0 /var/www/html/core/vb/api/wrapper.php(188): vB_Api->checkApiState(\'checkPrivacyOpt...\') #1 /var/www/html/includes/api/interface/collapsed.php(105): vB_Api_Wrapper->__call(\'checkPrivacyOpt...\', Array) #2 /var/www/html/includes/vb5/template/runtime.php(1046): Api_Interface_Collapsed->callApi(\'user\', \'checkPrivacyOpt...\', Array, false, true) #3 /var/www/html/includes/vb5/template.php(392) : eval()\'d code(117): vB5_Template_Runtime::parseData(\'user\', \'checkPrivacyOpt...\', \'enable_privacy_...\') #4 /var/www/html/includes/vb5/template.php(392): eval() #5 /var/www/html/includes/vb5/template/cache.php(134): vB5_Template->render(false) #6 /var/www/html/includes/vb5/template.php(414): vB5_Template_Cache->replacePlaceholders(\'<!-- ##template...\') #7 /var/www/html/includes/vb5/applicationabstract.php(730): vB5_Template->render() #8 /var/www/html/includes/vb5/frontend/routing.php(190): vB5_ApplicationAbstract::showMsgPage(\'\', \'<p>Sorry, the A...\', \'bbclosedreason\') #9 /var/www/html/includes/vb5/frontend/application.php(21): vB5_Frontend_Routing->setRoutes() #10 /var/www/html/index.php(48): vB5_Frontend_Application::init(\'config.php\') #11 {main}', ), )
    on line 1050 in /var/www/html/includes/vb5/template/runtime.php
    Step 0: showErrorPage() called on line 382 in /var/www/html/includes/vb5/applicationabstract.php
    Step 1: handleException() called
    Exception API Error
    Controller: user
    Method: checkPrivacyOption
    Error(s):
    
    array ( 0 => array ( 0 => '<p>Sorry, the Alpha Software Message Board is unavailable while we perform maintenance.</p> <p>We will be back soon.</p>', ), 1 => array ( 0 => 'exception_trace', 1 => '## /var/www/html/core/vb/api.php(644) Exception Thrown #0 /var/www/html/core/vb/api/wrapper.php(188): vB_Api->checkApiState(\'checkPrivacyOpt...\') #1 /var/www/html/includes/api/interface/collapsed.php(105): vB_Api_Wrapper->__call(\'checkPrivacyOpt...\', Array) #2 /var/www/html/includes/vb5/template/runtime.php(1046): Api_Interface_Collapsed->callApi(\'user\', \'checkPrivacyOpt...\', Array, false, true) #3 /var/www/html/includes/vb5/template.php(392) : eval()\'d code(117): vB5_Template_Runtime::parseData(\'user\', \'checkPrivacyOpt...\', \'enable_privacy_...\') #4 /var/www/html/includes/vb5/template.php(392): eval() #5 /var/www/html/includes/vb5/template/cache.php(134): vB5_Template->render(false) #6 /var/www/html/includes/vb5/template.php(414): vB5_Template_Cache->replacePlaceholders(\'<!-- ##template...\') #7 /var/www/html/includes/vb5/applicationabstract.php(619): vB5_Template->render() #8 /var/www/html/includes/vb5/applicationabstract.php(382): vB5_ApplicationAbstract::showErrorPage(Array, false) #9 [internal function]: vB5_ApplicationAbstract::handleException(Object(vB5_Exception_Api)) #10 {main}', ), )
    on line 1050 in /var/www/html/includes/vb5/template/runtime.php

  • #2
    See: https://forum.vbulletin.com/forum/vb...ed#post4441000
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API - Full / Mobile
    Vote for your favorite feature requests and the bugs you want to see fixed.

    Comment


    • #3
      Thank you. I had seen that discussion but was since we have a different error stack I didn't think it was the same problem. We'll look forward to the next version.

      Comment

      Related Topics

      Collapse

      Working...
      X