Перейти к содержанию
View in the app

A better way to browse. Learn more.

Русскоязычное сообщество Opencart

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Евгений Залибобов

Пользователь
  • Зарегистрирован

  • Посещение

  1. Прошу помочь, поставил модуль и стало выдавать ошибку при переходе в корзину. Не могу разобраться с ошибкой при переходе в корзину. Выбираю товар, добавляю его в корзину, а когда перехожу в корзину выдает ошибку, в чем проблема? Fatal error: Uncaught Exception: Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AS result' at line 1<br />Error No: 1064<br />SELECT () AS result in /home/aptechka111/domains/aptechkazone.ru/public_html/system/library/db/mysqli.php:41 Stack trace: #0 /home/aptechka111/domains/aptechkazone.ru/public_html/system/library/db.php(45): DB\MySQLi->query('SELECT () AS re...') #1 /home/aptechka111/domains/aptechkazone.ru/public_html/catalog/model/extension/shipping/regional_flat.php(48): DB->query('SELECT () AS re...') #2 /home/aptechka111/domains/aptechkazone.ru/storage/modification/system/engine/loader.php(248): ModelExtensionShippingRegionalFlat->getQuote(Array) #3 /home/aptechka111/domains/aptechkazone.ru/public_html/system/engine/proxy.php(47): Loader->{closure}(Array, Array) #4 /home/aptechka111/domains/aptechkazone.ru/public_html/catalog/controller/checkout/uni_checkout.php(859): Proxy->__call('getQuote', Array) #5 /home/aptechk in /home/aptechka111/domains/aptechkazone.ru/public_html/system/library/db/mysqli.php on line 41__________________________________________________________________________________<?phpnamespace DB;final class MySQLi {private $connection;public function __construct($hostname, $username, $password, $database, $port = '3306') {$this->connection = new \mysqli($hostname, $username, $password, $database, $port);if ($this->connection->connect_error) {throw new \Exception('Error: ' . $this->connection->connect_error . '<br />Error No: ' . $this->connection->connect_errno);}$this->connection->set_charset("utf8");$this->connection->query("SET SQL_MODE = ''");$this->connection->query("SET SESSION sql_mode = 'NO_ENGINE_SUBSTITUTION'");}public function query($sql) {$query = $this->connection->query($sql);if (!$this->connection->errno) {if ($query instanceof \mysqli_result) {$data = array();while ($row = $query->fetch_assoc()) {$data[] = $row;}$result = new \stdClass();$result->num_rows = $query->num_rows;$result->row = isset($data[0]) ? $data[0] : array();$result->rows = $data;$query->close();return $result;} else {return true;}} else {throw new \Exception('Error: ' . $this->connection->error . '<br />Error No: ' . $this->connection->errno . '<br />' . $sql);}}public function escape($value) {return $this->connection->real_escape_string($value);}public function countAffected() {return $this->connection->affected_rows;}public function getLastId() {return $this->connection->insert_id;}public function connected() {return $this->connection->ping();}public function __destruct() {$this->connection->close();}}

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.