|
[F] change permission for admin user
|
|
06-16-2009, 08:36 AM
Post: #1
|
|||
|
|||
|
[F] change permission for admin user
When i try and change some admincp permission for a admin user it gives off this error
Code: MyBB has experienced an internal SQL error and cannot continue.Using: Webserver: IIS7 php: 5.2.9-2 mysql: MySQLi 5.0.83 |
|||
|
06-16-2009, 02:08 PM
Post: #2
|
|||
|
|||
|
RE: change permission for admin user
What version of MyBB are you running? I cannot reproduce.
-Doug 1scream Founder Former MyBB Developer & SQA Member My Twitter |
|||
|
06-16-2009, 02:21 PM
Post: #3
|
|||
|
|||
|
RE: change permission for admin user
mybb 1.4.7 what i done is this
What i done is add user x to admin group tried to edit that users admin permission (not group) and it gave off that error. |
|||
|
06-16-2009, 03:17 PM
Post: #4
|
|||
|
|||
|
RE: change permission for admin user
Your running MySQL in Strict mode?
|
|||
|
06-16-2009, 03:19 PM
Post: #5
|
|||
|
|||
|
RE: change permission for admin user
Umm not to sure how do i find out i am also got the setting in config.php to use mysqli
|
|||
|
06-17-2009, 04:57 PM
(This post was last modified: 06-17-2009 05:11 PM by DamYan.)
Post: #6
|
|||
|
|||
|
RE: change permission for admin user
I have similar bug when I try to change admin permission in ACP:
Quote:/home/......./public_html/inc/languages/english/tools_reputations.lang.php does not exist MyBB 1.4.7 Link: http://www...................../admin/index.php?module=user/admin_permissions&action=edit&uid=0 |
|||
|
06-17-2009, 05:18 PM
(This post was last modified: 06-17-2009 05:18 PM by Martin M..)
Post: #7
|
|||
|
|||
|
RE: change permission for admin user
That's not similar, the first post is about mysql. That's a php error.
And as notes, permissions and defaultviews is all in text and has no default value they have to be added as '' in all queries related to inserting into adminoptions. In admin/inc/functions_view_manager.php PHP Code: if($create == true)PHP Code: if($create == true)PHP Code: $db->insert_query("adminoptions", array('uid' => intval($mybb->input['uid']), 'permissions' => $db->escape_string(serialize($mybb->input['permissions'])))); PHP Code: $db->insert_query("adminoptions", array(This will only affect strict versions of MySQL, but alot of people use strict so. |
|||
|
06-19-2009, 11:12 AM
Post: #8
|
|||
|
|||
|
RE: change permission for admin user
Thanks Martin...
|
|||
|
06-19-2009, 11:12 AM
Post: #9
|
|||
|
|||
|
[F] change permission for admin user
Thank you for your bug report.
This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated. With regards, MyBB Group |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)
Search
Member List
Calendar
Help




![[Image: moderator-btn.png]](https://forum.mybboard.pl/uploads/rekrutacja/moderator-btn.png)