SuiteCRM 8 Global Search problem Uncaught DOMException: Blocked a frame with origin "http://172.17.7.200" from accessing a cross-origin frame

Global search got the result but can access, error Uncaught DOMException: Blocked a frame with origin “http://172.17.7.200” from accessing a cross-origin frame.

Hi @rithsila Any luck to resolve this issue?
Can you please share the fix if you resolved this?

1 Like

I have the same trouble with Uncaught DOMException: Blocked a frame with origin.

¿Have you got the solution?

I have reinstall, reset permission, install all from zero, and nothing works.

Thank you.

@Latoso57 Hi

Please check the apach2 and .htaccess config and make sure you enable mode rewrite,
apache2 nad htaccess should be same

        RewriteEngine on
        RewriteBase /suitecrm/public/lagacy/
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteRule ^(.*) index.php [PT,L]

let us know if it can help

Thanks, I try it, .htaccess was correct and the trouble persists. I have decided to install all again (ubuntu server 22.04, MariaDB. php 7.4, etc.), config all and now the installation works perfectly. I am testing again before deploy for work seriously.

This error is not a bug. The same-origin policy is a security mechanism that ensures that window objects only have access to the informations they are authorized to get.

The window.postMessage() method provides a controlled mechanism to securely circumvent this Same-Origin Policy restriction. The window.postMessage() safely enables cross-origin communication between Window objects; e.g: between a page and an iframe embedded within it.

postMessage(message, targetOrigin)
postMessage(message, targetOrigin, [transfer])

targetOrigin - specifies what the origin of targetWindow must be for the event to be dispatched, either as the literal string “*” (indicating no preference) or as a URI.