Results 1 to 2 of 2

Thread: config_override - Losing changes

  1. #1
    Frank_Con is offline Member
    Join Date
    May 2011
    Posts
    7

    Default config_override - Losing changes

    Hello,

    I am trying to make a change to the config_override.php file to add $sugar_config['http_referer']['list'][] = 'domain.com'; to fix a problem with a "Possible Cross Site Request Forgery (XSRF) Attack Detected".

    When I add this line and save the file, the problem is fixed and all is well - but it appears after a while the problem comes back. I check the config_override.php file and the changes I made are gone.

    Am I doing something wrong?

    Thank you for your help and advice.

  2. #2
    replyjan is offline Sugar Community Member
    Join Date
    May 2011
    Posts
    20

    Default Re: config_override - Losing changes

    Quote Originally Posted by Frank_Con View Post
    Hello,

    I am trying to make a change to the config_override.php file to add $sugar_config['http_referer']['list'][] = 'domain.com'; to fix a problem with a "Possible Cross Site Request Forgery (XSRF) Attack Detected".

    When I add this line and save the file, the problem is fixed and all is well - but it appears after a while the problem comes back. I check the config_override.php file and the changes I made are gone.

    Am I doing something wrong?

    Thank you for your help and advice.
    Hello Frank,

    Just curious, do you have two instances of SugarCRM on the same server? Which version? This could also be the problem of Sessions. Do you get any error message? You can as well delete (or rename if you want to keep the copy especially if you have played around with your sugar instance for a long time already) config_override.php. After this, can you check once again? This file gets created/changed with the changes you make to your Sugar instance. Make sure this file is writable too!

    Good Luck!
    Jan_JBB

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. config_override.php
    By frantisek.preissler in forum Help
    Replies: 5
    Last Post: 2011-08-08, 10:40 AM
  2. Store value in config_override.php
    By Cedric K in forum Developer Help
    Replies: 2
    Last Post: 2010-12-08, 01:08 PM
  3. R5 config.php & config_override.php
    By salesagility in forum Help
    Replies: 2
    Last Post: 2009-04-20, 10:01 AM
  4. config_override.php
    By jazardezign in forum Installation and Upgrade Help
    Replies: 2
    Last Post: 2007-08-06, 10:59 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •