Jump to content

SQL error after update from 1.4.6.3 to 1.4.7.1


Recommended Posts

Hi,

 

After update from 1.4.6.3 to 1.4.7.1 I got the following SQL error:

 

ALTER TABLE `ps_address_format` ADD PRIMARY KEY (`id_country`)

(1062) Duplicate entry '1' for key 'PRIMARY'

 

Similar to http://www.prestashop.com/forums/topic/145590-upgrade-from-1441-to-1462-get-sql-error/

 

Is it a serious error? Can I fix it somehow? Or can I use PS without any problem?

Link to comment
Share on other sites

Hi nilady,

 

You should turn on debug mode in config\config.inc.php :

 

/* Debug only */

@ini_set('display_errors', 'off');

define('_PS_DEBUG_SQL_', false);

 

change to 'display_errors', 'on'

 

Then you should have an error message when you go in modules. If it is a memory issue, you have to modify your php.ini and increase the memory_limit

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