You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Live Preview shows blank preview when using subdomain #584
I have tested this on an upgraded site from 5.3.2 to 6 beta (using MSM), as well as a new EE6 beta installation (using only the preinstalled Default Site).
@avnerw can you check if you have any warning error messages in browser developer console when opening live preview on subdomain? I think you might be restricted because of cross-domain issues
@avnerw - thank you, I was able to replicate the issue. Because the approach to live preview has changed in EE6, we might eventually classify this as a limitation, but for now I'm accepting it as a bug.
Activity
avnerw commentedon Oct 22, 2020
I should also add that on 5.3.2 using the same test as above with or without subdomain, both cases the live preview works.
intoeetive commentedon Oct 23, 2020
@avnerw can you check if you have any warning error messages in browser developer console when opening live preview on subdomain? I think you might be restricted because of cross-domain issues
avnerw commentedon Oct 23, 2020
@intoeetive I do get the cross-domain error plus another one.
Although in EE5.3.2 this works fine without any Cross-Origin erros.
Here it is (replaced my real domain with sub.domain.com):
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://sub.domain.com/index.php?ACT=26&channel_id=2&entry_id=14. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
Uncaught admin.php:8115:5
Underscore 2
delay
intoeetive commentedon Oct 25, 2020
@avnerw - thank you, I was able to replicate the issue. Because the approach to live preview has changed in EE6, we might eventually classify this as a limitation, but for now I'm accepting it as a bug.
ops-andy commentedon Nov 25, 2020
resolved in v6-beta4
Merge pull request #584 from EllisLab/bug/permission-migration-issues