MitocGroup / MitocGroup/adtechmedia-wordpress-plugin
Error in console when installing atm widget for stage env
Open
Nobody has claimed this yet.
bug
- Dominant language
- PHP
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Steps to reproduce:
- Install and Activate atm widget on your local machine
- Edit atm config file to point "stage" env
- Access atm widget configuration page
BUG:
- The following error in console is displayed
Failed to load https://manage-stage.adtechmedia.io/deep-account/terms/dialog.html: The 'Access-Control-Allow-Origin' header has a value 'http://wordpress.localhost' that is not equal to the supplied origin. Origin 'http://localhost:8080' is therefore not allowed access.
Please refer to attachment for more details:
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue from the atm widget configuration page after pointing the local configuration at the stage environment. Inspect the request to manage-stage.adtechmedia.io/deep-account/terms/dialog.html and determine which project-side or environment setting controls the origin; done means the page loads without the reported CORS error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100