SuiteCRM 地图 报错信息   报错信息


Possible Cross Site Request Forgery (XSRF) Attack Detected

If you think this is a mistake please ask your administrator to add the following site to the acceptable referer list

Click here for directions to add this site to the acceptable referer list


  1. On your file system go to the root of your SugarCRM instance
  2. Open the file config_override.php. If it does not exist, create it. (it should be at the same level as index.php and config.php)
  3. Make sure the file starts with

    followed by a new line

  4. Add the following line to your config_override.php file

    $sugar_config['http_referer']['list'][] = '';
  5. Save the file and it should work

Attempted action (map_markers):

If you feel this is a valid action that should be allowed from any referer, add the following to your config_override.php file

  • $sugar_config['http_referer']['actions'] =array( 'index', 'ListView', 'DetailView', 'EditView', 'oauth', 'authorize', 'Authenticate', 'Login', 'SupportPortal', 'map_markers' );