Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some links point to an external site #18

Closed
kohjingyu opened this issue Aug 23, 2023 · 6 comments · Fixed by #29
Closed

Some links point to an external site #18

kohjingyu opened this issue Aug 23, 2023 · 6 comments · Fixed by #29
Assignees
Labels
bug Something isn't working

Comments

@kohjingyu
Copy link

Hi,

I've set up the shopping environment locally according to the instructions here. I've set my shopping url to http://localhost:7770.

Most of it seems to work, but some of the links point to an external site, rather than localhost. For example:
Screen Shot 2023-08-23 at 11 08 27 AM

The links that seem to be affected are:

Perhaps I missed a variable to be set, or it's something related to login?

Thanks!

@shuyanzhou
Copy link
Contributor

Thanks for reporting this. We looked into it a bit, but still couldn't locate the exact problem, it might come from the cache. Can you run the following commands to fully flush the cache and see if it works

docker exec shopping /var/www/magento2/bin/magento indexer:reset
docker exec shopping /var/www/magento2/bin/magento indexer:reindex
docker exec shopping /var/www/magento2/bin/magento cache:clean

@kohjingyu
Copy link
Author

Thanks! I've tried this, and also deleted and re-run the image with the instructions here, but unfortunately the error still persists.

@nicholaschenai
Copy link
Contributor

Thanks for reporting this. We looked into it a bit, but still couldn't locate the exact problem, it might come from the cache. Can you run the following commands to fully flush the cache and see if it works

docker exec shopping /var/www/magento2/bin/magento indexer:reset
docker exec shopping /var/www/magento2/bin/magento indexer:reindex
docker exec shopping /var/www/magento2/bin/magento cache:clean

I managed to replicate this problem to a larger degree: after entering localhost:7770, I got redirected to the metis version.

Following the instructions to clear cache doesnt work

@shuyanzhou
Copy link
Contributor

@frankxu2004 let's try to reproduce it in our server

@shuyanzhou shuyanzhou added the bug Something isn't working label Aug 26, 2023
@shuyanzhou shuyanzhou linked a pull request Aug 28, 2023 that will close this issue
@shuyanzhou
Copy link
Contributor

Thanks @kohjingyu @nicholaschenai for reporting the problem. We were able to locate the problem finally. Please re-open if the fix doesn't work

@kohjingyu
Copy link
Author

kohjingyu commented Aug 28, 2023

Nevermind, it works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants