richtabor / MerlinWP

Better WordPress Theme Onboarding
https://merlinwp.com
GNU General Public License v3.0
692 stars 138 forks source link

Unable to install plugins on localhost #146

Closed imfaisalkh closed 6 years ago

imfaisalkh commented 6 years ago

I'm testing Merlin WP with my theme on my local installation. I'm already using TGM for plugin activation and have included Merlin after TGM (as mentioned in the docs). Now the issue is whenever Merlin tries to install the plugins on localhost I get "Cross-Origin Request Blocked" error in the browser console. Any idea how to resolve this issue?

image

Also, although plugins are not installed it shows big green tick (at the top) at the end and behaves like plugins are installed successfully.

imfaisalkh commented 6 years ago

I think I got the issue. I'm running this installation at following URL: http://localhost:7000/wordpress/fresh-install/

Whereas, Merlin is trying to access TGMPA at following URL: http://localhost/wordpress/fresh-install/ (without port address)

The port address is added by browserSync for live reloading. I've dropped the port address and now it works fine. Although, I do think any failure in plugin installation needs to be handled, otherwise it creates confusion.

BTW another small issue, in Firefox, the image is not aligned centered on theme on-boarding screen as posted above.

Ninetheme commented 5 years ago

same https://d.pr/free/i/6gOGME