Jump to content

Problem When Upgrading from 1.6 to 1.7 "ps_currency_lang" doesn't exist in Db.php line 769


Recommended Posts

The same error was already discussed here for earlier PS 1.7. versions.

Check, if this table "ps_currency_lang" is available on your database. If not, you can add it via phpmyadmin into your prestashop database manually with this query:

CREATE TABLE `ps_currency_lang` (
	`id_currency` INT(10) UNSIGNED NOT NULL,
	`id_lang` INT(10) UNSIGNED NOT NULL,
	`name` VARCHAR(255) NOT NULL,
	`symbol` VARCHAR(255) NOT NULL,
	PRIMARY KEY (`id_currency`, `id_lang`)
)
COLLATE='utf8_general_ci'
ENGINE=InnoDB
;

If you don't know how to do this, ask your provider, or some expert in phpmyadmin.

  • Like 1
Link to comment
Share on other sites

  On 1/15/2020 at 1:26 PM, selectshop.at said:

The same error was already discussed here for earlier PS 1.7. versions.

Check, if this table "ps_currency_lang" is available on your database. If not, you can add it via phpmyadmin into your prestashop database manually with this query:

CREATE TABLE `ps_currency_lang` (
	`id_currency` INT(10) UNSIGNED NOT NULL,
	`id_lang` INT(10) UNSIGNED NOT NULL,
	`name` VARCHAR(255) NOT NULL,
	`symbol` VARCHAR(255) NOT NULL,
	PRIMARY KEY (`id_currency`, `id_lang`)
)
COLLATE='utf8_general_ci'
ENGINE=InnoDB
;

If you don't know how to do this, ask your provider, or some expert in phpmyadmin.

Expand  

so this will actually fix the issue and the upgrade would finish??

Link to comment
Share on other sites

  On 1/15/2020 at 2:11 PM, Hawkz said:

so this will actually fix the issue and the upgrade would finish??

Expand  

This will fix your problem ps_currency_lang doesn't exist problem. For other problems you may have, certainly they should be fixed as well. If an upgrade fails or not depends on several other factors:

  On 1/15/2020 at 1:14 PM, selectshop.at said:

Which php-version and SQL-version are in use ?

Expand  

and if you are using own (non-native) theme and addons which you should deinstall before you upgrade.

Link to comment
Share on other sites

  • 1 year later...
  • 2 weeks later...

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