Announcement

Collapse
No announcement yet.

VB 5.2.2 AdminCP User Manager is broken?

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

  • 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:	1
Size:	185.8 KB
ID:	4343301

  • #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 customization and demonstration site.
    vBulletin 5 Documentation - Updated every Friday. Report issues here.
    vBulletin 5 API - Full / Mobile
    I am not currently available for vB Messenger Chats.

    Comment


    • #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


      • #4
        Is your admin account a superadmin?
        MARK.B | vBULLETIN SUPPORT

        TalkNewsUK - My vBulletin 5.4.4 Demo
        AdminAmmo - My Cloud Demo

        Comment


        • #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 customization and demonstration site.
          vBulletin 5 Documentation - Updated every Friday. Report issues here.
          vBulletin 5 API - Full / Mobile
          I am not currently available for vB Messenger Chats.

          Comment


          • #6
            Is your admin account a superadmin?
            sure is

            Comment


            • #7
              Originally posted by Wayne Luke View Post
              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


              • #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 customization and demonstration site.
                vBulletin 5 Documentation - Updated every Friday. Report issues here.
                vBulletin 5 API - Full / Mobile
                I am not currently available for vB Messenger Chats.

                Comment


                • #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


                  • #10
                    any ideas? could it be php7 related?

                    Comment


                    • #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

                      TalkNewsUK - My vBulletin 5.4.4 Demo
                      AdminAmmo - My Cloud Demo

                      Comment


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

                        Comment


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

                          Comment


                          • #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
                            • 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
                            and debug info at the bottom with database asserts expanded:

                            Code:
                             Debug Information
                            • Page ID:
                            • Parent ID:
                            • Page Template ID:
                            • Route ID:
                            • Page Type:
                            • Screen Layout ID:
                            • Screen Layout Template:
                            • Channel ID:
                            • Node ID:
                            • Database Asserts: 77 (?)
                              1. 0- session: array ( '#filters' => array ( 0 => array ( 'field' => 'sessionhash', 'value' => '86a8ab7209cc002f5ed249faf4027f4a', 'operator' => 'EQ', ), 1 => array ( 'field' => 'lastactivity', 'value' => 146430020...
                              2. 1- cache: array ( 'cacheid' => array ( 0 => 'vb_UserWPerms_18_1', ), )
                              3. 2- cache: array ( 'cacheid' => array ( 0 => 'vB_UserPerms18', ), )
                              4. 3- fetchLanguage: array ( 'languageid' => '1', 'phrasegroups' => array ( ), )
                              5. 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...
                              6. 5- routenew: array ( 'prefix' => array ( 0 => 'admincp/user.php', 1 => 'admincp', ), )
                              7. 6- style: array ( 'styleid' => '15', '#limit' => 1, )
                              8. 7- session: array ( '#filters' => array ( 0 => array ( 'field' => 'sessionhash', 'value' => '86a8ab7209cc002f5ed249faf4027f4a', 'operator' => 'EQ', ), 1 => array ( 'field' => 'lastactivity', 'value' => 146430020...
                              9. 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', ...
                              10. 9- vBForum:getContentTypes: array ( )
                              11. 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', ), )
                              12. 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 => ...
                              13. 12- vBForum:permission: array ( 'groupid' => '6', )
                              14. 13- vBForum:style: array ( 'styleid' => 15, '#limit' => 1, )
                              15. 14- cpsession: array ( '#filters' => array ( 0 => array ( 'field' => 'userid', 'operator' => 'EQ', 'value' => '18', ), 1 => array ( 'field' => 'hash', 'operator' => 'EQ', 'value' => '182dac966f258a694dae50b14...
                              16. 15- cpSessionUpdate: array ( 'timenow' => 1464302003, 'userid' => '18', 'hash' => '182dac966f258a694dae50b141ab9ba1', )
                              17. 16- vBForum:adminlog: array ( 'userid' => '18', 'dateline' => 1464302003, 'script' => 'user.php', 'action' => 'edit', 'extrainfo' => 'user id = 5', 'ipaddress' => '192.168.1.1', )
                              18. 17- vBForum:subscriptionpermission: array ( )
                              19. 18- vBForum:subscription: array ( )
                              20. 19- routenew: array ( '#filters' => array ( 0 => array ( 'field' => 'name', 'operator' => 'IS NOT NULL', ), ), )
                              21. 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...
                              22. 21- template: array ( 'templateid' => array ( 0 => 6730, ), )
                              23. 22- template: array ( 'templateid' => array ( 0 => 6450, ), )
                              24. 23- template: array ( 'templateid' => array ( 0 => 6699, 1 => 6718, ), )
                              25. 24- user: array ( 'userid' => '18', )
                              26. 25- vBForum:messagefolder: array ( 'userid' => '18', )
                              27. 26- phrase: array ( 'varname' => 'infractions', 'languageid' => array ( 0 => -1, 1 => '1', ), '#limit' => 1, )
                              28. 27- phrase: array ( 'varname' => 'deleted_items', 'languageid' => array ( 0 => -1, 1 => '1', ), '#limit' => 1, )
                              29. 28- phrase: array ( 'varname' => 'trash', 'languageid' => array ( 0 => -1, 1 => '1', ), '#limit' => 1, )
                              30. 29- phrase: array ( 'varname' => 'messages', 'languageid' => array ( 0 => -1, 1 => '1', ), '#limit' => 1, )
                              31. 30- phrase: array ( 'varname' => 'sent_items', 'languageid' => array ( 0 => -1, 1 => '1', ), '#limit' => 1, )
                              32. 31- phrase: array ( 'varname' => 'your_notifications', 'languageid' => array ( 0 => -1, 1 => '1', ), '#limit' => 1, )
                              33. 32- phrase: array ( 'varname' => 'requests', 'languageid' => array ( 0 => -1, 1 => '1', ), '#limit' => 1, )
                              34. 33- phrase: array ( 'varname' => 'pending_posts', 'languageid' => array ( 0 => -1, 1 => '1', ), '#limit' => 1, )
                              35. 34- vBForum:getUnreadSystemMsgCount: array ( 'userid' => '18', '#limit' => 1, )
                              36. 35- vBForum:getOpenReportsCount: array ( '#limit' => 1, )
                              37. 36- vBForum:fetchNotificationCount: array ( 'readFilter' => 'unread_only', 'userid' => '18', '#limit' => 1, )
                              38. 37- vBForum:messageSummary: array ( 'userid' => '18', )
                              39. 38- phrase: array ( 'varname' => 'messages', 'languageid' => array ( 0 => -1, 1 => '1', ), '#limit' => 1, )
                              40. 39- phrase: array ( 'varname' => 'sent_items', 'languageid' => array ( 0 => -1, 1 => '1', ), '#limit' => 1, )
                              41. 40- phrase: array ( 'varname' => 'trash', 'languageid' => array ( 0 => -1, 1 => '1', ), '#limit' => 1, )
                              42. 41- phrase: array ( 'varname' => 'requests', 'languageid' => array ( 0 => -1, 1 => '1', ), '#limit' => 1, )
                              43. 42- vBForum:fetchNotificationCount: array ( 'readFilter' => 'unread_only', 'userid' => '18', '#limit' => 1, )
                              44. 43- phrase: array ( 'varname' => 'your_notifications', 'languageid' => array ( 0 => -1, 1 => '1', ), '#limit' => 1, )
                              45. 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'...
                              46. 45- vBForum:messagefolder: array ( 'titlephrase' => 'pending_posts', 'userid' => 18, )
                              47. 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...
                              48. 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', ...
                              49. 48- vBForum:messagefolder: array ( 'titlephrase' => 'infractions', 'userid' => 18, )
                              50. 49- vBForum:messagefolder: array ( 'titlephrase' => 'deleted_items', 'userid' => 18, )
                              51. 50- vbForum:fetchAvatarsForUsers: array ( 'userid' => array ( 18 => '18', ), )
                              52. 51- vBForum:site: array ( '#filters' => array ( 0 => array ( 'field' => 'siteid', 'value' => '1', ), ), '#limit' => 1, )
                              53. 52- template: array ( 'templateid' => array ( 0 => 6728, 1 => 6241, 2 => 6236, 3 => 6582, 4 => 6729, ), )
                              54. 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...
                              55. 54- vBForum:channel: array ( 'guid' => array ( 'forum' => 'vbulletin-4ecbdf567f2c35.70389590', 'blog' => 'vbulletin-4ecbdf567f3a38.99555305', 'groups' => 'vbulletin-4ecbdf567f3a38.99555306', 'articles' => 'vbulletin-c-cmshome5229fa38b251e2.92227401', '...
                              56. 55- vBDbSearch:searchlog: array ( '#filters' => array ( 0 => array ( 'field' => 'searchhash', 'value' => array ( 0 => '4951d4e12d3ada164eab0ad75096e353', ), 'operator' => 'EQ', ), 1 => array ( 'field' => 'useri...
                              57. 56- usergroup: array ( )
                              58. 57- vBForum:permission: array ( )
                              59. 58- vBForum:moderator: array ( 'userid' => 18, )
                              60. 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...
                              61. 60- vBDBSearch:cacheResults: array ( 'fields' => array ( 'type' => 0, 'userid' => '18', 'ipaddress' => '192.168.1.1', 'searchhash' => '4951d4e12d3ada164eab0ad75096e353', 'sortby' => 'displayorder', 'sortorder' => 'asc', 'searchtime' => 0.00039482116699...
                              62. 61- vBDbSearch:searchlog: array ( 'searchlogid' => 5549425, '#limit' => 1, )
                              63. 62- cache: array ( 'cacheid' => array ( 0 => 'node_38594_lvl1data', 1 => 'node_41785_lvl1data', 2 => 'node_38598_lvl1data', ), )
                              64. 63- cache: array ( 'cacheid' => array ( 0 => 'node_2_lvl1data', ), )
                              65. 64- routenew: array ( 'routeid' => array ( 0 => '43', ), )
                              66. 65- vBForum:getNodeVotes: array ( 'userid' => '18', 'nodeid' => array ( 0 => '38594', 1 => '41785', 2 => '38598', ), )
                              67. 66- cache: array ( 'cacheid' => array ( 0 => 'vBAtchmnts_38594', 1 => 'vBAtchmnts_41785', 2 => 'vBAtchmnts_38598', ), )
                              68. 67- noderead: array ( 'userid' => '18', 'nodeid' => array ( 0 => '2', 1 => '2', 2 => '2', 3 => '38594', 4 => '41785', 5 => '38598', ), )
                              69. 68- cache: array ( 'cacheid' => array ( 0 => 'node_38594_lvl3data', 1 => 'node_41785_lvl3data', 2 => 'node_38598_lvl3data', ), )
                              70. 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...
                              71. 70- cache: array ( 'cacheid' => array ( 0 => 'vB_UserPerms0', ), )
                              72. 71- vbForum:fetchAvatarsForUsers: array ( 'userid' => array ( 167 => '167', 268 => '268', 272 => '272', ), )
                              73. 72- template: array ( 'templateid' => array ( 0 => 6237, 1 => 6239, ), )
                              74. 73- template: array ( 'templateid' => array ( 0 => 952, ), )
                              75. 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'...
                              76. 75- routenew: array ( 'routeid' => array ( 0 => 'privatemessage', 1 => 'profile', 2 => 'settings', 3 => 'search', ), )
                              77. 76- template: array ( 'templateid' => array ( 0 => 6716, ), )
                            • AJAX Requests: 0
                            • Facebook Active: No (Not enabled or no appid & secret set)
                            • Style ID: 15
                            • Templates/Renders: 15/18
                            • CSS Templates: 9
                            • JS Files: 4
                            • Included Files: 158
                            • Autoloaded Classes: 145
                            • Current Time: Thu, 26 May 2016 23:33:23 +0000
                            • Page Time:

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

                            Comment

                            Related Topics

                            Collapse

                            Working...
                            X