Blue php error when editing the calendar

Hi All


Our client is getting the following error message " constant(): Couldn't find constant SQ_CONF_OVERRIDE_DISABLE_ROLES, when they try to edit a calendar event or create a new calendar event. I have attached the error message.



I need to know how to get around this issue and what are the steps i need to do to remove this error.



Cheers
whenalertingacalendarfieldtheuser isgetting this error.JPG (78.4 KB)

What version of Matrix are you running? It does not look like a constant that exists in any current releases?


But you could try adding an extra line in main.inc to add that constant in.

[quote]
What version of Matrix are you running? It does not look like a constant that exists in any current releases?



But you could try adding an extra line in main.inc to add that constant in.

[/quote]



The version of Matrix is 3.16.1. what's the extra line do i need to add in the main.inc and what will it do, i hope it doesn;t break anything else? :slight_smile:

[quote]
The version of Matrix is 3.16.1. what's the extra line do i need to add in the main.inc and what will it do, i hope it doesn;t break anything else? :slight_smile:

[/quote]



That constant does not look like it is a part of Matrix. You may have to find out who modified/added that code.



Sorry but I cannot suggest what to add since I am unsure what it does and what format it is expecting.

[quote]
The version of Matrix is 3.16.1. what's the extra line do i need to add in the main.inc and what will it do, i hope it doesn;t break anything else? :slight_smile:

[/quote]



3.16.1? Really? That release is nearly three years old.



You'd fix that and a lot more with an upgrade!



Anyway, if it is that version, its been modified, because that line referenced is a closing brace…