happycog / VMG-Chosen-Member

VMG Chosen Member - Fieldtype for Expression Engine 2 and 3
http://vectormediagroup.com
23 stars 11 forks source link

XMLHttpRequest CP issue #17

Closed carolinecblaker closed 8 years ago

carolinecblaker commented 8 years ago

Hi Team,

I'm getting:

http://www.domain.org/?ACT=25032045&field_id=362&col_id=0&var_id=0. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://domain.org' is therefore not allowed access.

..when the add-on attempts to search for associated member accounts in the CP.

Seems like something I should be able to fix on my end.

Please advise & Thanks (& consider for your docs!)

mrw commented 8 years ago

Given the access control headers on your server, a good way to solve this is to check that the Can you check that the $base_url in your config includes the www?

carolinecblaker commented 8 years ago

It looks like the CP URL and the Base URL were split, one WWW, one non-www.

This was an easy one. Thank you!