Jump to content

pierre bernard

Members
  • Posts

    96
  • Joined

  • Last visited

pierre bernard's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Bonjour re-up car je suis aussi intéressé parce module
  2. Bonjour, Ceux code ci-dessus ne fonctionne plus sur 1.5.4, quelqu'un a une idée de comment faire? Quelqu'un peut m'aider ? merci d'avance
  3. Voila mon problème. [PrestaShopDatabaseException] Unknown column 'redirect_type' in 'field list'UPDATE `ps_product` SET `id_product` = '1',`id_shop_default` = '1',`id_manufacturer` = '1',`id_supplier` = '1',`reference` = 'ST0000001',`supplier_reference` = '',`location` = '',`width` = '0',`height` = '0',`depth` = '0',`weight` = '0.5',`quantity_discount` = '0',`ean13` = '0',`upc` = '',`cache_is_pack` = '0',`cache_has_attachments` = '0',`is_virtual` = '0',`id_category_default` = '3',`id_tax_rules_group` = '0',`on_sale` = '0',`online_only` = '0',`ecotax` = '0',`minimal_quantity` = '1',`price` = '124.58194',`wholesale_price` = '70',`unity` = '',`unit_price_ratio` = '0',`additional_shipping_cost` = '0',`customizable` = '0',`text_fields` = '0',`uploadable_files` = '0',`active` = '1',`redirect_type` = '404',`id_product_redirected` = '0',`available_for_order` = '1',`available_date` = '0000-00-00',`condition` = 'new',`show_price` = '1',`indexed` = '0',`visibility` = 'both',`cache_default_attribute` = '0',`advanced_stock_management` = '0',`date_add` = '2012-11-15 21:00:22',`date_upd` = '2013-01-31 05:50:41' WHERE `id_product` = 1 at line 605 in file classes/db/Db.php 599. WebserviceRequest::getInstance()->setError(500, ' '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);600. } 601. else if (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) 602. { 603. if ($sql) [color=#F20000][b]604. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');[/b][/color] 605. throw new PrestaShopDatabaseException($this->getMsgError()); 606. } 607. } 608. 609. /**[/font][/color] [b]DbCore->displayError[/b] - [line 307 - classes/db/Db.php] - [1 Arguments] [b]Argument [0][/b] UPDATE `ps_product` SET `id_product` = '1',`id_shop_default` = '1',`id_manufacturer` = '1',`id_supplier` = '1',`reference` = 'ST0000001',`supplier_reference` = '',`location` = '',`width` = '0',`height` = '0',`depth` = '0',`weight` = '0.5',`quantity_discount` = '0',`ean13` = '0',`upc` = '',`cache_is_pack` = '0',`cache_has_attachments` = '0',`is_virtual` = '0',`id_category_default` = '3',`id_tax_rules_group` = '0',`on_sale` = '0',`online_only` = '0',`ecotax` = '0',`minimal_quantity` = '1',`price` = '124.58194',`wholesale_price` = '70',`unity` = '',`unit_price_ratio` = '0',`additional_shipping_cost` = '0',`customizable` = '0',`text_fields` = '0',`uploadable_files` = '0',`active` = '1',`redirect_type` = '404',`id_product_redirected` = '0',`available_for_order` = '1',`available_date` = '0000-00-00',`condition` = 'new',`show_price` = '1',`indexed` = '0',`visibility` = 'both',`cache_default_attribute` = '0',`advanced_stock_management` = '0',`date_add` = '2012-11-15 21:00:22',`date_upd` = '2013-01-31 05:50:41' WHERE `id_product` = 1 [b]DbCore->query[/b] - [line 581 - classes/db/Db.php] - [1 Arguments] [b]Argument [0][/b] UPDATE `ps_product` SET `id_product` = '1',`id_shop_default` = '1',`id_manufacturer` = '1',`id_supplier` = '1',`reference` = 'ST0000001',`supplier_reference` = '',`location` = '',`width` = '0',`height` = '0',`depth` = '0',`weight` = '0.5',`quantity_discount` = '0',`ean13` = '0',`upc` = '',`cache_is_pack` = '0',`cache_has_attachments` = '0',`is_virtual` = '0',`id_category_default` = '3',`id_tax_rules_group` = '0',`on_sale` = '0',`online_only` = '0',`ecotax` = '0',`minimal_quantity` = '1',`price` = '124.58194',`wholesale_price` = '70',`unity` = '',`unit_price_ratio` = '0',`additional_shipping_cost` = '0',`customizable` = '0',`text_fields` = '0',`uploadable_files` = '0',`active` = '1',`redirect_type` = '404',`id_product_redirected` = '0',`available_for_order` = '1',`available_date` = '0000-00-00',`condition` = 'new',`show_price` = '1',`indexed` = '0',`visibility` = 'both',`cache_default_attribute` = '0',`advanced_stock_management` = '0',`date_add` = '2012-11-15 21:00:22',`date_upd` = '2013-01-31 05:50:41' WHERE `id_product` = 1 [b]DbCore->q[/b] - [line 409 - classes/db/Db.php] - [2 Arguments] [b]Argument [0][/b] UPDATE `ps_product` SET `id_product` = '1',`id_shop_default` = '1',`id_manufacturer` = '1',`id_supplier` = '1',`reference` = 'ST0000001',`supplier_reference` = '',`location` = '',`width` = '0',`height` = '0',`depth` = '0',`weight` = '0.5',`quantity_discount` = '0',`ean13` = '0',`upc` = '',`cache_is_pack` = '0',`cache_has_attachments` = '0',`is_virtual` = '0',`id_category_default` = '3',`id_tax_rules_group` = '0',`on_sale` = '0',`online_only` = '0',`ecotax` = '0',`minimal_quantity` = '1',`price` = '124.58194',`wholesale_price` = '70',`unity` = '',`unit_price_ratio` = '0',`additional_shipping_cost` = '0',`customizable` = '0',`text_fields` = '0',`uploadable_files` = '0',`active` = '1',`redirect_type` = '404',`id_product_redirected` = '0',`available_for_order` = '1',`available_date` = '0000-00-00',`condition` = 'new',`show_price` = '1',`indexed` = '0',`visibility` = 'both',`cache_default_attribute` = '0',`advanced_stock_management` = '0',`date_add` = '2012-11-15 21:00:22',`date_upd` = '2013-01-31 05:50:41' WHERE `id_product` = 1 [b]Argument [1][/b] 1 [b]DbCore->update[/b] - [line 598 - classes/ObjectModel.php] - [5 Arguments] [b]Argument [0][/b] product [b]Argument [1][/b] Array ( [id_product] => 1 [id_shop_default] => 1 [id_manufacturer] => 1 [id_supplier] => 1 [reference] => ST0000001 [supplier_reference] => [location] => [width] => 0 [height] => 0 [depth] => 0 [weight] => 0.5 [quantity_discount] => 0 [ean13] => 0 [upc] => [cache_is_pack] => 0 [cache_has_attachments] => 0 [is_virtual] => 0 [id_category_default] => 3 [id_tax_rules_group] => 0 [on_sale] => 0 [online_only] => 0 [ecotax] => 0 [minimal_quantity] => 1 [price] => 124.58194 [wholesale_price] => 70 [unity] => [unit_price_ratio] => 0 [additional_shipping_cost] => 0 [customizable] => 0 [text_fields] => 0 [uploadable_files] => 0 [active] => 1 [redirect_type] => 404 [id_product_redirected] => 0 [available_for_order] => 1 [available_date] => 0000-00-00 [condition] => new [show_price] => 1 [indexed] => 0 [visibility] => both [cache_default_attribute] => 0 [advanced_stock_management] => 0 [date_add] => 2012-11-15 21:00:22 [date_upd] => 2013-01-31 05:50:41 ) [b]Argument [2][/b] `id_product` = 1 [b]Argument [3][/b] 0 [b]Argument [4][/b] [b]ObjectModelCore->update[/b] - [line 492 - classes/Product.php] - [1 Arguments] [b]Argument [0][/b] [b]ProductCore->update[/b] - [line 1688 - controllers/admin/AdminProductsController.php] - [size=3][0 Argument][/size] [size=3]1682. $object->indexed = 0; 1683. 1684. if (Shop::isFeatureActive() && Shop::getContext() != Shop::CONTEXT_SHOP) 1685. $object->setFieldsToUpdate((array)Tools::getValue('multishop_check')); 1686. [color=#F20000][b]1687. if ($object->update())[/b][/color] 1688. { 1689. if (in_array($this->context->shop->getContext(), array(Shop::CONTEXT_SHOP, Shop::CONTEXT_ALL))) 1690. { 1691. if ($this->isTabSubmitted('Shipping')) 1692. $this->addCarriers();[/size] [b]AdminProductsControllerCore->processUpdate[/b] - [line 626 - classes/controller/AdminController.php] - [size=3][0 Argument][/size] [size=3]620. public function processSave() 621. { 622. if ($this->id_object) 623. { 624. $this->object = $this->loadObject(); [color=#F20000][b]625. return $this->processUpdate();[/b][/color] 626. } 627. else 628. return $this->processAdd(); 629. } 630. [/size] [b]AdminControllerCore->processSave[/b] - [line 541 - classes/controller/AdminController.php] - [size=3][0 Argument][/size] [size=3]535. { 536. // Hook before action 537. Hook::exec('actionAdmin'.ucfirst($this->action).'Before', array('controller' => $this)); 538. Hook::exec('action'.get_class($this).ucfirst($this->action).'Before', array('controller' => $this)); 539. // Call process [color=#F20000][b]540. $return = $this->{'process'.Tools::toCamelCase($this->action)}();[/b][/color] 541. // Hook After Action 542. Hook::exec('actionAdmin'.ucfirst($this->action).'After', array('controller' => $this, 'return' => $return)); 543. Hook::exec('action'.get_class($this).ucfirst($this->action).'After', array('controller' => $this, 'return' => $return)); 544. 545. return $return;[/size] [b]AdminControllerCore->postProcess[/b] - [line 1171 - controllers/admin/AdminProductsController.php] - [size=3][0 Argument][/size] [size=3]1165. * @return void 1166. */ 1167. public function postProcess() 1168. { 1169. if (!$this->redirect_after) [color=#F20000][b]1170. parent::postProcess();[/b][/color] 1171. 1172. if ($this->display == 'edit' || $this->display == 'add') 1173. { 1174. $this->addjQueryPlugin(array( 1175. 'autocomplete',[/size] [b]AdminProductsControllerCore->postProcess[/b] - [line 158 - classes/controller/Controller.php] - [size=3][0 Argument][/size] [size=3]152. // setMedia MUST be called before postProcess 153. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) 154. $this->setMedia(); 155. 156. // postProcess handles ajaxProcess [color=#F20000][b]157. $this->postProcess();[/b][/color] 158. 159. if (!empty($this->redirect_after)) 160. $this->redirect(); 161. 162. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className)))[/size] [b]ControllerCore->run[/b] - [line 348 - classes/Dispatcher.php] - [size=3][0 Argument][/size] [size=3]342. // Execute hook dispatcher 343. if (isset($params_hook_action_dispatcher)) 344. Hook::exec('actionDispatcher', $params_hook_action_dispatcher); 345. 346. // Running controller [color=#F20000][b]347. $controller->run();[/b][/color] 348. } 349. catch (PrestaShopException $e) 350. { 351. $e->displayMessage(); 352. }[/size] [b]DispatcherCore->dispatch[/b] - [line 50 - 01/index.php] - [size=3][0 Argument][/size] [size=3]44. $_POST['controller'] = strtolower($_POST['tab']); 45. if (!isset($_REQUEST['controller']) && isset($_REQUEST['tab'])) 46. $_REQUEST['controller'] = strtolower($_REQUEST['tab']); 47. 48. // Prepare and trigger admin dispatcher [color=#F20000][b]49. Dispatcher::getInstance()->dispatch();[/b][/color][/size]
  4. bonjour, Je re up ce sujet, car j'ai aussi le même problème. merci pour votre aide
  5. Bonjour, pour moi j'obtient ceci : Unknown column 'redirect_type' in 'field list'UPDATE `ps_product` SET `id_product` = '1',`id_shop_default` = '1',`id_manufacturer` = '1',`id_supplier` = '1',`reference` = 'ST0000001',`supplier_reference` = '',`location` = '',`width` = '0',`height` = '0',`depth` = '0',`weight` = '0.5',`quantity_discount` = '0',`ean13` = '0',`upc` = '',`cache_is_pack` = '0',`cache_has_attachments` = '0',`is_virtual` = '0',`id_category_default` = '3',`id_tax_rules_group` = '0',`on_sale` = '0',`online_only` = '0',`ecotax` = '0',`minimal_quantity` = '1',`price` = '124.58194',`wholesale_price` = '70',`unity` = '',`unit_price_ratio` = '0',`additional_shipping_cost` = '0',`customizable` = '0',`text_fields` = '0',`uploadable_files` = '0',`active` = '1',`redirect_type` = '404',`id_product_redirected` = '0',`available_for_order` = '1',`available_date` = '0000-00-00',`condition` = 'new',`show_price` = '1',`indexed` = '0',`visibility` = 'both',`cache_default_attribute` = '0',`advanced_stock_management` = '0',`date_add` = '2012-11-15 21:00:22',`date_upd` = '2013-01-29 17:33:45' WHERE `id_product` = 1 at line 605 in file classes/db/Db.php 599. WebserviceRequest::getInstance()->setError(500, ' '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);600. } 601. else if (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) 602. { 603. if ($sql) [color=#F20000][b]604. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>'); [/b][/color]605. throw new PrestaShopDatabaseException($this->getMsgError()); 606. } 607. } 608. 609. /** [/font][/color] [b]DbCore->displayError[/b] - [line 307 - classes/db/Db.php] - [1 Arguments] [b]DbCore->query[/b] - [line 581 - classes/db/Db.php] - [1 Arguments] [b]DbCore->q[/b] - [line 409 - classes/db/Db.php] - [2 Arguments] [b]DbCore->update[/b] - [line 598 - classes/ObjectModel.php] - [5 Arguments] [b]ObjectModelCore->update[/b] - [line 492 - classes/Product.php] - [1 Arguments] [b]ProductCore->update[/b] - [line 1688 - controllers/admin/AdminProductsController.php] - [size=3][0 Argument][/size] [b]AdminProductsControllerCore->processUpdate[/b] - [line 626 - classes/controller/AdminController.php] - [size=3][0 Argument][/size] [b]AdminControllerCore->processSave[/b] - [line 541 - classes/controller/AdminController.php] - [size=3][0 Argument][/size] [b]AdminControllerCore->postProcess[/b] - [line 1171 - controllers/admin/AdminProductsController.php] - [size=3][0 Argument][/size] [b]AdminProductsControllerCore->postProcess[/b] - [line 158 - classes/controller/Controller.php] - [size=3][0 Argument][/size] [b]ControllerCore->run[/b] - [line 348 - classes/Dispatcher.php] - [size=3][0 Argument][/size] [b]DispatcherCore->dispatch[/b] - [line 50 - 01/index.php] - [size=3][0 Argument][/size] Quelqu'un peut m'aider, merci d'avance
  6. Bonjour, C' est vraiment dommage, car j'ai acheté son module et maintenant le module n'est pas compatible 1.5
×
×
  • Create New...