Activation hanging after click?

Posted in: Newspaper
Post count: 3

Hey there,

Just downloaded and installed the Newspaper theme on a WordPress site yet am unable to activate the theme. Every time I click the activation button (I assume the Envato purchase code works since it let me register here at this site), the green button fades and shows the “loading” spiral but never does anything after that. Is there some way to figure out what error is happening?

I am using Hostgator and do not have the site using a live domain yet (using a browser plugin to affect my hosts file and redirect straight to the IP at Hostgator), but I don’t see what that should matter.

Post count: 20688

Hi,

Please try the manual activation method and see if that works properly
https://www.screencast.com/t/y9OSLcsc
https://www.screencast.com/t/AEKaTQM0
You could check for errors when you try to active the theme normally, in the browser inspector console.

Thanks

Post count: 3

I am getting the following error in both cases (manual or normally):

“XMLHttpRequest cannot load http://216.172.184.61/wp-admin/admin-ajax.php?td_theme_name=Newspaper&v=8.0. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘null’ is therefore not allowed access.”

From my rudimentary googling it looks like this is indeed because I am trying to update this website w/ localhost before moving the new URL … it looks like I can use CORS to fix this but also looks like it is beyond my capabilities to implement (and may not be possible since I’m using shared hosting).

I don’t suppose there is an easy fix?

Post count: 3

NVM — was able to successfully activate the theme by opening an instance of Chromium w/ web security disabled just to activate the theme.

For anyone finding this later I simply used the following code to open Chromium and activate the theme. Remember to exit out of Chromium/Chrome and open back up w/ web security enabled before doing any additional web browsing!

open -a Chromium --args --disable-web-security --user-data-dir=""

OR

open -a Google\ Chrome --args --disable-web-security --user-data-dir=""

Post count: 20688

Hi,

Glad you could solve the issue and activate the theme. Thank you for posting the solution, this may be useful to other users as well.

Thanks

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.