Jump to content

Issue : Erratic Change Of Default Country


Recommended Posts

Hello all,

 

www.aventurethe.ch sells tea only in Switzerland. Default country is Switzerland (in Localization / Localization / Default country). So, only swiss customers can buy (and set so for shipping country, taxes, currency, ...)

 

It happens already twice that the default country switches to France. Problem: all prices are then without taxes !

Does someone have an idea of the origine of the issue ?

 

Url: www.aventurethe.ch

Prestashop: 1.6.2

Hosting: Infomaniak (shared hosting with auto backup)

Events nearby: None. No human action whatsoever, no specific maintenance actions.

Link to comment
Share on other sites

Hi El Patron,

 

Thanks for your post ! Always amazing to see how people are concerned !

 

Yes indeed: the allowed countries (here only Switzerland) went desactivated (as well for no reason. At least nobody touch anything). And France went activated.

So the issue seems more to be: erratic activation of countries.

 

I've :

- set again default country "Switzerland" in localisation

- activated country "Switzerland" in coutries

- set off "France"

- did a test until payment: fine

 

I'll check every morning during one month. I will keep updated this subject if anything happens or if I gather more informations.

I wonder if there is anything to do with the hosting like a cache, the database, even an issue with the backup or something.

  • Like 1
Link to comment
Share on other sites

Damned !

Tested this morning: Switzerland went off (in localization & in countries). Replaced by France overnight like the past mornings.

 

Original set up:

- Default country in localization: Switzerland

- Region: only one created: Switzerland containing only one country (Switzerland)

- Countries: only Switzerland is on, all others off

 

F****ed up set up (changes overnight):

- Default country: France

- Region: Switzerland (containing France)

- Countries: France is on, Switzerland is off

 

New set up (I just did it):

- Default country: Switzerland

- Regions: Switzerland (with Switzerland) on, Europe (with France) off

- Countries: Switzerland on, all others off

 

Let's wait tomorrow morning...

Link to comment
Share on other sites

Finally solved !

 

What happened:

Everynight, all files were replaced by a former state. As if a backup is restored. It leads to the default country issue, and others problems such no notification emails sent, and payment gateways out of order. 

 

Origin of the problem:

The issue came from a setting on the hosting. If your host is Infomaniak (Switzerland), on shared hosting, DO NOT choose "Auto apply minor updates & security updates". Infomaniak is now aware of the issue and has transmitted it to Prestashop dev team.

 

 

In french:

 

Prestashop sur un hébergement mutualisé Infomaniak

Si votre boutique se déconfigure chaque nuit (pays par défaut, envoi des emails, paiements, ...), le problème peut avoir pour origine un paramètre de configuration sur Infomaniak.

 

Sur la console Infomaniak, n'activez pas l'option "Mise à jour de nouvelles version mineure et appliquer les mises à jour de sécurité."

Infomaniak est au courant de ce bug et en a informé Prestashop.

Edited by axxun (see edit history)
  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...