Jump to content

Sterminous

Members
  • Posts

    38
  • Joined

  • Last visited

Profile Information

  • Activity
    Other

Sterminous's Achievements

Newbie

Newbie (1/14)

1

Reputation

1

Community Answers

  1. I got this problem solved, my template had demo store files and those files were messed up. Removed demo store files and did clean prestashop install and everything is working.
  2. MySQL says this error when i ran the first command: "#1091 - Can't DROP 'id_specific_price_rule_2'; check that column/key exists." And when i ran second command it says error: "#1061 - Duplicate key name 'id_product_2' ", i checked the table "ps_specific_price" and there is no column called id_product_2 Still can't add products
  3. I went to my phpmyadmin, selected database that i use, pressed the "SQL" tab and entered that command.
  4. When i tried to add products i got this error: " An error occurred while creating an object. product ", then i enabled debug mode and when i go to my store it says this error: " Key 'id_product_2' doesn't exist in table 'ps_specific_price' " SELECT *, ( IF (`id_group` = 1, 2, 0) + IF (`id_country` = 21, 4, 0) + IF (`id_currency` = 1, 8, 0) + IF (`id_shop` = 1, 16, 0) + IF (`id_customer` = 0, 32, 0)) AS `score` FROM `ps_specific_price` USE INDEX (id_product_2) WHERE `id_product` IN (0, 2) AND `id_product_attribute` IN (0, 0) AND `id_shop` IN (0, 1) AND `id_currency` IN (0, 1) AND `id_country` IN (0, 21) AND `id_group` IN (0, 1) AND `id_customer` IN (0, 0) AND ( (`from` = '0000-00-00 00:00:00' OR '2015-07-27 04:30:00' >= `from`) AND (`to` = '0000-00-00 00:00:00' OR '2015-07-27 04:30:00' <= `to`) ) AND id_cart IN (0, 0) AND IF(`from_quantity` > 1, `from_quantity`, 0) <= 1 ORDER BY `id_product_attribute` DESC, `from_quantity` DESC, `id_specific_price_rule` ASC, `score` DESC, `to` DESC, `from` DESC LIMIT 1 How to fix this? I reinstalled it many times, but always the same error. EDIT: I use Prestashop 1.6.1.0
  5. Error 1: Warning: File ./htdocs/header.php is deprecated in ./htdocs/classes/Tools.php on line 2137 Error 2: Warning: Function displayFooter() is deprecated in ./htdocs/footer.php on line 39 in ./htdocs/classes/Tools.php on line 2137 Error 3: Notice: ob_end_clean(): failed to delete buffer. No buffer to delete in ./controllers/admin/AdminCustomerThreadsController.php on line 478 Warning: Cannot modify header information - headers already sent by (output started at ./controllers/admin/AdminCustomerThreadsController.php:478) in ./controllers/admin/AdminCustomerThreadsController.php on line 479 Warning: Cannot modify header information - headers already sent by (output started at ./controllers/admin/AdminCustomerThreadsController.php:478) in ./controllers/admin/AdminCustomerThreadsController.php on line 480 Using prestashop 1.5.6.1
  6. If i try to change products per page, then it will give me this message [Debug] This page has moved Please use the following URL instead: ./index.php?id_category=13&controller=category&n=24 How to fix it, i couldn't find that place in FrontController.php, product-sort.tpl and pagination.tpl.
  7. Problem solved, these pages were disabled-.-
×
×
  • Create New...