gazy98 Posted May 13, 2015 Share Posted May 13, 2015 Hallo Ich habe wieder einmal ein riesen Problem Habe soeben einelange Liste an Updates für meine Module bekommen und dann spontan auf "alle Aktualisieren" geklickt. Jetzt wird mir beim klicken auf "Module" flogendes Problem angezeigt: [PrestaShopDatabaseException]Unknown column 'lang' in 'ps12_av_products_reviews' ALTER TABLE ps12_av_products_reviews CHANGE `lang` `iso_lang` VARCHAR( 5 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT "0"; at line 639 in file classes/db/Db.php 634. WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);635. }636. elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))637. {638. if ($sql)639. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');640. throw new PrestaShopDatabaseException($this->getMsgError());641. }642. }643. 644. /** DbCore->displayError - [line 333 - classes/db/Db.php] - [1 Arguments]328. if ($sql instanceof DbQuery)329. $sql = $sql->build();330. 331. $this->result = $this->_query($sql);332. if (_PS_DEBUG_SQL_)333. $this->displayError($sql);334. return $this->result;335. }336. 337. /**338. * Execute an INSERT query DbCore->query - [line 473 - classes/db/Db.php] - [1 Arguments]468. public function execute($sql, $use_cache = true)469. {470. if ($sql instanceof DbQuery)471. $sql = $sql->build();472. 473. $this->result = $this->query($sql);474. if ($use_cache && $this->is_cache_enabled)475. Cache::getInstance()->deleteQuery($sql);476. return (bool)$this->result;477. }478. DbCore->execute - [line 174 - modules/netreviews/upgrade/upgrade-7.1.31.php] - [1 Arguments]169. 170. 171. foreach ($query as $sql)172. {173. $error = false;174. if (!Db::getInstance()->Execute($sql))175. {176. Context::getContext()->controller->errors[] = sprintf($module->l('SQL ERROR : %s | Query can\'t be executed. Maybe, check SQL user permissions.'), $sql);177. $error = true;178. }179. } upgradeDatabase - [line 39 - modules/netreviews/upgrade/upgrade-7.1.31.php] - [1 Arguments]34. */35. function upgrade_module_7_1_31($module)36. {37. return upgradePsConfiguration($module) //Upgrade PS configuration from previous versions to the version 7.1.3138. && upgradeHook($module) //Upgrade hook from previous versions to the version 7.1.3139. && upgradeDatabase($module); //Upgrade database from previous versions to the version 7.1.3140. }41. 42. /**43. * Function used to update your PS configuration from previous versions to the version 7.1.31,44. */ upgrade_module_7_1_31 - [line 442 - classes/module/Module.php] - [1 Arguments] ModuleCore->runUpgradeModule - [line 1416 - controllers/admin/AdminModulesController.php] AdminModulesControllerCore->initContent - [line 180 - classes/controller/Controller.php] ControllerCore->run - [line 374 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 54 - admin/index.php] Ich weiß einfach nicht wo das Problem ist.... Die Wenseite läuft und sonst ist auch das Gesamte Admin-Panel voll funktionsfähig! Hoffe ihr könnt mir helfen ! Link to comment Share on other sites More sharing options...
tuk66 Posted May 13, 2015 Share Posted May 13, 2015 Haben Sie lang oder iso_lang Feld in ps12_av_products_reviews Tabelle? Vielleicht wird diese Tabelle bereits aktualisiert. you have lang or iso_lang field in ps12_av_products_reviews table? Maybe this table is already upgraded. Link to comment Share on other sites More sharing options...
gazy98 Posted May 13, 2015 Author Share Posted May 13, 2015 Ich hatte iso_lang als Feld. habe aber auch schon versucht auf lang zu ändern. Wurde aber wieder Rückgängig gemacht. Link to comment Share on other sites More sharing options...
kulli Posted May 13, 2015 Share Posted May 13, 2015 ps12 ? eigenes präfix für die tabelle könnte das problem sein; oder die modulupdates sind nicht für die Prestashop-version der Datenbank, dh. es wurde irgendwann mal ein shop-update eingespielt und dann eine alte Datenbank als backup genommen. Link to comment Share on other sites More sharing options...
Avis_Verifies Posted June 1, 2015 Share Posted June 1, 2015 Hello, I'm Rémi, Lead Developer at "Avis Vérifiés ("Verified Reviews" "Recensioni Verificate" ... netreviews)". We are sorry for the inconvenience caused by the module. Do you have FTP access ? If yes, connect to it, and go to Modules > netreviews and just rename the folder 'upgrade' by 'upgrade_old'. The problem is caused by a file in it, Prestashop is trying to upgrade your database. If you want to use our module, remove it from your FTP, go to Prestashop Add-ons and download the last one. Please let me know if you resolve the problem, do not hesitate to contact me for any questions. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now