Announcement

Collapse
No announcement yet.

Disable Blogs Error

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

  • Disable Blogs Error

    Hello, I was trying to disable the blogs and articles page temporarly from Users > Usersgroups > Channel Permissions Manager > Blogs [Deny All] and I get this error

    Click image for larger version

Name:	Screenshot 2021-02-22 at 20.00.46.png
Views:	17
Size:	923.0 KB
ID:	4454080

    And I tried the same this for Articles page but that page is like before and I can post, is not disabled.

    Any suggestions?
    Attached Files

  • #2
    Please post the text of the error and stack trace in a reply. This enables us. to see all the information instead of the partial amount of information in your screenshot.

    In addition to this, include the version of vBulletin, the version of PHP, and the version of your database server.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment


    • #3
      Server version: 10.3.27-MariaDB - MariaDB Server
      PHP version: 7.3.6
      vBulletin: v5.6.4

      PHP Code:
      Error Invalid SQLSELECT n.nodeidn.title FROM unistude_univbullclosure AS cl INNER JOIN unistude_univbullnode AS n ON n.nodeid cl.child INNER JOIN unistude_univbullgroupintopic AS git ON git.nodeid n.nodeid WHERE cl.parent AND git.groupid IN () and git.userid 1 ORDER BY title /**getGitCanStartThreads**/
      Exception trace:

      PHP Code:
      ## phar:///home/unistude/public_html/core/vb/vb.phar/database.php(1215) Exception Thrown #0 phar:///home/unistude/public_html/core/vb/vb.phar/database/mysqli.php(249): vB_Database->halt() #1 phar:///home/unistude/public_html/core/vb/vb.phar/database.php(583): vB_Database_MySQLi->execute_query(true, Object(mysqli)) #2 phar:///home/unistude/public_html/core/vb/vb.phar/db/result.php(144): vB_Database->query_read('Invalid SQL:\r\nS...', true) #3 phar:///home/unistude/public_html/core/vb/vb.phar/db/result.php(68): vB_dB_Result->rewind() #4 phar:///home/unistude/public_html/core/vb/vb.phar/db/query/stored.php(104): vB_dB_Result->__construct(Object(vB_Database_MySQLi), 'SELECT n.nodeid...', false) #5 phar:///home/unistude/public_html/core/vb/vb.phar/db/assertor.php(293): vB_dB_Query_Stored->execSQL() #6 phar:///home/unistude/public_html/core/vb/vb.phar/db/assertor.php(641): vB_dB_Assertor->assertQuery('vBForum:getGitC...', Array, false) #7 phar:///home/unistude/public_html/core/vb/vb.phar/api/user.php(6994): vB_dB_Assertor->getRows('vBForum:getGitC...', Array) #8 phar:///home/unistude/public_html/core/vb/vb.phar/api/user.php(7015): vB_Api_User->getGitCanStart('4') #9 phar:///home/unistude/public_html/core/vb/vb.phar/api/wrapper.php(205): vB_Api_User->canCreateBlogEntry('4') #10 /home/unistude/public_html/includes/api/interface/collapsed.php(105): vB_Api_Wrapper->__call('canCreateBlogEn...', Array) #11 /home/unistude/public_html/includes/vb5/template/runtime.php(1036): Api_Interface_Collapsed->callApi('user', 'canCreateBlogEn...', Array, false, true) #12 /home/unistude/public_html/includes/vb5/template.php(399) : eval()'d code(304): vB5_Template_Runtime:arseData('user', 'canCreateBlogEn...', '4') #13 /home/unistude/public_html/includes/vb5/template.php(399): eval() #14 /home/unistude/public_html/includes/vb5/template/cache.php(134): vB5_Template->render(false) #15 /home/unistude/public_html/includes/vb5/template.php(421): vB5_Template_Cache->replacePlaceholders('\r\n\t\r\n\r\n\r\n\t\r\n\t\r\n...') #16 /home/unistude/public_html/includes/vb5/template/cache.php(134): vB5_Template->render(false) #17 /home/unistude/public_html/includes/vb5/template.php(421): vB5_Template_Cache->replacePlaceholders('\r\n\t<!-- *** STA...') #18 /home/unistude/public_html/includes/vb5/template/cache.php(134): vB5_Template->render(false) #19 /home/unistude/public_html/includes/vb5/template.php(421): vB5_Template_Cache->replacePlaceholders('\r\n\t\r\n\r\n\r\n\r\n\r\n\r\n...') #20 /home/unistude/public_html/includes/vb5/template/cache.php(134): vB5_Template->render(false) #21 /home/unistude/public_html/includes/vb5/template.php(421): vB5_Template_Cache->replacePlaceholders('\r\n\t\r\n\r\n\r\n\r\n\t\r\n\t...') #22 /home/unistude/public_html/includes/vb5/template/cache.php(134): vB5_Template->render(false) #23 /home/unistude/public_html/includes/vb5/template.php(421): vB5_Template_Cache->replacePlaceholders('<!-- BEGIN: hea...') #24 /home/unistude/public_html/includes/vb5/frontend/controller/page.php(275): vB5_Template->render() #25 /home/unistude/public_html/index.php(75): vB5_Frontend_Controller_Page->index(17, '$pagenum', '4', '17') #26 {main} 

      Comment


      • #4
        Please go to Channel Management -> Channel Permissons and reset the permissions on the Blogs channel.

        Then go into each usergroup and set "Can View Channel" to No. Do you get the same error?
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        X