Jump to content

1.7.7 error after update


Erkan TEKGÜR

Recommended Posts

  • razaro changed the title to 1.7.7 error after update
49 minutes ago, razaro said:

Hi @Erkan TEKGÜR

Just a fair warning, think twice to whom you give access to your site, server , FTP.

@Keshva thakur.   please share your fix here and help out fellow user.

I was not thinking about sharing it anyway, but I was amazed by your sensitivity to follow correspondence and protect users from danger. I thank you.

  • Thanks 1
Link to comment
Share on other sites

4 hours ago, ronaldolivo said:

Hello, I have the same problem, how did you solve it?

I hope you can help me that I am not aware of it for hours.

Best regards,

Ronald Olivo

Yes I did like this;
1-I reinstalled the version before the backups.
2-I did the Versiton upgrade
3-I went to the Localization -> Localization tab from the International menu.
I chose 4-United kingdom and chose only language and currency. The download package option should be yes, then I pressed the import button.

So I could enter without any error.

  • Thanks 1
Link to comment
Share on other sites

On 12/5/2020 at 3:01 PM, Erkan TEKGÜR said:

Yes I did like this;
1-I reinstalled the version before the backups.
2-I did the Versiton upgrade
3-I went to the Localization -> Localization tab from the International menu.
I chose 4-United kingdom and chose only language and currency. The download package option should be yes, then I pressed the import button.

So I could enter without any error.

Thx for your input. Do you mean you did step 1, 2 and 3 before doing 1-click upgrade ?

Link to comment
Share on other sites

On 12/4/2020 at 6:36 PM, Erkan TEKGÜR said:

1.7.7 after update Gives "Unknown locale code: en-US" error.

Error Source at src/Core/Localization/Currency.php:185 at PrestaShop\PrestaShop\Core\Localization\Currency->getSymbol('en-US')

How can I solve it?

After using 1-click upgrade from 1 7.6.7 to 1.7.7, I got the same error as well when I tried on my testing site.

Edited by dtwfung (see edit history)
Link to comment
Share on other sites

Guest cornelm

Hi guys, can you help me please? I try to aces the BO but i/m stuck in this screen. After upgrading to 1.7.7.0 (from 1.7.6.7). The same results in different browsers (FireFox, Chrome, Edge).
In chrome I've got this this:
 

Quote

https://.../index.php?rand=1607439108725 500
send @ jquery-3.4.1.min.js:formatted:3879
ajax @ jquery-3.4.1.min.js:formatted:3648
(anonymous) @ login.js?v=1.7.7.0:186
r.complete @ jquery-3.4.1.min.js:formatted:2929
c @ jquery-3.4.1.min.js:formatted:1298
fireWith @ jquery-3.4.1.min.js:formatted:1351
u @ jquery-3.4.1.min.js:formatted:2771
k.fx.tick @ jquery-3.4.1.min.js:formatted:3023
lt @ jquery-3.4.1.min.js:formatted:2739
k.fx.start @ jquery-3.4.1.min.js:formatted:3036
k.fx.timer @ jquery-3.4.1.min.js:formatted:3030
dt @ jquery-3.4.1.min.js:formatted:2826
a @ jquery-3.4.1.min.js:formatted:2946
dequeue @ jquery-3.4.1.min.js:formatted:1673
(anonymous) @ jquery-3.4.1.min.js:formatted:1696
each @ jquery-3.4.1.min.js:formatted:146
each @ jquery-3.4.1.min.js:formatted:74
queue @ jquery-3.4.1.min.js:formatted:1693
animate @ jquery-3.4.1.min.js:formatted:2950
k.fn.<computed> @ jquery-3.4.1.min.js:formatted:3016
doAjaxLogin @ login.js?v=1.7.7.0:185
submitHandler @ login.js?v=1.7.7.0:14
s @ jquery.validate.js:2
(anonymous) @ jquery.validate.js:2
dispatch @ jquery-3.4.1.min.js:formatted:2020
v.handle @ jquery-3.4.1.min.js:formatted:1952

Thanks!!

login screen.png

Link to comment
Share on other sites

Hello Dtwfung and cornelm,

(Thanks Erkan TEKGÜR)

I just can run prestashop 1.7.7.0, this version gave me many problems, but I already have it running without problems.

Primero debes colocar manualmente la muestra de errores y apuntarlos y luego regresar a tu versión anterior con tu backup y trabajar en corregir esos errores con tu versión anterior. Luego actualizar prestashop y con esto debería correr tu versión sin problemas.

Cuando estes en tu versión atenrior ve a tu

BO Advanced Parameters\ Information

Levanta todas las observaciones de "List of changed files"

Error 1

Quote

Error Source : at src/Core/Localization/Currency.php:185 at PrestaShop\PrestaShop\Core\Localization\Currency->getSymbol('en-US')

  1. 1-Reinstaler the version before the backups.
  2. Go to the Localization -> Localization tab from the International menu.
  3. Choose United kingdom and chose only language and currency. The download package option should be yes, then I pressed the import button. Repeat this process with the United States and any additional languages you work with.
  4. Update prestashop version 1.7.7.0 and repeat step 3

With this I solved this problem.

Error 2

On the contact page the form disappeared and I solved it by changing a line that calls the form in the contact.tpl file

I replaced those lines with this:

{block name='page_content'}
  {widget name="contactform"}
{/block}

rute: \themes\your-theme\templates\contact.tpl

If you need more help you can show me the errors of Debug mode.

I speak better Spanish, hope you can understand me

Regards.

Link to comment
Share on other sites

15 hours ago, cornelm said:

Hi guys, can you help me please? I try to aces the BO but i/m stuck in this screen. After upgrading to 1.7.7.0 (from 1.7.6.7). The same results in different browsers (FireFox, Chrome, Edge).
In chrome I've got this this:
 

Thanks!!

login screen.png

Have you try turn on Prestashop debug mode ?

Link to comment
Share on other sites

On 12/5/2020 at 3:01 PM, Erkan TEKGÜR said:

Yes I did like this;
1-I reinstalled the version before the backups.
2-I did the Versiton upgrade
3-I went to the Localization -> Localization tab from the International menu.
I chose 4-United kingdom and chose only language and currency. The download package option should be yes, then I pressed the import button.

So I could enter without any error.

When you did the step 3, what did you select in the Advanced section below (see attached screen below)

Error.jpg

Link to comment
Share on other sites

16 hours ago, cornelm said:

Hi guys, can you help me please? I try to aces the BO but i/m stuck in this screen. After upgrading to 1.7.7.0 (from 1.7.6.7). The same results in different browsers (FireFox, Chrome, Edge).
In chrome I've got this this:
 

Thanks!!

login screen.png

I recommend you to restore from backups and re-upgrade.

Link to comment
Share on other sites

18 minutes ago, dtwfung said:

But you said you ...  4-United kingdom language pack in the first response !?

I guess you misunderstood me, you need to download the language United States language pack from here.

 

image.thumb.png.fbe38e39dc4b64a84d0c25baa384abf8.png

Hope it solves your problem. My problem was solved this way.

Link to comment
Share on other sites

23 minutes ago, Erkan TEKGÜR said:

I guess you misunderstood me, you need to download the language United States language pack from here.

 

image.thumb.png.fbe38e39dc4b64a84d0c25baa384abf8.png

Hope it solves your problem. My problem was solved this way.

No luck, I re-import again and tried US-EN, US-GB ... same error when ever the language is the default language !

Oops... looks like an unexpected error occurred.

Unknown locale code: US-EN /  en-GB

[PrestaShop\PrestaShop\Core\Localization\Exception\LocalizationException 0]

Link to comment
Share on other sites

32 minutes ago, dtwfung said:

No luck, I re-import again and tried US-EN, US-GB ... same error when ever the language is the default language !

Oops... looks like an unexpected error occurred.

Unknown locale code: US-EN /  en-GB

[PrestaShop\PrestaShop\Core\Localization\Exception\LocalizationException 0]

Have you tried to "en" (english) here?

 

image.thumb.png.b5d8b7ea54be9d413fa78eb7a49664e0.png

Link to comment
Share on other sites

  • 1 month later...

I couldn't go in the BO because of that error. admin employee has EN lang but site has RO.

For me helped these steps:

1) on DB change en-US (id1) to RO (default shop lang, id2)

UPDATE `pseg_employee` SET `id_lang` = '2' WHERE `pseg_employee`.`id_employee` = 3;

 

DeepinScreenshot_select-area_20210110190603.png.5c2df199ec4a1404e1cfc9f463e9e970.png

2) After that remove EN lang in the International > Localization > tab Languages (maybe try just update lang pack without delete)

3) Import EN (in my case United states) language pack International > Localization > first tab

4) enable EN lang for admin employee.

 

Best regards :)

Edited by Olll (see edit history)
Link to comment
Share on other sites

  • 3 weeks later...
  • 5 months later...

Bump.

Having this error when trying to visit admin URL after manually updating. Any ideas? Site no longer works. My site is from GB.

Oops... looks like an unexpected error occurred

Unknown locale code: en-US

[PrestaShop\PrestaShop\Core\Localization\Exception\LocalizationException 0]

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