Theme Options Not Loading at All

Hello,

I am having an issue with accessing the theme options. All I am getting is the loading circle endlessly. I am accessing the site through Chrome, using a plugin called Virtual Hosts as this site is not live yet. I wouldn’t think that is the issue as I am able to access everything else. My site is pretty much a blank slate at this point with only X Theme and the Child theme activated.

In the developer tools it looks like I am getting the following error:

Access to XMLHttpRequest at ‘http://108.167.165.221/cornerstone-endpoint’ (redirected from ‘http://sjnews.org/cornerstone-endpoint’) from origin ‘null’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

Maybe that has something to do with how I’m accessing the site?

Jon

I believe that fixed the problem. When I went ahead and directly modified my hosts file, it loaded right up with no problem.

If you have any suggestions on how I could have my browser set up so as to see both the one in development and the live one, I’d appreciate it (I know that’s probably out of the scope of your support!).

Jon

Hi Jon,

I suggest you create a staging site in a subdirectory.

If your live site is in yoursite.com, you can create your staging site in yoursite.com/staging
That way you access both your live site and your development/staing site

You can use this third party plugin in creating one.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.