# Permission

**URL:** <https://ask.gibbonedu.org/t/permission/799>\
**Category:** Administration\
**Created:** [February 23, 2016, 9:29pm UTC](https://ask.gibbonedu.org/t/permission/799 "2016-02-23T21:29:24Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![willpro](https://ask.gibbonedu.org/letter_avatar_proxy/v4/letter/w/b9bd4f/32.png) [@willpro](https://ask.gibbonedu.org/u/willpro)\
**Post date:** [February 23, 2016, 9:29pm UTC](https://ask.gibbonedu.org/t/permission/799/1 "2016-02-23T21:29:24Z")

</div>

Hi Ross,

I am still having a problem making any adjustment in the “Permission Module”. &nbsp;When I select the option an press the submit button i get this:You do not have access to this action. Then I am thrown out of my admin dashboard and this appears: ![](http://i66.tinypic.com/2im5ke8.jpg)&nbsp;If I logout and login I am still unable to access my admin dashboard. I then have to restore backup to get back to my admin dashboard.&nbsp;

Can you look into this?

---

<div class="post-metadata">

**Author:** ![ross](https://ask.gibbonedu.org/user_avatar/ask.gibbonedu.org/ross/32/8_2.png) [@ross](https://ask.gibbonedu.org/u/ross)\
**Post date:** [February 26, 2016, 8:32am UTC](https://ask.gibbonedu.org/t/permission/799/2 "2016-02-26T08:32:05Z")

</div>

Willpro,  
  
I am still mystified by this, and convinced it must be a server config issue of some kind or another. No one else has reported this since we put in the protection of checking max\_input\_vars before deciding whether or not to display the Submit button, and that was at least 12 months ago.  
  
To try and get more information, can you please edit /modules/User Admin/permission\_manageProcess.php and go to end of line 51, insert a new line, and paste this into the new line:  
  
print ini\_get(“max\_input\_vars”) . “  
  
” ;  
print count($\_POST) . “  
  
” ;  
print\_r($\_POST) ; print “  
  
” ;  
exit() ;  
  
The press the Submit button on Manage Permissions, copy the output and paste it here for us to see.  
  
As a reminder, what kind of server are you using? Can you give us the contents of you php.ini file?  
  
Thanks,  
  
Ross

---

<div class="post-metadata">

**Author:** ![willpro](https://ask.gibbonedu.org/letter_avatar_proxy/v4/letter/w/b9bd4f/32.png) [@willpro](https://ask.gibbonedu.org/u/willpro)\
**Post date:** [February 26, 2016, 4:00pm UTC](https://ask.gibbonedu.org/t/permission/799/3 "2016-02-26T16:00:30Z")

</div>

This is the contents of my Php.ini file:

max\_input\_vars=5000
```
max_file_uploads=50

ini\_set(‘display\_errors’, 1);  
error\_reporting(E\_ALL & ~E\_NOTICE or less aggressive);

```auto
<pre style="font-family: Arial, Verdana; font-size: 11px;">My server:

```

```auto
<ul style="font-family: sans-serif; font-size: 13.12px; vertical-align: middle; color: rgb(68, 68, 68); white-space: normal;"><li id="li_server_info" style="margin-bottom: 0.3em;">Server: Localhost via UNIX socket</li><li id="li_server_type" style="margin-bottom: 0.3em;">Server type: MariaDB</li><li id="li_server_version" style="margin-bottom: 0.3em;">Server version: 5.5.42-MariaDB-cll-lve - MariaDB Server</li><li id="li_mysql_proto" style="margin-bottom: 0.3em;">Protocol version: 10</li></ul><div><font color="#444444" face="sans-serif"><span style="font-size: 13.12px; white-space: normal;">I host with Arvixe Linux Hosting.</span></font></div><div><font color="#444444" face="sans-serif"><span style="font-size: 13.12px; white-space: normal;"><br></span></font></div><div><font color="#444444" face="sans-serif"><span style="font-size: 13.12px; white-space: normal;">Printout from manage permission:</span></font></div><div><font color="#444444" face="sans-serif"><span style="font-size: 13.12px; white-space: normal;"><br></span></font></div><div><font color="#444444" face="sans-serif"><span style="font-size: 13.12px; white-space: normal;"><br></span></font></div>

```
```

---

<div class="post-metadata">

**Author:** ![willpro](https://ask.gibbonedu.org/letter_avatar_proxy/v4/letter/w/b9bd4f/32.png) [@willpro](https://ask.gibbonedu.org/u/willpro)\
**Post date:** [February 26, 2016, 4:49pm UTC](https://ask.gibbonedu.org/t/permission/799/4 "2016-02-26T16:49:30Z")

</div>

Print out is long so i have to send in 6 pieces. See below:

 ![](http://i63.tinypic.com/2qc2tc0.jpg)

---

<div class="post-metadata">

**Author:** ![willpro](https://ask.gibbonedu.org/letter_avatar_proxy/v4/letter/w/b9bd4f/32.png) [@willpro](https://ask.gibbonedu.org/u/willpro)\
**Post date:** [February 26, 2016, 4:51pm UTC](https://ask.gibbonedu.org/t/permission/799/5 "2016-02-26T16:51:29Z")

</div>

![](http://i64.tinypic.com/5d2qly.jpg)

---

<div class="post-metadata">

**Author:** ![willpro](https://ask.gibbonedu.org/letter_avatar_proxy/v4/letter/w/b9bd4f/32.png) [@willpro](https://ask.gibbonedu.org/u/willpro)\
**Post date:** [February 26, 2016, 4:53pm UTC](https://ask.gibbonedu.org/t/permission/799/6 "2016-02-26T16:53:08Z")

</div>

![](http://i67.tinypic.com/b53dis.jpg)

---

<div class="post-metadata">

**Author:** ![willpro](https://ask.gibbonedu.org/letter_avatar_proxy/v4/letter/w/b9bd4f/32.png) [@willpro](https://ask.gibbonedu.org/u/willpro)\
**Post date:** [February 26, 2016, 4:55pm UTC](https://ask.gibbonedu.org/t/permission/799/7 "2016-02-26T16:55:13Z")

</div>

![](http://i68.tinypic.com/s1l45f.jpg)

---

<div class="post-metadata">

**Author:** ![willpro](https://ask.gibbonedu.org/letter_avatar_proxy/v4/letter/w/b9bd4f/32.png) [@willpro](https://ask.gibbonedu.org/u/willpro)\
**Post date:** [February 26, 2016, 4:57pm UTC](https://ask.gibbonedu.org/t/permission/799/8 "2016-02-26T16:57:09Z")

</div>

![](http://i63.tinypic.com/51alxj.jpg)

---

<div class="post-metadata">

**Author:** ![willpro](https://ask.gibbonedu.org/letter_avatar_proxy/v4/letter/w/b9bd4f/32.png) [@willpro](https://ask.gibbonedu.org/u/willpro)\
**Post date:** [February 26, 2016, 4:58pm UTC](https://ask.gibbonedu.org/t/permission/799/9 "2016-02-26T16:58:12Z")

</div>

![](http://i64.tinypic.com/2r4oj6v.jpg)

---

<div class="post-metadata">

**Author:** ![ross](https://ask.gibbonedu.org/user_avatar/ask.gibbonedu.org/ross/32/8_2.png) [@ross](https://ask.gibbonedu.org/u/ross)\
**Post date:** [February 28, 2016, 12:45pm UTC](https://ask.gibbonedu.org/t/permission/799/10 "2016-02-28T12:45:19Z")

</div>

Willpro, it seems that whilst you are setting max\_input\_vars=5000, the effective value of max\_input\_vars is 1000. This means that most of your permissions are not making it through to the process file, and so are not getting saved. I would really recommend you speak to your hosting company, and ask them how you can increase max\_input\_vars so that the system reads it as 5000.  
  
As I mentioned, there is supposed to be protection against this on the interface page for permissions, and so given your setup, you should not even see the Submit button, but I am not sure why this is not working for you.  
  
Ross

---

<div class="post-metadata">

**Author:** ![willpro](https://ask.gibbonedu.org/letter_avatar_proxy/v4/letter/w/b9bd4f/32.png) [@willpro](https://ask.gibbonedu.org/u/willpro)\
**Post date:** [February 28, 2016, 10:15pm UTC](https://ask.gibbonedu.org/t/permission/799/11 "2016-02-28T22:15:13Z")

</div>

Hi Ross,

&nbsp;You were correct. It was my host problem. I told them the problem as you stated and they rectified the problem, so i am good to go.

Thank you very much. Keep up the great work.&nbsp;

---

<div class="post-metadata">

**Author:** ![ross](https://ask.gibbonedu.org/user_avatar/ask.gibbonedu.org/ross/32/8_2.png) [@ross](https://ask.gibbonedu.org/u/ross)\
**Post date:** [February 29, 2016, 12:07am UTC](https://ask.gibbonedu.org/t/permission/799/12 "2016-02-29T00:07:15Z")

</div>

Excellent, glad to hear it was fixed : )
