# Configuration problem

**URL:** <https://forum.mautic.org/t/configuration-problem/1615>\
**Category:** Product Support\
**Created:** [March 8, 2015, 6:28pm UTC](https://forum.mautic.org/t/configuration-problem/1615 "2015-03-08T18:28:02Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![rpghome](https://avatars.discourse-cdn.com/v4/letter/r/58f4c7/32.png) [@rpghome](https://forum.mautic.org/u/rpghome)\
**Post date:** [March 8, 2015, 6:28pm UTC](https://forum.mautic.org/t/configuration-problem/1615/1 "2015-03-08T18:28:02Z")

</div>

Hello!  
  
  
  
I have installed mautic on my web server, but the settings in configuration can’t be saved.  
  
  
  
After I click apply button, the settings always return to default values.  
  
  
  
It happens on RC2 but I can’t test on RC4 because I can’t change the update stability level and upgrade mautic.  
  
  
  
Is this a bug? Thanks for any help!

---

<div class="post-metadata">

**Author:** ![rpghome](https://avatars.discourse-cdn.com/v4/letter/r/58f4c7/32.png) [@rpghome](https://forum.mautic.org/u/rpghome)\
**Post date:** [March 8, 2015, 6:28pm UTC](https://forum.mautic.org/t/configuration-problem/1615/2 "2015-03-08T18:28:02Z")

</div>

Hello!

I have installed mautic on my web server, but the settings in configuration can’t be saved.

After I click apply button, the settings always return to default values.

It happens on RC2 but I can’t test on RC4 because I can’t change the update stability level and upgrade mautic.

Is this a bug? Thanks for any help!

---

<div class="post-metadata">

**Author:** ![chad.windnagle](https://avatars.discourse-cdn.com/v4/letter/c/7feea3/32.png) [@chad.windnagle](https://forum.mautic.org/u/chad.windnagle)\
**Post date:** [March 9, 2015, 3:17pm UTC](https://forum.mautic.org/t/configuration-problem/1615/3 "2015-03-09T15:17:24Z")

</div>

Hi rpghome:

Can you give us some info on your hosting environment? Things like:

-web server  
-php  
-running fastcgi mode?

It sounds like it could be permissions related since the config file can’t be updated. I would recommend just updating the config file manually - but my guess is that the deeper issue won’t be solved and you’ll continue to experience issues in the future.

---

<div class="post-metadata">

**Author:** ![rpghome](https://avatars.discourse-cdn.com/v4/letter/r/58f4c7/32.png) [@rpghome](https://forum.mautic.org/u/rpghome)\
**Post date:** [March 9, 2015, 3:48pm UTC](https://forum.mautic.org/t/configuration-problem/1615/4 "2015-03-09T15:48:41Z")

</div>

Hi chad!

I have tried changing the permissions to 777, but the same problem.

My web server: Apache

PHP: 5.3.28

running fastcgi: NO

Thank you!

---

<div class="post-metadata">

**Author:** ![chad.windnagle](https://avatars.discourse-cdn.com/v4/letter/c/7feea3/32.png) [@chad.windnagle](https://forum.mautic.org/u/chad.windnagle)\
**Post date:** [March 9, 2015, 4:24pm UTC](https://forum.mautic.org/t/configuration-problem/1615/5 "2015-03-09T16:24:16Z")

</div>

Hi Rpghome:

Can you try deleting this directory:

app / cache / prod

Its possible the config file is getting written but the cache is not reset. That could also be from permissions.

If you can - running FastCGi would enable PHP to run as the apache user, which helps to eliminate a lot of permissions issues, if you’re able to do that or ask your host to do that, it would probably help you a lot.

---

<div class="post-metadata">

**Author:** ![rpghome](https://avatars.discourse-cdn.com/v4/letter/r/58f4c7/32.png) [@rpghome](https://forum.mautic.org/u/rpghome)\
**Post date:** [March 10, 2015, 5:32am UTC](https://forum.mautic.org/t/configuration-problem/1615/6 "2015-03-10T05:32:11Z")

</div>

Hi chad!

I also have tried deleting the cache in prod directory, but no use.

As for FastCGi, I will try your advice.

Thanks for your help!

---

<div class="post-metadata">

**Author:** ![marcelop](https://avatars.discourse-cdn.com/v4/letter/m/3ec8ea/32.png) [@marcelop](https://forum.mautic.org/u/marcelop)\
**Post date:** [April 5, 2015, 11:09pm UTC](https://forum.mautic.org/t/configuration-problem/1615/7 "2015-04-05T23:09:05Z")

</div>

Hello, I have a similar situation. I opened [this thread](https://www.mautic.org/community/index.php/249-configuration-not-saving/p1) to follow it. I tried all the recommended answers from this one and nothing helped.

@rpghome: have you been able to solve your issue?

---

<div class="post-metadata">

**Author:** ![dbhurley](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dbhurley/32/2_2.png) [@dbhurley](https://forum.mautic.org/u/dbhurley)\
**Post date:** [April 8, 2015, 1:45am UTC](https://forum.mautic.org/t/configuration-problem/1615/8 "2015-04-08T01:45:11Z")

</div>

I’d like to know if this is still an issue. @marcelop what version of Mautic are you using? Can you share any of your hosting permissions? Directory ownership? Is the web server the file owner?

We’ll get this solved!

Thanks,  
David

---

<div class="post-metadata">

**Author:** ![marcelop](https://avatars.discourse-cdn.com/v4/letter/m/3ec8ea/32.png) [@marcelop](https://forum.mautic.org/u/marcelop)\
**Post date:** [April 10, 2015, 12:28am UTC](https://forum.mautic.org/t/configuration-problem/1615/9 "2015-04-10T00:28:45Z")

</div>

Thank you for your interest. I’ve already solved this: the issue was caused by a very restrictive mod\_security rule. Just disabled modsec and everything is ok now.  
Thanks!

---

<div class="post-metadata">

**Author:** ![chad.windnagle](https://avatars.discourse-cdn.com/v4/letter/c/7feea3/32.png) [@chad.windnagle](https://forum.mautic.org/u/chad.windnagle)\
**Post date:** [April 15, 2015, 2:07pm UTC](https://forum.mautic.org/t/configuration-problem/1615/10 "2015-04-15T14:07:56Z")

</div>

Hi Marcelop

Would you mind posting the rule (if you remember) here. Most hosting companies share those rulesets around, so if one person had an issue there may be more people with it. If we can figure out a way to code around it or ask hosting companies to modify the rule that would be good to help other users.

---

<div class="post-metadata">

**Author:** ![marcelop](https://avatars.discourse-cdn.com/v4/letter/m/3ec8ea/32.png) [@marcelop](https://forum.mautic.org/u/marcelop)\
**Post date:** [April 15, 2015, 2:11pm UTC](https://forum.mautic.org/t/configuration-problem/1615/11 "2015-04-15T14:11:59Z")

</div>

Hi. I simply deactivated the entire mod\_sec thing. If I find a while today, I’ll reactivate it and try to detect which one was triggering the block.

---

<div class="post-metadata">

**Author:** ![chad.windnagle](https://avatars.discourse-cdn.com/v4/letter/c/7feea3/32.png) [@chad.windnagle](https://forum.mautic.org/u/chad.windnagle)\
**Post date:** [April 15, 2015, 2:36pm UTC](https://forum.mautic.org/t/configuration-problem/1615/12 "2015-04-15T14:36:01Z")

</div>

If it helps I think that will show up in either php or apache (if you’re using apache) error logs. Should identify the ruleset precisely.

---

<div class="post-metadata">

**Author:** ![marcelop](https://avatars.discourse-cdn.com/v4/letter/m/3ec8ea/32.png) [@marcelop](https://forum.mautic.org/u/marcelop)\
**Post date:** [April 15, 2015, 7:51pm UTC](https://forum.mautic.org/t/configuration-problem/1615/13 "2015-04-15T19:51:30Z")

</div>

modsec logs is the place to search. I’ll let you now if I find it out

---

<div class="post-metadata">

**Author:** ![marcelop](https://avatars.discourse-cdn.com/v4/letter/m/3ec8ea/32.png) [@marcelop](https://forum.mautic.org/u/marcelop)\
**Post date:** [April 30, 2015, 12:47pm UTC](https://forum.mautic.org/t/configuration-problem/1615/14 "2015-04-30T12:47:07Z")

</div>

Hi, sorry for the delay. Now with v1.0.3 the config screen is correctly saving settings, even with mod\_security fully enabled!  
Anyway, we will be paying attention to any problems that could arise…  
Thanks!

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [February 2, 2020, 11:00pm UTC](https://forum.mautic.org/t/configuration-problem/1615/15 "2020-02-02T23:00:19Z")

</div>


