1.0.9.1 Questions / Comments / Concerns

Open to all! Ask other shopowners for help.
vandal783
Member
Posts: 6
Joined: Tue Mar 16, 2021 2:51 pm
Phoenix Version:

Re: 1.0.9.1 Questions / Comments / Concerns

Post by vandal783 »

I'm having an issue where my landing page is not displaying after this update. The header is the only thing that will display and the links in it are mostly not functional. I can manually type in any other page in the address bar such as /account.php or /index.php?cPath=1 , for example, then the website displays properly and becomes fully functional unless I click to go back to the main landing page.
Thanks in advance for any and all help.

Tags:


Join The Code Co-op to get access to your library in the Code Co-op Forum
User avatar
burt
Core Team
Posts: 4546
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: 1.0.9.1 Questions / Comments / Concerns

Post by burt »

What does your hosting error_log say. If you do not have access to it, ask your host and they will give you information.
I am not here to build for you.
I am here to build with you. Let's help each other.
vandal783
Member
Posts: 6
Joined: Tue Mar 16, 2021 2:51 pm
Phoenix Version:

Re: 1.0.9.1 Questions / Comments / Concerns

Post by vandal783 »

burt wrote: Mon Jul 01, 2024 8:37 pm What does your hosting error_log say. If you do not have access to it, ask your host and they will give you information.
Thanks for the tip, the issue was due to the following addon

app.php/addons/free_addon/best_sellers

Removing it resolves the problem.
ecartz
Core Team
Posts: 3084
Joined: Tue Nov 05, 2019 6:02 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 208 times

Re: 1.0.9.1 Questions / Comments / Concerns

Post by ecartz »

Thanks for letting us know. If you have time to post what the error was to app.php/addons/free_addon/best_sellers/support it might help Daniel resolve this for other people who may want to use that add-on.
User avatar
Kofod95
Senior Contributor
Posts: 748
Joined: Sat Feb 06, 2021 7:38 pm
Phoenix Version: 1.0.8.20
Has thanked: 99 times
Been thanked: 179 times

Re: 1.0.9.1 Questions / Comments / Concerns

Post by Kofod95 »

Just noticed a bug:
Set Configuration -> My Store -> Switch To Default Language Currency to True.
Change the currency on the shop to EUR. Click any link, and it is switched back to USD. Might have been so since 1.0.8.6, but have only tried on 1.0.8.20 and 1.0.9.1.

//Daniel
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns: Phoenix user guide
heatherbell
Senior Contributor
Posts: 2540
Joined: Mon Oct 07, 2019 4:39 am
Phoenix Version:
Has thanked: 35 times
Been thanked: 243 times

Re: 1.0.9.1 Questions / Comments / Concerns

Post by heatherbell »

Kofod95 wrote: Tue Sep 10, 2024 7:09 pm Set Configuration -> My Store -> Switch To Default Language Currency to True.
Change the currency on the shop to EUR. Click any link, and it is switched back to USD.
Have tried to replicate but only seems to do that if this is not done:
https://phoenixcart.org/phoenixcartwiki ... d_Currency
With that done, it seems to work as expected.
User avatar
Kofod95
Senior Contributor
Posts: 748
Joined: Sat Feb 06, 2021 7:38 pm
Phoenix Version: 1.0.8.20
Has thanked: 99 times
Been thanked: 179 times

Re: 1.0.9.1 Questions / Comments / Concerns

Post by Kofod95 »

Hmm... Thank you very much for checking. I went over it again but without success.

I have Danish and English languages, both with the locales set.
Danish:

Code: Select all

@setlocale(LC_ALL, ['da_DK.UTF-8', 'da_DK.UTF8', 'da_DK']);
...
const LANGUAGE_CURRENCY = 'DKK';
English:

Code: Select all

@setlocale(LC_ALL, ['en_US.UTF-8', 'en_US.UTF8', 'enu_usa']);
...
const LANGUAGE_CURRENCY = 'EUR';
My browser is set to Danish, so I view the site in Danish by default. If I change the currency to EUR or USD, it reloads and changes, but changes back to DKK on first click. If I change the language to English, the currency changes to EUR and remains so with every click. Changing it to DKK or USD, reloads the page and changes the currency, but with the next click, the currency is back to EUR.
Changing the default currency of English to USD gives the same behavior, only that EUR is the one that will not remain chosen.

Might the key difference between our setups be the number of languages?

//Daniel
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns: Phoenix user guide
User avatar
zipurman
Builder
Posts: 540
Joined: Tue Oct 13, 2020 5:20 pm
Phoenix Version: v
Has thanked: 93 times
Been thanked: 162 times

Re: 1.0.9.1 Questions / Comments / Concerns

Post by zipurman »

Make sure you delete your session cookies after change. I know if session language set, it can throw errors and issues after admin language changes.
zipurman
-----------
User avatar
Kofod95
Senior Contributor
Posts: 748
Joined: Sat Feb 06, 2021 7:38 pm
Phoenix Version: 1.0.8.20
Has thanked: 99 times
Been thanked: 179 times

Re: 1.0.9.1 Questions / Comments / Concerns

Post by Kofod95 »

Thank you for the suggestion - I'll make sure to do that.
The reason I found out, however, was that a new customer from the US tried switching to USD instead of EUR, but was unable to do so with the setup described above - that shouldn't be session-related for them, I would think.

//Daniel
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns: Phoenix user guide
heatherbell
Senior Contributor
Posts: 2540
Joined: Mon Oct 07, 2019 4:39 am
Phoenix Version:
Has thanked: 35 times
Been thanked: 243 times

Re: 1.0.9.1 Questions / Comments / Concerns

Post by heatherbell »

Kofod95 wrote: Wed Sep 11, 2024 7:49 am The reason I found out, however, was that a new customer from the US tried switching to USD instead of EUR, but was unable to do so with the setup described above
Guessing the customer tried when your setup was:

Code: Select all

@setlocale(LC_ALL, ['en_US.UTF-8', 'en_US.UTF8', 'enu_usa']);
...
const LANGUAGE_CURRENCY = 'EUR';
which would then be expected.
Just guessing, is it to do with having 2 Languages but 3 Currencies?
What's the behaviour with Switch To Default Language Currency to False? Can customer choose Language & Currency with good result?


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply