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

HeKTo

Newbie
  
  • Posts

    19
  • Joined

  • Last visited

Recent Profile Visitors

1,347 profile views

HeKTo's Achievements

Apprentice

Apprentice (3/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. Не обязан, но ведёшь себя как ******! С самого начала заговора! Все отдыхай! Разговор закрыт!
  2. Это был тестовый сайт, который так и не запустился. Работы небыло в нем, были заготовки, но работы небыло! Вы так же это можете увидеть по вебархиву, раз вы решили углубиться. Как раз там и был тест, а в настоящем сайте есть и товар и наполнение! Не надо тут придумывать на ходу! Хочешь себя выгородить! Да подавись ты своими 450рублями **********!!! Выдано предупреждение: - оскорбление пользователей Наказание: - ограничение публикаций
  3. Уважаемая администрация. Почему поставщик данного модуля имеет наглость спорить с клиентом?.. Почему не меняет тестовый домен которым не пользовался и всего один раз тестировал, на тот домен который хочу закрепить за модулем?.. Стартового домена даже нет в сети, он не даёт смену на рабочий! И ещё специально кровь заворачивает! Че нравится смеяться??! Щас посмеёмся! Че денег нет?..или ты считаешь по петру можно со всех лохов рубить?..
  4. Ребят, на версии 2.3.0.2 этот модуль не работает. Я так понял все дело в checkout.php. Тупо не хочет загружать корзину, возвращаю базовый, все грузится. Помогите, пж. Файл прикрепил. checkout.php
  5. Вариантов нет больше? и не отвечает никто даже за деньги((
  6. Эхх(( Теперь другая ошибка( Warning: Illegal string offset 'success' in /home/mozgmozg/fazlmarket.ru/docs/system/storage/modification/catalog/controller/captcha/google_captcha.php on line 63Notice: Uninitialized string offset: 0 in /home/mozgmozg/fazlmarket.ru/docs/system/storage/modification/catalog/controller/captcha/google_captcha.php on line 63Так же проходишь проверку, все хорошо. Если нажимаешь продолжить или не проходишь проверку выдает эту ересь(( блин((
  7. Такс, ошибочка.. <?php class ControllerCaptchaGoogleCaptcha extends Controller { public function index($error = array()) { $this->load->language('captcha/google_captcha'); $data['heading_title'] = $this->language->get('heading_title'); $data['entry_captcha'] = $this->language->get('entry_captcha'); $this->document->addScript('https://www.google.com/recaptcha/api.js'); if (isset($error['captcha'])) { $data['error_captcha'] = $error['captcha']; } else { $data['error_captcha'] = ''; } $data['site_key'] = $this->config->get('google_captcha_key'); $data['route'] = $this->request->get['route']; if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/captcha/google_captcha.tpl')) { return $this->load->view($this->config->get('config_template') . '/template/captcha/google_captcha.tpl', $data); } else { return $this->load->view('default/template/captcha/google_captcha.tpl', $data); } } public function validate() { $this->load->language('captcha/google_captcha'); //$recaptcha = file_get_contents('https://www.google.com/recaptcha/api/siteverify?secret=' . urlencode($this->config->get('google_captcha_secret')) . '&response=' . $this->request->post['g-recaptcha-response'] . '&remoteip=' . $this->request->server['REMOTE_ADDR']); if (!empty($this->request->post['g-recaptcha-response'])) { $curlConfig = array( CURLOPT_URL => 'https://www.google.com/recaptcha/api/siteverify', CURLOPT_POST => true, CURLOPT_RETURNTRANSFER => true, CURLOPT_POSTFIELDS => array( 'secret' => $this->config->get('google_captcha_secret'), 'response' => $this->request->post['g-recaptcha-response'], 'remoteip' => $this->request->server['REMOTE_ADDR'] ) ); $curl = curl_init(); curl_setopt_array($curl, $curlConfig); $recaptcha = curl_exec($curl); if (!$recaptcha) { trigger_error(curl_error($curl)); } curl_close($curl); $recaptcha = json_decode($recaptcha, true); } else { $recaptcha = array(); } if (!$recaptcha['success']) { return $this->language->get('error_captcha'); } } } Вот переделал, но все вернулось обратно. Так же проходишь проверку все нормально, если не проходишь или просто жмешь продолжить выдает кракозябры и: Notice: Undefined index: success in /home/mozgmozg/fazlmarket.ru/docs/system/storage/modification/catalog/controller/captcha/google_captcha.php on line 63
  8. Похоже придется искать фрилансера( Раз русскоязычное сообщество движка бессильно))
  9. С этим кодом вот что дает: Warning: json_decode() expects parameter 1 to be string, array given in /home/mozgmozg/fazlmarket.ru/docs/system/storage/modification/catalog/controller/captcha/google_captcha.php on line63 Вот как изменил: <?php class ControllerCaptchaGoogleCaptcha extends Controller { public function index($error = array()) { $this->load->language('captcha/google_captcha'); $data['heading_title'] = $this->language->get('heading_title'); $data['entry_captcha'] = $this->language->get('entry_captcha'); $this->document->addScript('https://www.google.com/recaptcha/api.js'); if (isset($error['captcha'])) { $data['error_captcha'] = $error['captcha']; } else { $data['error_captcha'] = ''; } $data['site_key'] = $this->config->get('google_captcha_key'); $data['route'] = $this->request->get['route']; if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/captcha/google_captcha.tpl')) { return $this->load->view($this->config->get('config_template') . '/template/captcha/google_captcha.tpl', $data); } else { return $this->load->view('default/template/captcha/google_captcha.tpl', $data); } } public function validate() { $this->load->language('captcha/google_captcha'); //$recaptcha = file_get_contents('https://www.google.com/recaptcha/api/siteverify?secret=' . urlencode($this->config->get('google_captcha_secret')) . '&response=' . $this->request->post['g-recaptcha-response'] . '&remoteip=' . $this->request->server['REMOTE_ADDR']); if (!empty($this->request->post['g-recaptcha-response'])) { $curlConfig = array( CURLOPT_URL => 'https://www.google.com/recaptcha/api/siteverify', CURLOPT_POST => true, CURLOPT_RETURNTRANSFER => true, CURLOPT_POSTFIELDS => array( 'secret' => $this->config->get('google_captcha_secret'), 'response' => $this->request->post['g-recaptcha-response'], 'remoteip' => $this->request->server['REMOTE_ADDR'] ) ); $curl = curl_init(); curl_setopt_array($curl, $curlConfig); $recaptcha = curl_exec($curl); if (!$recaptcha) { trigger_error(curl_error($curl)); } curl_close($curl); $recaptcha = json_decode($recaptcha, true); } else { $recaptcha = array(); } $recaptcha = json_decode($recaptcha, true); if (!$recaptcha['success']) { return $this->language->get('error_captcha'); } } }
  10. Без мода курл, дает кракозябры даже когда прошел проверку гугл...а так когда проходишь все гут, только когда не проходишь или просто нажимаешь продолжить...
  11. Ну как) искал русскую версию и нашел) opencart-russia точка ру файл где дает ошибку прикрепил, а где файл кэша брать(и как называется именно тот кэш)? google_captcha.php
  12. 2015-12-22 8:05:21 - PHP Notice: Undefined variable: recaptcha in /home/mozgmozg/fazlmarket.ru/docs/system/storage/modification/catalog/controller/captcha/google_captcha.php on line 59 Вот что пишет в логах
×
×
  • 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.