Jump to content

[PrestaShopDatabaseException]


Recommended Posts

Bonjour,

Je n('arrive plus à entrer dans le BO des modules il y a une page d'erreur qui s'affiche est-ce vous savez comment résoudre ce problème ? Je crois que ça vient du module paypal.

Merci

[PrestaShopDatabaseException]

Duplicate column name 'id_order'
 

        ALTER TABLE ps_payplug_lock 
        ADD COLUMN `id_order` VARCHAR(100) 
        AFTER `id_cart`


at line 623 in file classes/db/Db.php

 

617. 			WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);
618. 		}
619. 		else if (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))
620. 		{
621. 			if ($sql)
622. 				throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');
623. 			throw new PrestaShopDatabaseException($this->getMsgError());
624. 		}
625. 	}
626. 
627. 	/**
Edited by vetementmodetendance (see edit history)
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...