seva 0 Опубликовано 23 февраля, 2011 Жалоба Share Опубликовано 23 февраля, 2011 Во время оформления-на втором шаге выкидывает ошибку закрыт по тех причинам. код ошибки: AND quantity<='1' | /checkout_shipping.php 23/02/2011 17:02:07 | 1146 - Table 'smarttoys.personal_offers_by_customers_status_' doesn't exist | SELECT max(quantity) as qty FROM personal_offers_by_customers_status_ WHERE products_id='5136' AND quantity<='1' | /checkout_shipping.php 23/02/2011 17:02:36 | 1146 - Table 'smarttoys.personal_offers_by_customers_status_' doesn't exist | SELECT max(quantity) as qty FROM personal_offers_by_customers_status_ WHERE products_id='5132' AND quantity<='1' | /checkout_shipping.php 23/02/2011 17:02:38 | 1146 - Table 'smarttoys.personal_offers_by_customers_status_' doesn't exist | SELECT max(quantity) as qty FROM personal_offers_by_customers_status_ WHERE products_id='5131' AND quantity<='1' | /checkout_shipping.php 23/02/2011 17:02:57 | 1146 - Table 'smarttoys.personal_offers_by_customers_status_' doesn't exist | SELECT max(quantity) as qty FROM personal_offers_by_customers_status_ WHERE products_id='5136' AND quantity<='1' | /kvadrocikl-hot-shot-toyhouse-krasnyj.html 23/02/2011 17:02:08 | 1146 - Table 'smarttoys.personal_offers_by_customers_status_' doesn't exist | SELECT max(quantity) as qty FROM personal_offers_by_customers_status_ WHERE products_id='5136' AND quantity<='1' | / 23/02/2011 17:02:26 | 1146 - Table 'smarttoys.personal_offers_by_customers_status_' doesn't exist | SELECT max(quantity) as qty FROM personal_offers_by_customers_status_ WHERE products_id='5134' AND quantity<='1' | / 23/02/2011 17:02:42 | 1146 - Table 'smarttoys.personal_offers_by_customers_status_' doesn't exist | SELECT max(quantity) as qty FROM personal_offers_by_customers_status_ WHERE products_id='5131' AND quantity<='1' | /kvadrocikl-hot-shot-toyhouse-krasnyj.html 23/02/2011 17:02:21 | 1062 - Duplicate entry '0' for key 'PRIMARY' | insert into customers_info (customers_info_id, customers_info_number_of_logons, customers_info_date_account_created) values ('0', '0', now()) | /checkout_alternative.php 23/02/2011 17:02:36 | 1146 - Table 'smarttoys.personal_offers_by_customers_status_' doesn't exist | SELECT max(quantity) as qty FROM personal_offers_by_customers_status_ WHERE products_id='5132' AND quantity<='1' | /logoff.php 23/02/2011 17:02:49 | 1146 - Table 'smarttoys.personal_offers_by_customers_status_' doesn't exist | SELECT max(quantity) as qty FROM personal_offers_by_customers_status_ WHERE products_id='5131' AND quantity<='1' | / 23/02/2011 17:02:54 | 1146 - Table 'smarttoys.personal_offers_by_customers_status_' doesn't exist | SELECT max(quantity) as qty FROM personal_offers_by_customers_status_ WHERE products_id='5135' AND quantity<='1' | / 23/02/2011 17:02:27 | 1146 - Table 'smarttoys.personal_offers_by_customers_status_' doesn't exist | SELECT max(quantity) as qty FROM personal_offers_by_customers_status_ WHERE products_id='5132' AND quantity<='1' | /account.php 23/02/2011 17:02:30 | 1146 - Table 'smarttoys.personal_offers_by_customers_status_' doesn't exist | SELECT max(quantity) as qty FROM personal_offers_by_customers_status_ WHERE products_id='5139' AND quantity<='1' | / Ссылка на сообщение Поделиться на другие сайты
seva 0 Опубликовано 23 февраля, 2011 Автор Жалоба Share Опубликовано 23 февраля, 2011 тема закрыта, с данной проблемой сталкивался уже, всплыла по новой так как обновились фаилы после патча 1.62 решение. Правим два фала checkout_alternative.php create_guest_account.php в них щем кусок кода: $_SESSION['customer_id'] = vam_db_insert_id(); $extra_fields_query = vamDBquery("select ce.fields_id from " . TABLE_EXTRA_FIELDS . " ce where ce.fields_status=1 "); $_SESSION['customer_id'] = vam_db_insert_id(); $customers_id = $_SESSION['customer_id']; И меняем его на : $_SESSION['customer_id'] = vam_db_insert_id(); $extra_fields_query = vamDBquery("select ce.fields_id from " . TABLE_EXTRA_FIELDS . " ce where ce.fields_status=1 "); //$_SESSION['customer_id'] = vam_db_insert_id(); $customers_id = $_SESSION['customer_id']; Ссылка на сообщение Поделиться на другие сайты
Рекомендуемые сообщения