Apply Config appears after each click


I just upgraded FreePBX from 2.10 to 2.11 using .tgz file. Then I upgraded modules to latest available version using Module Admin.

The system is up and running but after each menu click even if I select FreePBX System Status, red button Apply Config appears.

Any ideas what is it? How can I fix the issue?

I use custom installation on Gentoo Linux which worked fine ~0.5 year.

Let me know if you need more info.

I have found the reason - Leave Reload Bar Up (DEVELRELOAD) is True. If I try change it to False and apply settings I get error “Ajax Web ERROR: When saving key DEVELRELOAD: parsererror”.

What is it?

It looks like a bug:
I used firebug to check server response and found that it tells me referrer is wrong in response but the message is not visible for normal user. So, what I did:

  1. Set CHECKREFERER=FALSE in /etc/amportal.conf
  2. Set value CHECKREFERER to 0 in freepbx_settings table

This resolved the issue. I think it worth to set CHECKREFERER to 0 by default.

We check referrer for security reasons to protect against cross site script vulnerabilities so no we wont set that to 0.

But why did I see the warning? I accessed FreePBX via LAN using https proto and IP. What did I wrong?