Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

ibond

Users
  • Posts

    1,616
  • Joined

  • Last visited

Technical support

  • Works Day
    Пн
    Вт
    Ср
    Чт
    Пт
    Сб
    Вс
  • Works time
    с 08:00 - 22:00
  • Status
    Работаю

Information

  • Gender
    Мужчина
  • City:
    Киев

Recent Profile Visitors

20,697 profile views

ibond's Achievements

Grand Master

Grand Master (14/14)

  • Dedicated Rare
  • First Post
  • Collaborator
  • Posting Machine Rare
  • Conversation Starter

Recent Badges

410

Reputation

  1. наверное поняли не так мой dump, имелось ввиду dump таблицы mysql
  2. $connection->real_escape_string? уже в mysqli есть: public function escape($value) { return $this->connection->real_escape_string($value); } у вас в коде должно работать $connection->escape, если бы вы подгружали как $db = new DB(DB_DRIVER, DB_HOSTNAME, DB_USERNAME, DB_PASSWORD, DB_DATABASE, DB_PORT); то было бы $db->escape. Все текстовые поля так надо обернуть (минус плюс и т.д.). И должна быть ошибка, добавьте в скрипт вывод ошибок: ini_set("display_errors",1); error_reporting(E_ALL);
  3. Что именно? Покажите новый код, ошибки? Дайте дамп пустой таблицы.
  4. '$review_id', '$productId',????? '" . (int)$review_id . "', '" . (int)$productId . "', может так лучше будет? a для текста: $connection->escape($value['name'])
  5. модуля не видел такого, напишите лучше какая задача должна быть
  6. Это не полный модификатор, это кусок модификатора. Думаю дальше надо подумать
  7. Вы уверены? https://www.ukraine.com.ua/uk/info/tools/redirect/?url=https%3A%2F%2Fdemo23.ocstore.com%2Fdesktops%2Fmac%2F%3Fpage%3D26
  8. добавлю уже сюда в тему к производителям <file path="catalog/controller/product/manufacturer.php"> <operation> <search><![CDATA[ $results = $this->model_catalog_product->getProducts($filter_data); ]]></search> <add position="after"><![CDATA[ //# is_empty_to_redirect.ocmod.xml if ($page == 1 && !$results) { $this->response->redirect($this->url->link('product/manufacturer', '', true), 301); } else if ($page > 1 && !$results) { $this->response->addHeader($this->request->server['SERVER_PROTOCOL'] . ' 404 Not Found'); } //# is_empty_to_redirect.ocmod.xml ]]></add> </operation> </file>
  9. Так то ваше право куда редирект + можно поставить 301, а не как по старью стоит 302. Задача удалить страницу из индекса.
×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.