News:

AbanteCart v1.4.2 is released.

Main Menu

Issues with SNI, hostname and cart

Started by loudmylarbags, February 03, 2019, 11:52:46 AM

Previous topic - Next topic

loudmylarbags

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

abantecart

Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

loudmylarbags

Quote from: abantecart on February 03, 2019, 12:07:35 PM
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.

llegrand

??  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.




abantecart

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.

Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

loudmylarbags

Quote from: llegrand on February 03, 2019, 07:19:47 PM
??  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.

llegrand


loudmylarbags

Quote from: llegrand on February 04, 2019, 12:27:33 PM
You using  CDN?

No, and it just happened again. Something with the config is stuck. I know 100% its not the server.

Basara

Hi.

Clear Abantecart cache, clear browser cache, check for redirect in your .htaccess file

loudmylarbags

Quote from: Basara on February 06, 2019, 01:38:55 AM
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.

llegrand

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?







loudmylarbags

Quote from: llegrand on February 06, 2019, 04:40:56 PM
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.

Basara

Did you change domain name or server DNS recently? Or maybe a new hosting plan?

loudmylarbags

Quote from: Basara on February 08, 2019, 12:02:30 AM
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.

Basara


Forum Rules Code of conduct
AbanteCart.com 2010 -