Announcement

Collapse
No announcement yet.

Error :API Error in certain requests after upgrading to vb5

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

  • Error :API Error in certain requests after upgrading to vb5



    Hi,

    I am getting a very odd issue after upgrading to vb5. In general the forum has no errors and it is going Ok, but one of the users has reported an issue when accessing the forum that I cannot reproduce, but he is always getting the same error from his PC.

    when he do a request I can see a 500 error in the apache log file:

    Code:
    X.X.X.X - - [01/Dec/2015:23:24:18 +0100] "GET /forum/ HTTP/1.1" 500 8654 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; NP06; rv:11.0) like Gecko"
    X.X.X.X - - [01/Dec/2015:23:31:31 +0100] "GET /forum/ HTTP/1.1" 500 8584 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; NP06; rv:11.0) like Gecko"
    I set debug for his IP address and this errors has appeared:


    Code:
    Error :API Error
    Controller: content_privatemessage
    Method: fetchSummary
    Error(s):
    
    array (
      0 =>
      array (
        0 => 'no_permission',
      ),
      1 =>
      array (
        0 => 'exception_trace',
        1 => '## /home/dxk5kxkl/public_html/forum/core/vb/api/content.php(913) Exception Thrown
    #0 /home/dxk5kxkl/public_html/forum/core/vb/library/node.php(2571): vB_Api_Content->getFullContent(Array)
    #1 /home/dxk5kxkl/public_html/forum/core/vb/api/node.php(3120): vB_Library_Node->listPendingPostsForCurrentUser(Array)
    #2 /home/dxk5kxkl/public_html/forum/core/vb/library/content/privatemessage.php(1135): vB_Api_Node->listPendingPostsForCurrentUser(Array)
    #3 /home/dxk5kxkl/public_html/forum/core/vb/api/content/privatemessage.php(503): vB_Library_Content_Privatemessage->fetchSummary(\'4\')
    #4 [internal function]: vB_Api_Content_Privatemessage->fetchSummary()
    #5 /home/dxk5kxkl/public_html/forum/core/vb/api/wrapper.php(129): call_user_func_array(Array, Array)
    #6 [internal function]: vB_Api_Wrapper->__call(\'fetchSummary\', Array)
    #7 [internal function]: vB_Api_Wrapper->fetchSummary()
    #8 /home/dxk5kxkl/public_html/forum/includes/api/interface/collapsed.php(189): call_user_func_array(Array, Array)
    #9 /home/dxk5kxkl/public_html/forum/includes/vb5/template/runtime.php(501): Api_Interface_Collapsed->callApi(\'content_private...\', \'fetchSummary\', Array, false, true)
    #10 /home/dxk5kxkl/public_html/forum/includes/vb5/template.php(290) : eval()\'d code(233): vB5_Template_Runtime::parseData(\'content_private...\', \'fetchSummary\')
    #11 /home/dxk5kxkl/public_html/forum/includes/vb5/template.php(290): eval()
    #12 /home/dxk5kxkl/public_html/forum/includes/vb5/template/cache.php(134): vB5_Template->render(false)
    #13 /home/dxk5kxkl/public_html/forum/includes/vb5/template.php(312): vB5_Template_Cache->replacePlaceholders(\'<!-- ##template...\')
    #14 /home/dxk5kxkl/public_html/forum/includes/vb5/frontend/controller/page.php(245): vB5_Template->render()
    #15 [internal function]: vB5_Frontend_Controller_Page->index(1, \'1\', \'1\', \'1\', \'Home Descriptio...\', 1, \'/external?type=...\', \'Home\', 1)
    #16 /home/dxk5kxkl/public_html/forum/index.php(82): call_user_func_array(Array, Array)
    #17 {main}',
      ),
    )
    
    on line 505 in /home/dxk5kxkl/public_html/forum/includes/vb5/template/runtime.php
    Step 0: showErrorPage() called on line 204 in /home/dxk5kxkl/public_html/forum/includes/vb5/applicationabstract.php
    Step 1: handleException() called
    Exception API Error
    Controller: content_privatemessage
    Method: fetchSummary
    Error(s):
    
    array (
      0 =>
      array (
        0 => 'no_permission',
      ),
      1 =>
      array (
        0 => 'exception_trace',
        1 => '## /home/dxk5kxkl/public_html/forum/core/vb/api/content.php(913) Exception Thrown
    #0 /home/dxk5kxkl/public_html/forum/core/vb/library/node.php(2571): vB_Api_Content->getFullContent(Array)
    #1 /home/dxk5kxkl/public_html/forum/core/vb/api/node.php(3120): vB_Library_Node->listPendingPostsForCurrentUser(Array)
    #2 /home/dxk5kxkl/public_html/forum/core/vb/library/content/privatemessage.php(1135): vB_Api_Node->listPendingPostsForCurrentUser(Array)
    #3 /home/dxk5kxkl/public_html/forum/core/vb/api/content/privatemessage.php(503): vB_Library_Content_Privatemessage->fetchSummary(\'4\')
    #4 [internal function]: vB_Api_Content_Privatemessage->fetchSummary()
    #5 /home/dxk5kxkl/public_html/forum/core/vb/api/wrapper.php(129): call_user_func_array(Array, Array)
    #6 [internal function]: vB_Api_Wrapper->__call(\'fetchSummary\', Array)
    #7 [internal function]: vB_Api_Wrapper->fetchSummary()
    #8 /home/dxk5kxkl/public_html/forum/includes/api/interface/collapsed.php(189): call_user_func_array(Array, Array)
    #9 /home/dxk5kxkl/public_html/forum/includes/vb5/template/runtime.php(501): Api_Interface_Collapsed->callApi(\'content_private...\', \'fetchSummary\', Array, false, true)
    #10 /home/dxk5kxkl/public_html/forum/includes/vb5/template.php(290) : eval()\'d code(233): vB5_Template_Runtime::parseData(\'content_private...\', \'fetchSummary\')
    #11 /home/dxk5kxkl/public_html/forum/includes/vb5/template.php(290): eval()
    #12 /home/dxk5kxkl/public_html/forum/includes/vb5/template/cache.php(134): vB5_Template->render(false)
    #13 /home/dxk5kxkl/public_html/forum/includes/vb5/template.php(312): vB5_Template_Cache->replacePlaceholders(\'<!-- ##template...\')
    #14 /home/dxk5kxkl/public_html/forum/includes/vb5/applicationabstract.php(346): vB5_Template->render()
    #15 /home/dxk5kxkl/public_html/forum/includes/vb5/applicationabstract.php(204): vB5_ApplicationAbstract::showErrorPage(Array, false)
    #16 [internal function]: vB5_ApplicationAbstract::handleException(Object(vB5_Exception_Api))
    #17 {main}',
      ),
    )
    It seems that there is a permission problem somewhere, but I cannot understand why this error apparently, is only got by this user.

    Vbulletin 5.1.9 PL3

    Best Regards,



Related Topics

Collapse

Working...
X