WPML + BeBuilder error loading
I am unable to translate templates (like header and megamenu). When trying to edit a page via BeBuilder, it stops loading. When editing the original language - EN, it works fine.
I deactivate all plugins except WPML (the latest version). Betheme is also updated to the latest version but still shows an error.
I think i having same issue as discusses recently here https://forum.muffingroup.com/betheme/discussion/comment/231930#Comment_231930
Comments
Hey,
Please send us the WordPress dashboard and FTP access privately thru the contact form, which is on the right side at http://themeforest.net/user/muffingroup#contact, and we will check what might be the reason.
Notice!
Please attach a link to this forum discussion.
Sending incorrect or incomplete data will result in a longer response time.
Therefore, please ensure that the data you are sending is complete and correct.
Thanks
I received your message, and we are looking into this issue.
When I will know anything new, I will let you know.
Best regards
This issue is happening because your server does not have CORS configured correctly. Each language is on a different domain, which your server blocks.
I have found the following topic:
https://wpml.org/forums/topic/translation-tools-page-get-cors-error/
You can try the settings mentioned there, but I think it would be best to contact your server administrator regarding this.
Best regards
Hi, thanks for your help. But it seems that issue is related to the CORS frame, which the browser blocks. On the server, the CORS is now configured as add Access-Control-Allow-Origin "*" but is still without success. Can it be the case the Betheme builder doesn't support different languages per domain?
Betheme supports different languages per domain.
Please ensure that it is configured properly. See the following links:
https://stackoverflow.com/questions/10636611/how-does-the-access-control-allow-origin-header-work
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin
Best regards
Thank you for your response. But I was only able to get working when running the browser with disabled security
chrome.exe --disable-site-isolation-trials --disable-web-security
Just in case someone has the same issue.