It’s a small bug but I thought I would report it.
I’m using 7.1.5 and am trying to upgrade to 7.2.1. This would be the very first time this installation has been upgraded.
When I select the “SuiteCRM-Upgrade-7.1.x-to-7.2.1” zip file on the “Upload Upgrade Package” screen I get a pop up window that displays it’s content in raw HTML (as opposed to a formatted message).
What I see in the dialog box is below.
The file size,
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
my.realtyclosing.com
Directions:
On your file system go to the root of your SugarCRM instance
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)
Make sure the file starts with <?php followed by a new line
Add the following line to your config_override.php file $sugar_config['http_referer']['list'][] = 'my.realtyclosing.com';
Save the file and it should work
Attempted action (UploadFileCheck):
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', 'UploadFileCheck' );
Bytes, is greater than what is allowed by the upload_max_filesize and/or the post_max_size settings in php.ini. Change the settings so that they are greater than
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
my.realtyclosing.com
Directions:
On your file system go to the root of your SugarCRM instance
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)
Make sure the file starts with <?php followed by a new line
Add the following line to your config_override.php file $sugar_config['http_referer']['list'][] = 'my.realtyclosing.com';
Save the file and it should work
Attempted action (UploadFileCheck):
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', 'UploadFileCheck' );
Bytes and restart the webserver.