VB 5.2.2 AdminCP User Manager is broken?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ep0ch
    Member
    • Jan 2015
    • 41
    • 5.1.x

    VB 5.2.2 AdminCP User Manager is broken?

    Hi, can someone please confirm if User Manager is broken in 5.2.2, if so i will create another bug.

    Steps to reproduce:
    Login to AdminCP
    Users -> Search For user
    Search for a user and select them (if the search was not unique)

    What happens to you? Do you get the normal User Manager page?
    Or like me you get your forum displayed within the User Manager page instead of the User Details, the screen shows the following message:

    "That action could not be completed. Please try again, and if this occurs again please contact the system administrator and tell them how you got this message."

    See below for screenshot. image blurred to protect the innocent

    Click image for larger version

Name:	Untitled.png
Views:	314
Size:	185.8 KB
ID:	4343301
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 73981

    #2
    I cannot recreate this issue on this site, my cloud site, or a test installation on my local server. All the links under User work properly. What is the URL in your browser's address bar?

    Translations provided by Google.

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

    Comment

    • ep0ch
      Member
      • Jan 2015
      • 41
      • 5.1.x

      #3
      Hi Wayne,

      The URL is:
      https://<mysite>/admincp/index.php

      Sorry I can't give out the full URL.

      However, here is my php7-fpm output
      Code:
      [23-May-2016 13:29:49] NOTICE: fpm is running, pid 1
      [23-May-2016 13:29:49] NOTICE: ready to handle connections
      [23-May-2016 13:29:58] WARNING: [pool www] child 8 said into stderr: "NOTICE: PHP message: PHP Fatal error:  Uncaught Error: Call to a member function hasAdminPermission() on null in /var/lib/nginx/hsg_vb5/core/vb/api/wrapper.php:170"
      [23-May-2016 13:29:58] WARNING: [pool www] child 8 said into stderr: "Stack trace:"
      [23-May-2016 13:29:58] WARNING: [pool www] child 8 said into stderr: "#0 /var/lib/nginx/hsg_vb5/includes/api/interface/collapsed.php(198): vB_Api_Wrapper->__call('fetchCurrentUse...', Array)"
      [23-May-2016 13:29:58] WARNING: [pool www] child 8 said into stderr: "#1 /var/lib/nginx/hsg_vb5/includes/vb5/user.php(51): Api_Interface_Collapsed->callApi('user', 'fetchCurrentUse...', Array)"
      [23-May-2016 13:29:58] WARNING: [pool www] child 8 said into stderr: "#2 /var/lib/nginx/hsg_vb5/includes/vb5/user.php(40): vB5_User->__construct()"
      [23-May-2016 13:29:58] WARNING: [pool www] child 8 said into stderr: "#3 /var/lib/nginx/hsg_vb5/includes/vb5/user.php(75): vB5_User::instance()"
      [23-May-2016 13:29:58] WARNING: [pool www] child 8 said into stderr: "#4 /var/lib/nginx/hsg_vb5/includes/vb5/string.php(403): vB5_User::get('lang_charset')"
      [23-May-2016 13:29:58] WARNING: [pool www] child 8 said into stderr: "#5 /var/lib/nginx/hsg_vb5/includes/vb5/applicationabstract.php(378): vB5_String::getCharset()"
      [23-May-2016 13:29:58] WARNING: [pool www] child 8 said into stderr: "#6 /var/lib/nginx/hsg_vb5/includes/vb5/applicationabstract.php(296): vB5_ApplicationAbstract::setCharset()"
      [23-May-2016 13:29:58] WARNING: [pool www] child 8 said into stderr: "#7 /var/lib/nginx/hsg_vb5/includes/vb5/applicationabstract.php(424): vB5_ApplicationAbstract::minErrorPage(false, Object(vB_Exception_Database), Array)"
      [23-May-2016 13:29:58] WARNING: [pool www] child 8 said into stderr: "#8 /var/l..."

      Comment

      • Mark.B
        vBulletin Support
        • Feb 2004
        • 24286
        • 6.0.X

        #4
        Is your admin account a superadmin?
        MARK.B
        vBulletin Support
        ------------
        My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
        My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

        Comment

        • Wayne Luke
          vBulletin Technical Support Lead
          • Aug 2000
          • 73981

          #5
          Actually looks like you logged out. AdminCP sessions only last for an hour.
          Translations provided by Google.

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

          Comment

          • ep0ch
            Member
            • Jan 2015
            • 41
            • 5.1.x

            #6
            Is your admin account a superadmin?
            sure is

            Comment

            • ep0ch
              Member
              • Jan 2015
              • 41
              • 5.1.x

              #7
              Originally posted by Wayne Luke
              Actually looks like you logged out. AdminCP sessions only last for an hour.
              I did not log out, nor did my session expire. maybe something to do with being super admin

              Comment

              • Wayne Luke
                vBulletin Technical Support Lead
                • Aug 2000
                • 73981

                #8
                Just looking at your error. The UserID is considered to be Null. In PHP, a 0 can trigger the same depending on how it evaluates the variables. As such, you have no user permissions and cannot perform administrator actions.
                Translations provided by Google.

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

                Comment

                • ep0ch
                  Member
                  • Jan 2015
                  • 41
                  • 5.1.x

                  #9
                  i seem to be able to access every other admin page in admincp. The other admin on the site also has the same issue. he's also super admin

                  Comment

                  • ep0ch
                    Member
                    • Jan 2015
                    • 41
                    • 5.1.x

                    #10
                    any ideas? could it be php7 related?

                    Comment

                    • Mark.B
                      vBulletin Support
                      • Feb 2004
                      • 24286
                      • 6.0.X

                      #11
                      Is your account set as a superadmin via /core/includes/config.php? As opposed to just having full admin permissions.
                      MARK.B
                      vBulletin Support
                      ------------
                      My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
                      My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

                      Comment

                      • ep0ch
                        Member
                        • Jan 2015
                        • 41
                        • 5.1.x

                        #12
                        Yes, user ID 1 and 18 is in that file

                        Comment

                        • ep0ch
                          Member
                          • Jan 2015
                          • 41
                          • 5.1.x

                          #13
                          i think that php error is a red herring. is there any debug code i could add somewhere?

                          Comment

                          • Trevor Hannant
                            vBulletin Support
                            • Aug 2002
                            • 24325
                            • 5.7.X

                            #14
                            You can enable debug mode on your site:

                            Debug mode is useful for development purposes- it is required if you will be creating VB5 Modifications you intend to distribute for others to download. However it is also useful for trouble-shooting issues with your site as debug mode often provides more specific error messages when something goes wrong- as such if you are
                            Vote for:

                            - Admin Settable Paid Subscription Reminder Timeframe (vB6)
                            - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

                            Comment

                            • ep0ch
                              Member
                              • Jan 2015
                              • 41
                              • 5.1.x

                              #15
                              Thanks, this is the error I get instead of "This action could not be completed......." (in the above screenshot).

                              Worth mentioning that user.php?do=add works but user.php?do=edit does not.

                              Code:
                              Debug: Error
                              <b>API Error</b><br><b>Error:</b> node_permission_section<br><b>Args:</b><br><pre style="font-family:Lucida Console,Monaco5,monospace;font-size:small;overflow:auto;border:1px solid #CCC;">array ( 0 =&gt; 'privatemessage', )</pre>
                              occurred in file /var/lib/nginx/hsg_vb5/core/vb5/route/privatemessage/new.php on line 41
                              Trace[LIST][*]Function __construct in file /var/lib/nginx/hsg_vb5/core/vb5/route/privatemessage.php line 32[*]Function __construct in file /var/lib/nginx/hsg_vb5/core/vb5/route.php line 1122[*]Function buildUrl in file /var/lib/nginx/hsg_vb5/core/admincp/user.php line 265[*]Function require_once in file /var/lib/nginx/hsg_vb5/includes/api/interface/collapsed.php line 230[*]Function relay in file /var/lib/nginx/hsg_vb5/includes/vb5/frontend/controller/relay.php line 39[*]Function admincp in file /var/lib/nginx/hsg_vb5/index.php line 84[/LIST]
                              and debug info at the bottom with database asserts expanded:

                              Code:
                               [B]Debug Information[/B][LIST][*]Page ID:[*]Parent ID:[*]Page Template ID:[*]Route ID:[*]Page Type:[*]Screen Layout ID:[*]Screen Layout Template:[*]Channel ID:[*]Node ID:[*]Database Asserts: [B]77[/B] ([B][URL="https://forums.hs-group.net/admincp/user.php?do=edit&u=5&querylist=1&explain=1"]?[/URL][/B])[LIST=1][*]0- session: array ( '#filters' => array ( 0 => array ( 'field' => 'sessionhash', 'value' => '86a8ab7209cc002f5ed249faf4027f4a', 'operator' => 'EQ', ), 1 => array ( 'field' => 'lastactivity', 'value' => 146430020...[*]1- cache: array ( 'cacheid' => array ( 0 => 'vb_UserWPerms_18_1', ), )[*]2- cache: array ( 'cacheid' => array ( 0 => 'vB_UserPerms18', ), )[*]3- fetchLanguage: array ( 'languageid' => '1', 'phrasegroups' => array ( ), )[*]4- vBForum:getRouteFromChGuid: array ( 'guid' => array ( 0 => 'vbulletin-4ecbdf567f2773.55528984', 1 => 'vbulletin-4ecbdf567f2c35.70389590', 2 => 'vbulletin-4ecbdf567f3341.44450667', 3 => 'vbulletin-4ecbdf567f3341.44450666', 4 => 'vbulletin-4ecbdf567f3a38.995553...[*]5- routenew: array ( 'prefix' => array ( 0 => 'admincp/user.php', 1 => 'admincp', ), )[*]6- style: array ( 'styleid' => '15', '#limit' => 1, )[*]7- session: array ( '#filters' => array ( 0 => array ( 'field' => 'sessionhash', 'value' => '86a8ab7209cc002f5ed249faf4027f4a', 'operator' => 'EQ', ), 1 => array ( 'field' => 'lastactivity', 'value' => 146430020...[*]8- fetchLanguage: array ( 'languageid' => '1', 'phrasegroups' => array ( 0 => 'cpuser', 1 => 'forum', 2 => 'timezone', 3 => 'user', 4 => 'cprofilefield', 5 => 'subscription', 6 => 'banning', 7 => 'profilefield', 8 => 'global', ...[*]9- vBForum:getContentTypes: array ( )[*]10- vBForum:getChannel: array ( 'include_parent' => 1, 'includeProtected' => 1, 'contenttypeid' => '23', '#limit' => 500, 'no_limit' => true, 'no_perm_check' => false, 'sort' => array ( 'parentid' => 'asc', 'displayorder' => 'asc', ), )[*]11- vBForum:node: array ( '#columns' => array ( 0 => 'nodeid', ), '#filters' => array ( 0 => array ( 'field' => 'nodeid', 'value' => array ( 0 => '1', 1 => '2', 2 => '38593', 3 => '5', 4 => ...[*]12- vBForum:permission: array ( 'groupid' => '6', )[*]13- vBForum:style: array ( 'styleid' => 15, '#limit' => 1, )[*]14- cpsession: array ( '#filters' => array ( 0 => array ( 'field' => 'userid', 'operator' => 'EQ', 'value' => '18', ), 1 => array ( 'field' => 'hash', 'operator' => 'EQ', 'value' => '182dac966f258a694dae50b14...[*]15- cpSessionUpdate: array ( 'timenow' => 1464302003, 'userid' => '18', 'hash' => '182dac966f258a694dae50b141ab9ba1', )[*]16- vBForum:adminlog: array ( 'userid' => '18', 'dateline' => 1464302003, 'script' => 'user.php', 'action' => 'edit', 'extrainfo' => 'user id = 5', 'ipaddress' => '192.168.1.1', )[*]17- vBForum:subscriptionpermission: array ( )[*]18- vBForum:subscription: array ( )[*]19- routenew: array ( '#filters' => array ( 0 => array ( 'field' => 'name', 'operator' => 'IS NOT NULL', ), ), )[*]20- phrase: array ( 'varname' => array ( 0 => '<b>API Error</b><br><b>Error:</b> node_permission_section<br><b>Args:</b><br><pre style="font-family:Lucida Console,Monaco5,monospace;font-size:small;overflow:auto;border:1px solid #CCC;">array ( 0 =&gt; \'priv...[*]21- template: array ( 'templateid' => array ( 0 => 6730, ), )[*]22- template: array ( 'templateid' => array ( 0 => 6450, ), )[*]23- template: array ( 'templateid' => array ( 0 => 6699, 1 => 6718, ), )[*]24- user: array ( 'userid' => '18', )[*]25- vBForum:messagefolder: array ( 'userid' => '18', )[*]26- phrase: array ( 'varname' => 'infractions', 'languageid' => array ( 0 => -1, 1 => '1', ), '#limit' => 1, )[*]27- phrase: array ( 'varname' => 'deleted_items', 'languageid' => array ( 0 => -1, 1 => '1', ), '#limit' => 1, )[*]28- phrase: array ( 'varname' => 'trash', 'languageid' => array ( 0 => -1, 1 => '1', ), '#limit' => 1, )[*]29- phrase: array ( 'varname' => 'messages', 'languageid' => array ( 0 => -1, 1 => '1', ), '#limit' => 1, )[*]30- phrase: array ( 'varname' => 'sent_items', 'languageid' => array ( 0 => -1, 1 => '1', ), '#limit' => 1, )[*]31- phrase: array ( 'varname' => 'your_notifications', 'languageid' => array ( 0 => -1, 1 => '1', ), '#limit' => 1, )[*]32- phrase: array ( 'varname' => 'requests', 'languageid' => array ( 0 => -1, 1 => '1', ), '#limit' => 1, )[*]33- phrase: array ( 'varname' => 'pending_posts', 'languageid' => array ( 0 => -1, 1 => '1', ), '#limit' => 1, )[*]34- vBForum:getUnreadSystemMsgCount: array ( 'userid' => '18', '#limit' => 1, )[*]35- vBForum:getOpenReportsCount: array ( '#limit' => 1, )[*]36- vBForum:fetchNotificationCount: array ( 'readFilter' => 'unread_only', 'userid' => '18', '#limit' => 1, )[*]37- vBForum:messageSummary: array ( 'userid' => '18', )[*]38- phrase: array ( 'varname' => 'messages', 'languageid' => array ( 0 => -1, 1 => '1', ), '#limit' => 1, )[*]39- phrase: array ( 'varname' => 'sent_items', 'languageid' => array ( 0 => -1, 1 => '1', ), '#limit' => 1, )[*]40- phrase: array ( 'varname' => 'trash', 'languageid' => array ( 0 => -1, 1 => '1', ), '#limit' => 1, )[*]41- phrase: array ( 'varname' => 'requests', 'languageid' => array ( 0 => -1, 1 => '1', ), '#limit' => 1, )[*]42- vBForum:fetchNotificationCount: array ( 'readFilter' => 'unread_only', 'userid' => '18', '#limit' => 1, )[*]43- phrase: array ( 'varname' => 'your_notifications', 'languageid' => array ( 0 => -1, 1 => '1', ), '#limit' => 1, )[*]44- phrase: array ( 'varname' => array ( 0 => 'pending_posts', 1 => 'infractions', 2 => 'deleted_items', ), 'languageid' => array ( 0 => '1', 1 => 0, 2 => -1, ), '#columns' => array ( 0 => 'varname', 1 => 'languageid'...[*]45- vBForum:messagefolder: array ( 'titlephrase' => 'pending_posts', 'userid' => 18, )[*]46- vBForum:fetchPendingPosts: array ( '#limit_page' => 1, '#limit' => 20, 'canModerate' => array ( 0 => '1', 1 => '2', 2 => '4', 3 => '9', 4 => '38593', 5 => '3', 6 => '5', 7 => '10', 8 => '38592', 9 => '6', 10 => '11', 11 => '17...[*]47- vBForum:fetchPendingPostsCount: array ( 'canModerate' => array ( 0 => '1', 1 => '2', 2 => '4', 3 => '9', 4 => '38593', 5 => '3', 6 => '5', 7 => '10', 8 => '38592', 9 => '6', 10 => '11', 11 => '17380', 12 => '8', 13 => '12', ...[*]48- vBForum:messagefolder: array ( 'titlephrase' => 'infractions', 'userid' => 18, )[*]49- vBForum:messagefolder: array ( 'titlephrase' => 'deleted_items', 'userid' => 18, )[*]50- vbForum:fetchAvatarsForUsers: array ( 'userid' => array ( 18 => '18', ), )[*]51- vBForum:site: array ( '#filters' => array ( 0 => array ( 'field' => 'siteid', 'value' => '1', ), ), '#limit' => 1, )[*]52- template: array ( 'templateid' => array ( 0 => 6728, 1 => 6241, 2 => 6236, 3 => 6582, 4 => 6729, ), )[*]53- style: array ( '#filters' => array ( 'styleid' => array ( 0 => 20, 1 => 2, 2 => 5, 3 => 21, 4 => 16, 5 => 23, 6 => 3, 7 => 15, 8 => 25, 9 => 17, 10 => 27, 11 => 4, 12 => 2...[*]54- vBForum:channel: array ( 'guid' => array ( 'forum' => 'vbulletin-4ecbdf567f2c35.70389590', 'blog' => 'vbulletin-4ecbdf567f3a38.99555305', 'groups' => 'vbulletin-4ecbdf567f3a38.99555306', 'articles' => 'vbulletin-c-cmshome5229fa38b251e2.92227401', '...[*]55- vBDbSearch:searchlog: array ( '#filters' => array ( 0 => array ( 'field' => 'searchhash', 'value' => array ( 0 => '4951d4e12d3ada164eab0ad75096e353', ), 'operator' => 'EQ', ), 1 => array ( 'field' => 'useri...[*]56- usergroup: array ( )[*]57- vBForum:permission: array ( )[*]58- vBForum:moderator: array ( 'userid' => 18, )[*]59- vBDBSearch:getSearchResults: array ( 'criteria' => vB_Search_Criteria::__set_state(array( 'keywords' => array ( ), 'raw_keywords' => '', 'ignored_keywords' => array ( ), 'titleonly' => false, 'include_starter' => false, 'depth' => 1...[*]60- vBDBSearch:cacheResults: array ( 'fields' => array ( 'type' => 0, 'userid' => '18', 'ipaddress' => '192.168.1.1', 'searchhash' => '4951d4e12d3ada164eab0ad75096e353', 'sortby' => 'displayorder', 'sortorder' => 'asc', 'searchtime' => 0.00039482116699...[*]61- vBDbSearch:searchlog: array ( 'searchlogid' => 5549425, '#limit' => 1, )[*]62- cache: array ( 'cacheid' => array ( 0 => 'node_38594_lvl1data', 1 => 'node_41785_lvl1data', 2 => 'node_38598_lvl1data', ), )[*]63- cache: array ( 'cacheid' => array ( 0 => 'node_2_lvl1data', ), )[*]64- routenew: array ( 'routeid' => array ( 0 => '43', ), )[*]65- vBForum:getNodeVotes: array ( 'userid' => '18', 'nodeid' => array ( 0 => '38594', 1 => '41785', 2 => '38598', ), )[*]66- cache: array ( 'cacheid' => array ( 0 => 'vBAtchmnts_38594', 1 => 'vBAtchmnts_41785', 2 => 'vBAtchmnts_38598', ), )[*]67- noderead: array ( 'userid' => '18', 'nodeid' => array ( 0 => '2', 1 => '2', 2 => '2', 3 => '38594', 4 => '41785', 5 => '38598', ), )[*]68- cache: array ( 'cacheid' => array ( 0 => 'node_38594_lvl3data', 1 => 'node_41785_lvl3data', 2 => 'node_38598_lvl3data', ), )[*]69- phrase: array ( 'varname' => array ( 0 => 'infraction_for_x_y', 1 => 'infraction_for_x_y_in_topic_z', 2 => 'warning_for_x_y', 3 => 'warning_for_x_y_in_topic_z', 4 => 'infraction_topic_post', 5 => 'infraction_topic_profile', 6 => 'i...[*]70- cache: array ( 'cacheid' => array ( 0 => 'vB_UserPerms0', ), )[*]71- vbForum:fetchAvatarsForUsers: array ( 'userid' => array ( 167 => '167', 268 => '268', 272 => '272', ), )[*]72- template: array ( 'templateid' => array ( 0 => 6237, 1 => 6239, ), )[*]73- template: array ( 'templateid' => array ( 0 => 952, ), )[*]74- phrase: array ( 'varname' => array ( 0 => 'debug_error_x_y_z', 1 => 'trace', 2 => 'trace_x_y_z', 3 => 'configure_site', 4 => 'messages_header', 5 => 'my_profile', 6 => 'my_recent_posts', 7 => 'user_settings', 8 => 'log_out'...[*]75- routenew: array ( 'routeid' => array ( 0 => 'privatemessage', 1 => 'profile', 2 => 'settings', 3 => 'search', ), )[*]76- template: array ( 'templateid' => array ( 0 => 6716, ), )[/LIST][*]AJAX Requests: [B]0[/B][*]Facebook Active: [B]No[/B] (Not enabled or no appid & secret set)[*]Style ID: [B]15[/B][*]Templates/Renders: [B]15/18[/B][*]CSS Templates: [B]9[/B][*]JS Files: [B]4[/B][*]Included Files: [B]158[/B][*]Autoloaded Classes: [B]145[/B][*]Current Time: [B]Thu, 26 May 2016 23:33:23 +0000[/B][*]Page Time:[/LIST]

                              Last edited by ep0ch; Thu 26 May '16, 2:47pm.

                              Comment

                              Related Topics

                              Collapse

                              Working...