AbanteCart Community
Shopping Cart Operations => Support => General Support => Topic started by: loudmylarbags on February 03, 2019, 11:52:46 AM
-
We are having a random issue, our site will revert back to the IP for the hostname.
To fix it I have to save something (like template or product) and it fixes it, but it will always revert back.
Example, clicking any link when it's broken will result in 1.1.1.1/blah/blah.php or w/e instead of domain.com/blah/blah.php
-
Check setting for your domain. Possibly you have IP address in there.
https://abantecart.atlassian.net/wiki/spaces/AD/pages/5832828/Store+URLs+SSL
-
Check setting for your domain. Possibly you have IP address in there.
Nope not that, these seems like some kinda glitch in the software somewhere.
-
?? Did you build your site up using an IP address before changing your DNS to the current host?
I see this happen when we build out sites using IP address prior to transferring - and we change out our local user to the IP address, if we fail to clear the cache on our PCs and revert the local host to the domain name.
-
Try to clear cache and make sure that is actually cleared.
Setting for URL is the only place in AbanteCart that control this. If both HTTP and HTTPS URLs are correct in the setting, there must be something else on your server side.
-
?? Did you build your site up using an IP address before changing your DNS to the current host?
I see this happen when we build out sites using IP address prior to transferring - and we change out our local user to the IP address, if we fail to clear the cache on our PCs and revert the local host to the domain name.
Nope, always the url. Apache is gucci all the configs are good. I run 10 other sites on the same server. No issues. It's def a config issue of sorts since saving something fixes it. Is there a manual way to clear the cache to I can make sure?
I have cleared the cache in the back in 10x times.
-
You using CDN?
-
You using CDN?
No, and it just happened again. Something with the config is stuck. I know 100% its not the server.
-
Hi.
Clear Abantecart cache, clear browser cache, check for redirect in your .htaccess file
-
Hi.
Clear Abantecart cache, clear browser cache, check for redirect in your .htaccess file
These are all things that have been stated and done. None of these would make it randomly happen and then a save to anything fix it. This leads to software issue.
-
since you said you have other installations running okay, is this installation the same version as the others? I am assuming that are AbanteCart installations.
what have you done differently with this one? Any third party extensions?
And code changes you have made that is different then the others?
Since you are rather adamant that it is software, and those of use who have dozens and dozens of installations think it is more likely there a different issue or something that has been introduced into this installation and not the others. Perhaps there was a glitch when you installed this? When did you introduce the IP address into your URL?
Does this happen with all browsers? Does this happen on a PC that hasn't been to your site previously?
Have you compared config and rewrites on the problem site to the others?
-
since you said you have other installations running okay, is this installation the same version as the others? I am assuming that are AbanteCart installations.
what have you done differently with this one? Any third party extensions?
And code changes you have made that is different then the others?
Since you are rather adamant that it is software, and those of use who have dozens and dozens of installations think it is more likely there a different issue or something that has been introduced into this installation and not the others. Perhaps there was a glitch when you installed this? When did you introduce the IP address into your URL?
Does this happen with all browsers? Does this happen on a PC that hasn't been to your site previously?
Have you compared config and rewrites on the problem site to the others?
I have other software running, wordpress, joomla etc. This is happening on all browsers and computers. Client report it to me when it happens and I can confirm its down.
I have turned off cache and now it hasn't happened in 24 hrs. I have been asking where this is stored or how it could be causing it. Any ideas would be great.
a grep of the database and files show (0 localhost or 0 ip entry's in either) so I know it's not coded or hardcoded somewhere.
-
Did you change domain name or server DNS recently? Or maybe a new hosting plan?
-
Did you change domain name or server DNS recently? Or maybe a new hosting plan?
Sigh are you guys even reading this? The domain is on my own server, and always had the same domain.
-
Hi. Can you share your domain ?
-
Did you ever find the issue? I am facing something similar. The site mostly will function as expecting but at times will result back to the IP address for resources (css and image files) and I have been seeing also some issues with featured product block even grabbing the SMTP setting Domain entry. Clearing cache will resolve the issue but then it appears to reset randomly after a few hours/days. .htaccess and URL entries are good in the settings page.
-
Did you ever find the issue? I am facing something similar. The site mostly will function as expecting but at times will result back to the IP address for resources (css and image files) and I have been seeing also some issues with featured product block even grabbing the SMTP setting Domain entry. Clearing cache will resolve the issue but then it appears to reset randomly after a few hours/days. .htaccess and URL entries are good in the settings page.
Setup a redirect from IP to your store url
-
Did you ever find the issue? I am facing something similar. The site mostly will function as expecting but at times will result back to the IP address for resources (css and image files) and I have been seeing also some issues with featured product block even grabbing the SMTP setting Domain entry. Clearing cache will resolve the issue but then it appears to reset randomly after a few hours/days. .htaccess and URL entries are good in the settings page.
Some web-spider do this. You should block access by IP address.
Just add redirect from ip to domain name.
-
Hello.
You can try this fix from the AbanteCart 1.3.3 version https://github.com/abantecart/abantecart-src/commit/b767023893adbd47697559b3c1f68724d3ebfb26