subscribepro-magento2-ext
subscribepro-magento2-ext copied to clipboard
My Product Subscriptions page does not work when Magento is installed in a subdirectory
I am able to reproduce this issue using a Magento installation in a subdirectory on an Apache server.
Steps to reproduce:
- Install Magento 2.1.4 into a subdirectory (I recommend using Apache). Install and configure SP extension 1.0.14.
- Create a subscription to a subscription product.
- Navigate to My Product Subscriptions in the My Account section. The page should load just fine this time.
- Navigate away from this page and then back to it. The loading spinner will keep spinning. If you check the Dev Tools console, you will see an error:
Failed to load resource: https://{DOMAIN}/rest/V1/swarming_subscribepro/me/subscriptions?_={TOKEN} the server responded with a status of 404 (Not Found)
Note in the above error message that the /rest/V1... path begins at the domain root rather than the subdirectory into which Magento was installed.
In my testing, even after clearing the cache I receive the same error message.