Jump to content

Admin Panel Issue


Recommended Posts

Hello and thank you for your answer.

Yes this was the problem , thank a lot.

I got another issue now. After upgrating to 1.7.5 i can't copy, add new product. All the time i get an 500 internal error.

Any suggestions where or what to search?

Thank you community again!!!

John

Link to comment
Share on other sites

Hello my dear Friend,

Yes i did that and got a page with a lot of errors.

This is the first part that i took

  1. if ($webservice_call && $errno) {
  2.             $dbg debug_backtrace();
  3.             WebserviceRequest::getInstance()->setError(500'[SQL Error] ' $this->getMsgError() . '. From ' . (isset($dbg[3]['class']) ? $dbg[3]['class'] : '') . '->' $dbg[3]['function'] . '() Query was : ' $sql97);
  4.         } elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) {
  5.             if ($sql) {
  6.                 throw new PrestaShopDatabaseException($this->getMsgError() . '<br /><br /><pre>' $sql '</pre>');
  7.             }
  8.             throw new PrestaShopDatabaseException($this->getMsgError());
  9.         }
  10.     }

 

 

Any suggestions?

 

Thank you

John

Link to comment
Share on other sites

Hello thank you for your answer.

 

Here is the first part

 

Unknown column 'additional_delivery_times' in 'field list'<br /><br /><pre>INSERT INTO `ps_product` (`id_shop_default`, `id_manufacturer`, `id_supplier`, `reference`, `supplier_reference`, `location`, `width`, `height`, `depth`, `weight`, `quantity_discount`, `ean13`, `isbn`, `upc`, `cache_is_pack`, `cache_has_attachments`, `is_virtual`, `state`, `additional_delivery_times`, `id_category_default`, `id_tax_rules_group`, `on_sale`, `online_only`, `ecotax`, `minimal_quantity`, `low_stock_threshold`, `low_stock_alert`, `price`, `wholesale_price`, `unity`, `unit_price_ratio`, `additional_shipping_cost`, `customizable`, `text_fields`, `uploadable_files`, `active`, `redirect_type`, `id_type_redirected`, `available_for_order`, `available_date`, `show_condition`, `condition`, `show_price`, `indexed`, `visibility`, `cache_default_attribute`, `advanced_stock_management`, `date_add`, `date_upd`, `pack_stock_type`) VALUES ('1', '18', '0', '701-0082-0011', '', '', '0', '0', '0', '1', '0', '3800146262259', '', '', '0', '0', '0', '1', '1', '127', '53', '0', '0', '0', '1', NULL, '0', '16.129031', '0', '', '0', '0', '0', '0', '0', '0', '404', '0', '1', '0000-00-00', '0', 'new', '1', '0', 'both', '0', '0', '2019-01-17 12:22:28', '2019-01-17 12:22:28', '3')</pre>

And this

 

Uncaught Exception: Unknown column 'additional_delivery_times' in 'field list'<br /><br /><pre>INSERT INTO `ps_product` (`id_shop_default`, `id_manufacturer`, `id_supplier`, `reference`, `supplier_reference`, `location`, `width`, `height`, `depth`, `weight`, `quantity_discount`, `ean13`, `isbn`, `upc`, `cache_is_pack`, `cache_has_attachments`, `is_virtual`, `state`, `additional_delivery_times`, `id_category_default`, `id_tax_rules_group`, `on_sale`, `online_only`, `ecotax`, `minimal_quantity`, `low_stock_threshold`, `low_stock_alert`, `price`, `wholesale_price`, `unity`, `unit_price_ratio`, `additional_shipping_cost`, `customizable`, `text_fields`, `uploadable_files`, `active`, `redirect_type`, `id_type_redirected`, `available_for_order`, `available_date`, `show_condition`, `condition`, `show_price`, `indexed`, `visibility`, `cache_default_attribute`, `advanced_stock_management`, `date_add`, `date_upd`, `pack_stock_type`) VALUES ('1', '18', '0', '701-0082-0011', '', '', '0', '0', '0', '1', '0', '3800146262259', '', '', '0', '0', '0', '1', '1', '127', '53', '0', '0', '0', '1', NULL, '0', '16.129031', '0', '', '0', '0', '0', '0', '0', '0', '404', '0', '1', '0000-00-00', '0', 'new', '1', '0', 'both', '0', '0', '2019-01-17 12:22:28', '2019-01-17 12:22:28', '3')</pre>

 

And this

 

Uncaught PHP Exception PrestaShopDatabaseException: "Unknown column 'additional_delivery_times' in 'field list'<br /><br /><pre>INSERT INTO `ps_product` (`id_shop_default`, `id_manufacturer`, `id_supplier`, `reference`, `supplier_reference`, `location`, `width`, `height`, `depth`, `weight`, `quantity_discount`, `ean13`, `isbn`, `upc`, `cache_is_pack`, `cache_has_attachments`, `is_virtual`, `state`, `additional_delivery_times`, `id_category_default`, `id_tax_rules_group`, `on_sale`, `online_only`, `ecotax`, `minimal_quantity`, `low_stock_threshold`, `low_stock_alert`, `price`, `wholesale_price`, `unity`, `unit_price_ratio`, `additional_shipping_cost`, `customizable`, `text_fields`, `uploadable_files`, `active`, `redirect_type`, `id_type_redirected`, `available_for_order`, `available_date`, `show_condition`, `condition`, `show_price`, `indexed`, `visibility`, `cache_default_attribute`, `advanced_stock_management`, `date_add`, `date_upd`, `pack_stock_type`) VALUES ('1', '18', '0', '701-0082-0011', '', '', '0', '0', '0', '1', '0', '3800146262259', '', '', '0', '0', '0', '1', '1', '127', '53', '0', '0', '0', '1', NULL, '0', '16.129031', '0', '', '0', '0', '0', '0', '0', '0', '404', '0', '1', '0000-00-00', '0', 'new', '1', '0', 'both', '0', '0', '2019-01-17 12:22:28', '2019-01-17 12:22:28', '3')</pre>" at /home/new10547/public_html/classes/db/Db.php line 769

 

Tell me if that hels you.

Thanks

John

 

 

Link to comment
Share on other sites

If you want to use this test site later on in a live shop I would recommend to restore your backup to be sure there are no further things missing. If you  just want to test on it you can add the missing field 'additional_delivery_times' to table `ps_product' in the database manually and check if this solves your issue

Link to comment
Share on other sites

Hello my friend,

I restored my backup and now it is working as i want. I will stay at this version cause in 3-4 days we want to go live.

I have a couple of issues and would need a little bit of help. First of the reason that i updated the version is a js issue. The theme owner asked me to update the whole

version in order to solve it. I asked him to help me around with this issue. The other issue that i have is with the link widget. I made a test so i could add a block but after

deleting the link my whole theme went crazy. You can take a look here.

 

new.beboulino.gr

 

Any suggestions for this? Could the cache be the problem? I cleared the cache but nothing. I aslo searched around for css issues but still problems.

Thanks

John

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