stevrosty Posted August 28, 2015 Share Posted August 28, 2015 Hi guys, newbie here, but after running my site for a while, i set up an SSL certificate, and before that i changed my preferences of shop URL from an IP to a real URL. This works fine, how ever, if i ever reboot my server for any reason the base URL goes back to an IP and i have to re-save. Why is this? Is this value not saved in the database somewhewre?? Thanks steve Link to comment Share on other sites More sharing options...
stevrosty Posted October 13, 2015 Author Share Posted October 13, 2015 There must be someone who has seen this?? If i save the http and the https url's in the prestashop backend (see & url's) , and save it, if the server is rebooted, it changes back to an ip address. any ideas?? help?? Link to comment Share on other sites More sharing options...
innovacy Posted October 14, 2015 Share Posted October 14, 2015 Is the multistore feature active in your store? Link to comment Share on other sites More sharing options...
stevrosty Posted October 14, 2015 Author Share Posted October 14, 2015 No multi stop is NOT enabled. I only have one store on this server. The two URL's i am referring to are set the same. In the SEO/URL section you have two fields, 'shop domain' and 'SSL domain' Both of these are set with the proper URL, starting www, and then saved. This is all fine until the server is rebooted for whatever reason. If you do that, both of these fields revert to an IP address of the server, and this causes problems. Link to comment Share on other sites More sharing options...
innovacy Posted October 14, 2015 Share Posted October 14, 2015 The two URL's i am referring to are set the same. In the SEO/URL section you have two fields, 'shop domain' and 'SSL domain' Both of these are set with the proper URL, starting www, and then saved. This is all fine until the server is rebooted for whatever reason. If you do that, both of these fields revert to an IP address of the server, and this causes problems. This is very strange. I wouldn't know that Prestashop is updating it. On which Prestashop version are you? Maybe this has to do with a specific version. A quick search in Prestashop's current version's code shows otherwise only the install process to set the field you mentioned with another value automatically (besides creating a new multishop). I would suggest to check what are the values in the database table ps_shop_url and also the ps_configuration (settings PS_SHOP_DOMAIN and PS_SHOP_DOMAIN_SSL) before and after rebooting. If these values change between these states, then there's something else updating them, if not the store itself (maybe a module?). If this shows nothing unusual, I would check if there's any cache involved that might misbehave, maybe a memcache server not part of the rebooted server? Link to comment Share on other sites More sharing options...
stevrosty Posted October 16, 2015 Author Share Posted October 16, 2015 Hi, I will check these points you have mentioned. I will try checking the db after a reboot. Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now