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

44 minutes ago, 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.

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

Link to comment
Share on other sites

17 hours ago, Hawkz said:

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

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:

18 hours ago, selectshop.at said:

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

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