dvi30011973 Posted September 10, 2012 Share Posted September 10, 2012 Помогите.Не могу настроить почту,версия ocstore_v0.1.7 Link to comment Share on other sites More sharing options...
Tom Posted September 10, 2012 Share Posted September 10, 2012 На таймвебе есть описание того как настроить почту.В твоём случае надо в поле логин и пароль ввести только логин и пароль без всяких добавок. Link to comment Share on other sites More sharing options... dvi30011973 Posted September 10, 2012 Author Share Posted September 10, 2012 Извините.А в данном скрипте магазине.При заказе покупателем товара и после его подтверждении о покупке.Должно уходить письмо с уведомлением покупателю о его заказе. Вот что я пытаюсь настроить. Link to comment Share on other sites More sharing options... Tom Posted September 10, 2012 Share Posted September 10, 2012 Тогда просто в Настройки-Система поставь галочки оповещать о новой регистрации и заказе.Удачи! Link to comment Share on other sites More sharing options... vilija Posted September 10, 2012 Share Posted September 10, 2012 Извините.А в данном скрипте магазине.При заказе покупателем товара и после его подтверждении о покупке.Должно уходить письмо с уведомлением покупателю о его заказе. Вот что я пытаюсь настроить. Если используется протокол "почта" , то SMTP хост, логин и пароль не нужны. Link to comment Share on other sites More sharing options... dvi30011973 Posted September 10, 2012 Author Share Posted September 10, 2012 Я уже повсякому пробывал.Не уходит инфа о заказе. Загленул в журнал ошибки,вот что там определилось: 2012-09-09 12:01:51 - PHP Warning: fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect to smtp.timeweb.ru:2525 (Connection timed out) in /home/d/dvladimir/ooo-arle.ru/public_html/system/library/mail.php on line 156 файл mail.php: <?php final class Mail { protected $to; protected $from; protected $sender; protected $subject; protected $text; protected $html; protected $attachments = array(); public $protocol = 'mail'; public $hostname; public $username; public $password; public $port = 25; public $timeout = 5; public $newline = "n"; public $crlf = "rn"; public $verp = FALSE; public $parameter = ''; public function setTo($to) { $this->to = $to; } public function setFrom($from) { $this->from = $from; } public function addheader($header, $value) { $this->headers[$header] = $value; } public function setSender($sender) { $this->sender = html_entity_decode($sender, ENT_COMPAT, 'UTF-8'); } public function setSubject($subject) { $this->subject = html_entity_decode($subject, ENT_COMPAT, 'UTF-8'); } public function setText($text) { $this->text = $text; } public function setHtml($html) { $this->html = $html; } public function addAttachment($file, $filename = '') { if (!$filename) { $filename = basename($file); } $this->attachments[] = array( 'filename' => $filename, 'file' => $file ); } public function send() { if (!$this->to) { exit('Error: E-Mail to required!'); } if (!$this->from) { exit('Error: E-Mail from required!'); } if (!$this->sender) { exit('Error: E-Mail sender required!'); } if (!$this->subject) { exit('Error: E-Mail subject required!'); } if ((!$this->text) && (!$this->html)) { exit('Error: E-Mail message required!'); } if (is_array($this->to)) { $to = implode(',', $this->to); } else { $to = $this->to; } $boundary = '----=_NextPart_' . md5(time()); $header = ''; if ($this->protocol != 'mail') { $header .= 'To: ' . $to . $this->newline; $header .= 'Subject: ' . '=?utf-8?B?'.base64_encode($this->subject).'?=' . $this->newline; } $header .= 'From: ' . '=?utf-8?B?'.base64_encode($this->sender).'?=' . '<' . $this->from . '>' . $this->newline; $header .= 'Reply-To: ' . '=?utf-8?B?'.base64_encode($this->sender).'?=' . '<' . $this->from . '>' . $this->newline; $header .= 'Return-Path: ' . $this->from . $this->newline; $header .= 'X-Mailer: PHP/' . phpversion() . $this->newline; $header .= 'MIME-Version: 1.0' . $this->newline; $header .= 'Content-Type: multipart/mixed; boundary="' . $boundary . '"' . $this->newline; if (!$this->html) { $message = '--' . $boundary . $this->newline; $message .= 'Content-Type: text/plain; charset="utf-8"' . $this->newline; $message .= 'Content-Transfer-Encoding: 8bit' . $this->newline . $this->newline; $message .= $this->text . $this->newline; } else { $message = '--' . $boundary . $this->newline; $message .= 'Content-Type: multipart/alternative; boundary="' . $boundary . '_alt"' . $this->newline . $this->newline; $message .= '--' . $boundary . '_alt' . $this->newline; $message .= 'Content-Type: text/plain; charset="utf-8"' . $this->newline; $message .= 'Content-Transfer-Encoding: 8bit' . $this->newline . $this->newline; if ($this->text) { $message .= $this->text . $this->newline; } else { $message .= 'This is a HTML email and your email client software does not support HTML email!' . $this->newline; } $message .= '--' . $boundary . '_alt' . $this->newline; $message .= 'Content-Type: text/html; charset="utf-8"' . $this->newline; $message .= 'Content-Transfer-Encoding: 8bit' . $this->newline . $this->newline; $message .= $this->html . $this->newline; $message .= '--' . $boundary . '_alt--' . $this->newline; } foreach ($this->attachments as $attachment) { if (file_exists($attachment['file'])) { $handle = fopen($attachment['file'], 'r'); $content = fread($handle, filesize($attachment['file'])); fclose($handle); $message .= '--' . $boundary . $this->newline; $message .= 'Content-Type: application/octetstream' . $this->newline; $message .= 'Content-Transfer-Encoding: base64' . $this->newline; $message .= 'Content-Disposition: attachment; filename="' . basename($attachment['filename']) . '"' . $this->newline; $message .= 'Content-ID: <' . basename($attachment['filename']) . '>' . $this->newline . $this->newline; $message .= chunk_split(base64_encode($content)); } } $message .= '--' . $boundary . '--' . $this->newline; if ($this->protocol == 'mail') { ini_set('sendmail_from', $this->from); if ($this->parameter) { mail($to, '=?utf-8?B?'.base64_encode($this->subject).'?=', $message, $header, $this->parameter); } else { mail($to, '=?utf-8?B?'.base64_encode($this->subject).'?=', $message, $header); } } elseif ($this->protocol == 'smtp') { $handle = fsockopen($this->hostname, $this->port, $errno, $errstr, $this->timeout); if (!$handle) { error_log('Error: ' . $errstr . ' (' . $errno . ')'); } else { if (substr(PHP_OS, 0, 3) != 'WIN') { socket_set_timeout($handle, $this->timeout, 0); } while ($line = fgets($handle, 515)) { if (substr($line, 3, 1) == ' ') { break; } } if (substr($this->hostname, 0, 3) == 'tls') { fputs($handle, 'STARTTLS' . $this->crlf); while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if (substr($reply, 0, 3) != 220) { error_log('Error: STARTTLS not accepted from server!'); } } if (!empty($this->username) && !empty($this->password)) { fputs($handle, 'EHLO ' . getenv('SERVER_NAME') . $this->crlf); $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if (substr($reply, 0, 3) != 250) { error_log('Error: EHLO not accepted from server!'); } fputs($handle, 'AUTH LOGIN' . $this->crlf); $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if (substr($reply, 0, 3) != 334) { error_log('Error: AUTH LOGIN not accepted from server!'); } fputs($handle, base64_encode($this->username) . $this->crlf); $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if (substr($reply, 0, 3) != 334) { error_log('Error: Username not accepted from server!'); } fputs($handle, base64_encode($this->password) . $this->crlf); $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if (substr($reply, 0, 3) != 235) { error_log('Error: Password not accepted from server!'); } } else { fputs($handle, 'HELO ' . getenv('SERVER_NAME') . $this->crlf); $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if (substr($reply, 0, 3) != 250) { error_log('Error: HELO not accepted from server!'); } } if ($this->verp) { fputs($handle, 'MAIL FROM: <' . $this->from . '>XVERP' . $this->crlf); } else { fputs($handle, 'MAIL FROM: <' . $this->from . '>' . $this->crlf); } $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if (substr($reply, 0, 3) != 250) { error_log('Error: MAIL FROM not accepted from server!'); } if (!is_array($this->to)) { fputs($handle, 'RCPT TO: <' . $this->to . '>' . $this->crlf); $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if ((substr($reply, 0, 3) != 250) && (substr($reply, 0, 3) != 251)) { error_log('Error: RCPT TO not accepted from server!'); } } else { foreach ($this->to as $recipient) { fputs($handle, 'RCPT TO: <' . $recipient . '>' . $this->crlf); $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if ((substr($reply, 0, 3) != 250) && (substr($reply, 0, 3) != 251)) { error_log('Error: RCPT TO not accepted from server!'); } } } fputs($handle, 'DATA' . $this->crlf); $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if (substr($reply, 0, 3) != 354) { error_log('Error: DATA not accepted from server!'); } fputs($handle, $header . $message . $this->crlf); fputs($handle, '.' . $this->crlf); $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if (substr($reply, 0, 3) != 250) { error_log('Error: DATA not accepted from server!'); } fputs($handle, 'QUIT' . $this->crlf); $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if (substr($reply, 0, 3) != 221) { error_log('Error: QUIT not accepted from server!'); } fclose($handle); } } } } ?> Что это за ошибка и как её исправить?Кто подскажет! Link to comment Share on other sites More sharing options... vilija Posted September 10, 2012 Share Posted September 10, 2012 Странно. Эта ошибка если выбран протокол SMTP. У вас по скриншоту - mail. Link to comment Share on other sites More sharing options... dvi30011973 Posted September 10, 2012 Author Share Posted September 10, 2012 Так как правельно заполняется? Link to comment Share on other sites More sharing options... vilija Posted September 10, 2012 Share Posted September 10, 2012 У меня работает , как у вас на скриншоте только поля SMTP хост, логин и пароль почистить . А какие варианты в "Протокол почты:" ? Link to comment Share on other sites More sharing options... dvi30011973 Posted September 10, 2012 Author Share Posted September 10, 2012 SMTP хост: smtp.timeweb.ru SMTP логин:ваш почтовый адрес полностью SMTP пароль: пароль от почты SMTP порт: 25 (или 2525) Link to comment Share on other sites More sharing options... Tom Posted September 10, 2012 Share Posted September 10, 2012 SMTP логин не нужно полностью писать почту, только сам логин. Link to comment Share on other sites More sharing options... Siege Posted September 11, 2012 Share Posted September 11, 2012 Тут вопрос вот в чем. А установлен ли SMTP на сервере вообще? И mail.php тут не причем. Нет соединения на 25 порт. Причина: не установлен/не правильно настроен полноценный почтовый сервер (SMTP), закрыты порты. Что мешает пользоваться почтой средствами exim4, который так же должен быть настроен. Только настройка (в отличие от SMTP) тут делается в одну команду из терминала. Хотя, судя по пути к директории сайта, на все вопросы Вам должен ответить/помочь хостер. Link to comment Share on other sites More sharing options... dvi30011973 Posted September 11, 2012 Author Share Posted September 11, 2012 В роди настроил.Вот только в письме с уведомлением о заказе покупателя .В нём приходит прикреплённый файл логотипа магазина.Как можно его убрать?Спасибо. И ещё вопросик.В письме то что приходит покупателю.Есть вот такая строчка: Благодарим за интерес к товарам Интернет-магазин.«Арсенал Леди». Ваш заказ получен и поступит в обработку после подтверждения оплаты. Как исправить:подтверждения оплаты. на :подтверждения заказа. Link to comment Share on other sites More sharing options... vilija Posted September 11, 2012 Share Posted September 11, 2012 (edited) Убрать лого catalog/model/checkout/order.php Закомментить строку // $mail->addAttachment(DIR_IMAGE . $this->config->get('config_logo')); По тексту , правьте catalog/language/russian/mail/order_confirm.php $_['text_greeting'] Edited September 11, 2012 by vilija Link to comment Share on other sites More sharing options... vilija Posted September 11, 2012 Share Posted September 11, 2012 В роди настроил.Вот только в письме с уведомлением о заказе покупателя .В нём приходит прикреплённый файл логотипа магазина.Как можно его убрать?Спасибо. И ещё вопросик.В письме то что приходит покупателю.Есть вот такая строчка: Благодарим за интерес к товарам Интернет-магазин.«Арсенал Леди». Ваш заказ получен и поступит в обработку после подтверждения оплаты. Как исправить:подтверждения оплаты. на :подтверждения заказа. А что таки с почтой было ? Link to comment Share on other sites More sharing options... dvi30011973 Posted September 11, 2012 Author Share Posted September 11, 2012 Почта заработала после того как хостеры перелинковали домен для сайта. Link to comment Share on other sites More sharing options... dvi30011973 Posted September 11, 2012 Author Share Posted September 11, 2012 Текст я отредактировал.Спасибо. А вот с лого не совсем получилось.Я удалил:<img src="<?php echo $logo; ?>" alt="<?php echo $store_name; ?>" Теперь самого логотипа нет но осталась ссылка :alt="Интернет-магазин.«Арсенал Леди»" style="border: none;" > и сам прикреплённый файл с локо: для скачивания. Как же убрать их. Link to comment Share on other sites More sharing options... vilija Posted September 11, 2012 Share Posted September 11, 2012 Поправка по лого . tpl файл верните к прежнему виду. catalog/model/checkout/order.php Закомментить строку // $mail->addAttachment(DIR_IMAGE . $this->config->get('config_logo')); Link to comment Share on other sites More sharing options... dvi30011973 Posted September 11, 2012 Author Share Posted September 11, 2012 Всё получилось.Спасибо. Ещё вопросик есть точнее два. Я установил модуль соц-сетей FollowMe153. но моя версия ocstore_v0.1.7 и у меня при входе изменить выпадает ошибка: Fatal error: Call to a member function link() on a non-object in C:xampphtdocsooo-arle.ruadmincontrollermodulefollowme.php on line 89 Это можно исправить? Link to comment Share on other sites More sharing options... Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 0 Go to topic listing Similar Content Как настроить cron? By wladislaw353, April 12, 2022 0 comments 342 views kazbanov February 11 Вид письма о заказе на почту админу By flaero, February 27 3 replies 146 views bzserg March 15 Нужно настроить контекстную рекламу в яндекс By yaros888, Friday at 12:31 PM 1 reply 56 views thazard Tuesday at 09:18 AM oc-max "Новая почта API" - модуль доставки для OpenCart By Prorab337, June 21, 2015 новая почта модуль доставки (and 9 more) Tagged with: новая почта модуль доставки модуль доставки новая почта доставка модуль печать накладных накладные новая почта api нова пошта нова пошта для опенкарт модуль доставки нова пошта 0 comments 200,040 views Prorab337 June 21, 2015 [Поддержка] Новая Почта c калькулятором + отделения 1 2 3 4 17 By mstkalenko, July 9, 2014 simple новая почта (and 4 more) Tagged with: simple новая почта нова пошта модуль новая почта модуль доставки калькулятор 421 replies 64,354 views alexc March 19 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Поддержка и ответы на вопросы Общие вопросы как настроить почту Покупателям Оплата дополнений физическими лицами Оплата дополнений юридическими лицами Политика возвратов Разработчикам Регламент размещения дополнений Регламент продаж и поддержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каталога дополнений Урегулирование споров по авторским правам Полезная информация Публичная оферта Политика возвратов Политика конфиденциальности Платежная политика Политика Передачи Персональных Данных Политика прозрачности Последние дополнения Alta — тема для админ панели By impulze100500 Sorting modules in layout Drag&Drop By markimax Additional services for SAP modules By S_A_P Opencart ChatGPT - artificial intelligence content generator By kabantejay Custom Email By Parallax × Existing user? Sign In Sign Up Shopping section Back Purchased extensions Invoices Whishlist Alternative Contacts Forums News ocStore Back Official site Demo ocStore 3.0.3.2 Demo ocStore 2.3.0.2.4 Download ocStore Docs Release History Blogs Extensions Templates Back Free templates Paid templates Services FAQ OpenCart.Pro Back Demo Buy Compare × 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. I accept
dvi30011973 Posted September 10, 2012 Author Share Posted September 10, 2012 Извините.А в данном скрипте магазине.При заказе покупателем товара и после его подтверждении о покупке.Должно уходить письмо с уведомлением покупателю о его заказе. Вот что я пытаюсь настроить. Link to comment Share on other sites More sharing options...
Tom Posted September 10, 2012 Share Posted September 10, 2012 Тогда просто в Настройки-Система поставь галочки оповещать о новой регистрации и заказе.Удачи! Link to comment Share on other sites More sharing options... vilija Posted September 10, 2012 Share Posted September 10, 2012 Извините.А в данном скрипте магазине.При заказе покупателем товара и после его подтверждении о покупке.Должно уходить письмо с уведомлением покупателю о его заказе. Вот что я пытаюсь настроить. Если используется протокол "почта" , то SMTP хост, логин и пароль не нужны. Link to comment Share on other sites More sharing options... dvi30011973 Posted September 10, 2012 Author Share Posted September 10, 2012 Я уже повсякому пробывал.Не уходит инфа о заказе. Загленул в журнал ошибки,вот что там определилось: 2012-09-09 12:01:51 - PHP Warning: fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect to smtp.timeweb.ru:2525 (Connection timed out) in /home/d/dvladimir/ooo-arle.ru/public_html/system/library/mail.php on line 156 файл mail.php: <?php final class Mail { protected $to; protected $from; protected $sender; protected $subject; protected $text; protected $html; protected $attachments = array(); public $protocol = 'mail'; public $hostname; public $username; public $password; public $port = 25; public $timeout = 5; public $newline = "n"; public $crlf = "rn"; public $verp = FALSE; public $parameter = ''; public function setTo($to) { $this->to = $to; } public function setFrom($from) { $this->from = $from; } public function addheader($header, $value) { $this->headers[$header] = $value; } public function setSender($sender) { $this->sender = html_entity_decode($sender, ENT_COMPAT, 'UTF-8'); } public function setSubject($subject) { $this->subject = html_entity_decode($subject, ENT_COMPAT, 'UTF-8'); } public function setText($text) { $this->text = $text; } public function setHtml($html) { $this->html = $html; } public function addAttachment($file, $filename = '') { if (!$filename) { $filename = basename($file); } $this->attachments[] = array( 'filename' => $filename, 'file' => $file ); } public function send() { if (!$this->to) { exit('Error: E-Mail to required!'); } if (!$this->from) { exit('Error: E-Mail from required!'); } if (!$this->sender) { exit('Error: E-Mail sender required!'); } if (!$this->subject) { exit('Error: E-Mail subject required!'); } if ((!$this->text) && (!$this->html)) { exit('Error: E-Mail message required!'); } if (is_array($this->to)) { $to = implode(',', $this->to); } else { $to = $this->to; } $boundary = '----=_NextPart_' . md5(time()); $header = ''; if ($this->protocol != 'mail') { $header .= 'To: ' . $to . $this->newline; $header .= 'Subject: ' . '=?utf-8?B?'.base64_encode($this->subject).'?=' . $this->newline; } $header .= 'From: ' . '=?utf-8?B?'.base64_encode($this->sender).'?=' . '<' . $this->from . '>' . $this->newline; $header .= 'Reply-To: ' . '=?utf-8?B?'.base64_encode($this->sender).'?=' . '<' . $this->from . '>' . $this->newline; $header .= 'Return-Path: ' . $this->from . $this->newline; $header .= 'X-Mailer: PHP/' . phpversion() . $this->newline; $header .= 'MIME-Version: 1.0' . $this->newline; $header .= 'Content-Type: multipart/mixed; boundary="' . $boundary . '"' . $this->newline; if (!$this->html) { $message = '--' . $boundary . $this->newline; $message .= 'Content-Type: text/plain; charset="utf-8"' . $this->newline; $message .= 'Content-Transfer-Encoding: 8bit' . $this->newline . $this->newline; $message .= $this->text . $this->newline; } else { $message = '--' . $boundary . $this->newline; $message .= 'Content-Type: multipart/alternative; boundary="' . $boundary . '_alt"' . $this->newline . $this->newline; $message .= '--' . $boundary . '_alt' . $this->newline; $message .= 'Content-Type: text/plain; charset="utf-8"' . $this->newline; $message .= 'Content-Transfer-Encoding: 8bit' . $this->newline . $this->newline; if ($this->text) { $message .= $this->text . $this->newline; } else { $message .= 'This is a HTML email and your email client software does not support HTML email!' . $this->newline; } $message .= '--' . $boundary . '_alt' . $this->newline; $message .= 'Content-Type: text/html; charset="utf-8"' . $this->newline; $message .= 'Content-Transfer-Encoding: 8bit' . $this->newline . $this->newline; $message .= $this->html . $this->newline; $message .= '--' . $boundary . '_alt--' . $this->newline; } foreach ($this->attachments as $attachment) { if (file_exists($attachment['file'])) { $handle = fopen($attachment['file'], 'r'); $content = fread($handle, filesize($attachment['file'])); fclose($handle); $message .= '--' . $boundary . $this->newline; $message .= 'Content-Type: application/octetstream' . $this->newline; $message .= 'Content-Transfer-Encoding: base64' . $this->newline; $message .= 'Content-Disposition: attachment; filename="' . basename($attachment['filename']) . '"' . $this->newline; $message .= 'Content-ID: <' . basename($attachment['filename']) . '>' . $this->newline . $this->newline; $message .= chunk_split(base64_encode($content)); } } $message .= '--' . $boundary . '--' . $this->newline; if ($this->protocol == 'mail') { ini_set('sendmail_from', $this->from); if ($this->parameter) { mail($to, '=?utf-8?B?'.base64_encode($this->subject).'?=', $message, $header, $this->parameter); } else { mail($to, '=?utf-8?B?'.base64_encode($this->subject).'?=', $message, $header); } } elseif ($this->protocol == 'smtp') { $handle = fsockopen($this->hostname, $this->port, $errno, $errstr, $this->timeout); if (!$handle) { error_log('Error: ' . $errstr . ' (' . $errno . ')'); } else { if (substr(PHP_OS, 0, 3) != 'WIN') { socket_set_timeout($handle, $this->timeout, 0); } while ($line = fgets($handle, 515)) { if (substr($line, 3, 1) == ' ') { break; } } if (substr($this->hostname, 0, 3) == 'tls') { fputs($handle, 'STARTTLS' . $this->crlf); while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if (substr($reply, 0, 3) != 220) { error_log('Error: STARTTLS not accepted from server!'); } } if (!empty($this->username) && !empty($this->password)) { fputs($handle, 'EHLO ' . getenv('SERVER_NAME') . $this->crlf); $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if (substr($reply, 0, 3) != 250) { error_log('Error: EHLO not accepted from server!'); } fputs($handle, 'AUTH LOGIN' . $this->crlf); $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if (substr($reply, 0, 3) != 334) { error_log('Error: AUTH LOGIN not accepted from server!'); } fputs($handle, base64_encode($this->username) . $this->crlf); $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if (substr($reply, 0, 3) != 334) { error_log('Error: Username not accepted from server!'); } fputs($handle, base64_encode($this->password) . $this->crlf); $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if (substr($reply, 0, 3) != 235) { error_log('Error: Password not accepted from server!'); } } else { fputs($handle, 'HELO ' . getenv('SERVER_NAME') . $this->crlf); $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if (substr($reply, 0, 3) != 250) { error_log('Error: HELO not accepted from server!'); } } if ($this->verp) { fputs($handle, 'MAIL FROM: <' . $this->from . '>XVERP' . $this->crlf); } else { fputs($handle, 'MAIL FROM: <' . $this->from . '>' . $this->crlf); } $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if (substr($reply, 0, 3) != 250) { error_log('Error: MAIL FROM not accepted from server!'); } if (!is_array($this->to)) { fputs($handle, 'RCPT TO: <' . $this->to . '>' . $this->crlf); $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if ((substr($reply, 0, 3) != 250) && (substr($reply, 0, 3) != 251)) { error_log('Error: RCPT TO not accepted from server!'); } } else { foreach ($this->to as $recipient) { fputs($handle, 'RCPT TO: <' . $recipient . '>' . $this->crlf); $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if ((substr($reply, 0, 3) != 250) && (substr($reply, 0, 3) != 251)) { error_log('Error: RCPT TO not accepted from server!'); } } } fputs($handle, 'DATA' . $this->crlf); $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if (substr($reply, 0, 3) != 354) { error_log('Error: DATA not accepted from server!'); } fputs($handle, $header . $message . $this->crlf); fputs($handle, '.' . $this->crlf); $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if (substr($reply, 0, 3) != 250) { error_log('Error: DATA not accepted from server!'); } fputs($handle, 'QUIT' . $this->crlf); $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if (substr($reply, 0, 3) != 221) { error_log('Error: QUIT not accepted from server!'); } fclose($handle); } } } } ?> Что это за ошибка и как её исправить?Кто подскажет! Link to comment Share on other sites More sharing options... vilija Posted September 10, 2012 Share Posted September 10, 2012 Странно. Эта ошибка если выбран протокол SMTP. У вас по скриншоту - mail. Link to comment Share on other sites More sharing options... dvi30011973 Posted September 10, 2012 Author Share Posted September 10, 2012 Так как правельно заполняется? Link to comment Share on other sites More sharing options... vilija Posted September 10, 2012 Share Posted September 10, 2012 У меня работает , как у вас на скриншоте только поля SMTP хост, логин и пароль почистить . А какие варианты в "Протокол почты:" ? Link to comment Share on other sites More sharing options... dvi30011973 Posted September 10, 2012 Author Share Posted September 10, 2012 SMTP хост: smtp.timeweb.ru SMTP логин:ваш почтовый адрес полностью SMTP пароль: пароль от почты SMTP порт: 25 (или 2525) Link to comment Share on other sites More sharing options... Tom Posted September 10, 2012 Share Posted September 10, 2012 SMTP логин не нужно полностью писать почту, только сам логин. Link to comment Share on other sites More sharing options... Siege Posted September 11, 2012 Share Posted September 11, 2012 Тут вопрос вот в чем. А установлен ли SMTP на сервере вообще? И mail.php тут не причем. Нет соединения на 25 порт. Причина: не установлен/не правильно настроен полноценный почтовый сервер (SMTP), закрыты порты. Что мешает пользоваться почтой средствами exim4, который так же должен быть настроен. Только настройка (в отличие от SMTP) тут делается в одну команду из терминала. Хотя, судя по пути к директории сайта, на все вопросы Вам должен ответить/помочь хостер. Link to comment Share on other sites More sharing options... dvi30011973 Posted September 11, 2012 Author Share Posted September 11, 2012 В роди настроил.Вот только в письме с уведомлением о заказе покупателя .В нём приходит прикреплённый файл логотипа магазина.Как можно его убрать?Спасибо. И ещё вопросик.В письме то что приходит покупателю.Есть вот такая строчка: Благодарим за интерес к товарам Интернет-магазин.«Арсенал Леди». Ваш заказ получен и поступит в обработку после подтверждения оплаты. Как исправить:подтверждения оплаты. на :подтверждения заказа. Link to comment Share on other sites More sharing options... vilija Posted September 11, 2012 Share Posted September 11, 2012 (edited) Убрать лого catalog/model/checkout/order.php Закомментить строку // $mail->addAttachment(DIR_IMAGE . $this->config->get('config_logo')); По тексту , правьте catalog/language/russian/mail/order_confirm.php $_['text_greeting'] Edited September 11, 2012 by vilija Link to comment Share on other sites More sharing options... vilija Posted September 11, 2012 Share Posted September 11, 2012 В роди настроил.Вот только в письме с уведомлением о заказе покупателя .В нём приходит прикреплённый файл логотипа магазина.Как можно его убрать?Спасибо. И ещё вопросик.В письме то что приходит покупателю.Есть вот такая строчка: Благодарим за интерес к товарам Интернет-магазин.«Арсенал Леди». Ваш заказ получен и поступит в обработку после подтверждения оплаты. Как исправить:подтверждения оплаты. на :подтверждения заказа. А что таки с почтой было ? Link to comment Share on other sites More sharing options... dvi30011973 Posted September 11, 2012 Author Share Posted September 11, 2012 Почта заработала после того как хостеры перелинковали домен для сайта. Link to comment Share on other sites More sharing options... dvi30011973 Posted September 11, 2012 Author Share Posted September 11, 2012 Текст я отредактировал.Спасибо. А вот с лого не совсем получилось.Я удалил:<img src="<?php echo $logo; ?>" alt="<?php echo $store_name; ?>" Теперь самого логотипа нет но осталась ссылка :alt="Интернет-магазин.«Арсенал Леди»" style="border: none;" > и сам прикреплённый файл с локо: для скачивания. Как же убрать их. Link to comment Share on other sites More sharing options... vilija Posted September 11, 2012 Share Posted September 11, 2012 Поправка по лого . tpl файл верните к прежнему виду. catalog/model/checkout/order.php Закомментить строку // $mail->addAttachment(DIR_IMAGE . $this->config->get('config_logo')); Link to comment Share on other sites More sharing options... dvi30011973 Posted September 11, 2012 Author Share Posted September 11, 2012 Всё получилось.Спасибо. Ещё вопросик есть точнее два. Я установил модуль соц-сетей FollowMe153. но моя версия ocstore_v0.1.7 и у меня при входе изменить выпадает ошибка: Fatal error: Call to a member function link() on a non-object in C:xampphtdocsooo-arle.ruadmincontrollermodulefollowme.php on line 89 Это можно исправить? Link to comment Share on other sites More sharing options... Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 0 Go to topic listing Similar Content Как настроить cron? By wladislaw353, April 12, 2022 0 comments 342 views kazbanov February 11 Вид письма о заказе на почту админу By flaero, February 27 3 replies 146 views bzserg March 15 Нужно настроить контекстную рекламу в яндекс By yaros888, Friday at 12:31 PM 1 reply 56 views thazard Tuesday at 09:18 AM oc-max "Новая почта API" - модуль доставки для OpenCart By Prorab337, June 21, 2015 новая почта модуль доставки (and 9 more) Tagged with: новая почта модуль доставки модуль доставки новая почта доставка модуль печать накладных накладные новая почта api нова пошта нова пошта для опенкарт модуль доставки нова пошта 0 comments 200,040 views Prorab337 June 21, 2015 [Поддержка] Новая Почта c калькулятором + отделения 1 2 3 4 17 By mstkalenko, July 9, 2014 simple новая почта (and 4 more) Tagged with: simple новая почта нова пошта модуль новая почта модуль доставки калькулятор 421 replies 64,354 views alexc March 19 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Поддержка и ответы на вопросы Общие вопросы как настроить почту Покупателям Оплата дополнений физическими лицами Оплата дополнений юридическими лицами Политика возвратов Разработчикам Регламент размещения дополнений Регламент продаж и поддержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каталога дополнений Урегулирование споров по авторским правам Полезная информация Публичная оферта Политика возвратов Политика конфиденциальности Платежная политика Политика Передачи Персональных Данных Политика прозрачности Последние дополнения Alta — тема для админ панели By impulze100500 Sorting modules in layout Drag&Drop By markimax Additional services for SAP modules By S_A_P Opencart ChatGPT - artificial intelligence content generator By kabantejay Custom Email By Parallax × Existing user? Sign In Sign Up Shopping section Back Purchased extensions Invoices Whishlist Alternative Contacts Forums News ocStore Back Official site Demo ocStore 3.0.3.2 Demo ocStore 2.3.0.2.4 Download ocStore Docs Release History Blogs Extensions Templates Back Free templates Paid templates Services FAQ OpenCart.Pro Back Demo Buy Compare × 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. I accept
vilija Posted September 10, 2012 Share Posted September 10, 2012 Извините.А в данном скрипте магазине.При заказе покупателем товара и после его подтверждении о покупке.Должно уходить письмо с уведомлением покупателю о его заказе. Вот что я пытаюсь настроить. Если используется протокол "почта" , то SMTP хост, логин и пароль не нужны. Link to comment Share on other sites More sharing options... dvi30011973 Posted September 10, 2012 Author Share Posted September 10, 2012 Я уже повсякому пробывал.Не уходит инфа о заказе. Загленул в журнал ошибки,вот что там определилось: 2012-09-09 12:01:51 - PHP Warning: fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect to smtp.timeweb.ru:2525 (Connection timed out) in /home/d/dvladimir/ooo-arle.ru/public_html/system/library/mail.php on line 156 файл mail.php: <?php final class Mail { protected $to; protected $from; protected $sender; protected $subject; protected $text; protected $html; protected $attachments = array(); public $protocol = 'mail'; public $hostname; public $username; public $password; public $port = 25; public $timeout = 5; public $newline = "n"; public $crlf = "rn"; public $verp = FALSE; public $parameter = ''; public function setTo($to) { $this->to = $to; } public function setFrom($from) { $this->from = $from; } public function addheader($header, $value) { $this->headers[$header] = $value; } public function setSender($sender) { $this->sender = html_entity_decode($sender, ENT_COMPAT, 'UTF-8'); } public function setSubject($subject) { $this->subject = html_entity_decode($subject, ENT_COMPAT, 'UTF-8'); } public function setText($text) { $this->text = $text; } public function setHtml($html) { $this->html = $html; } public function addAttachment($file, $filename = '') { if (!$filename) { $filename = basename($file); } $this->attachments[] = array( 'filename' => $filename, 'file' => $file ); } public function send() { if (!$this->to) { exit('Error: E-Mail to required!'); } if (!$this->from) { exit('Error: E-Mail from required!'); } if (!$this->sender) { exit('Error: E-Mail sender required!'); } if (!$this->subject) { exit('Error: E-Mail subject required!'); } if ((!$this->text) && (!$this->html)) { exit('Error: E-Mail message required!'); } if (is_array($this->to)) { $to = implode(',', $this->to); } else { $to = $this->to; } $boundary = '----=_NextPart_' . md5(time()); $header = ''; if ($this->protocol != 'mail') { $header .= 'To: ' . $to . $this->newline; $header .= 'Subject: ' . '=?utf-8?B?'.base64_encode($this->subject).'?=' . $this->newline; } $header .= 'From: ' . '=?utf-8?B?'.base64_encode($this->sender).'?=' . '<' . $this->from . '>' . $this->newline; $header .= 'Reply-To: ' . '=?utf-8?B?'.base64_encode($this->sender).'?=' . '<' . $this->from . '>' . $this->newline; $header .= 'Return-Path: ' . $this->from . $this->newline; $header .= 'X-Mailer: PHP/' . phpversion() . $this->newline; $header .= 'MIME-Version: 1.0' . $this->newline; $header .= 'Content-Type: multipart/mixed; boundary="' . $boundary . '"' . $this->newline; if (!$this->html) { $message = '--' . $boundary . $this->newline; $message .= 'Content-Type: text/plain; charset="utf-8"' . $this->newline; $message .= 'Content-Transfer-Encoding: 8bit' . $this->newline . $this->newline; $message .= $this->text . $this->newline; } else { $message = '--' . $boundary . $this->newline; $message .= 'Content-Type: multipart/alternative; boundary="' . $boundary . '_alt"' . $this->newline . $this->newline; $message .= '--' . $boundary . '_alt' . $this->newline; $message .= 'Content-Type: text/plain; charset="utf-8"' . $this->newline; $message .= 'Content-Transfer-Encoding: 8bit' . $this->newline . $this->newline; if ($this->text) { $message .= $this->text . $this->newline; } else { $message .= 'This is a HTML email and your email client software does not support HTML email!' . $this->newline; } $message .= '--' . $boundary . '_alt' . $this->newline; $message .= 'Content-Type: text/html; charset="utf-8"' . $this->newline; $message .= 'Content-Transfer-Encoding: 8bit' . $this->newline . $this->newline; $message .= $this->html . $this->newline; $message .= '--' . $boundary . '_alt--' . $this->newline; } foreach ($this->attachments as $attachment) { if (file_exists($attachment['file'])) { $handle = fopen($attachment['file'], 'r'); $content = fread($handle, filesize($attachment['file'])); fclose($handle); $message .= '--' . $boundary . $this->newline; $message .= 'Content-Type: application/octetstream' . $this->newline; $message .= 'Content-Transfer-Encoding: base64' . $this->newline; $message .= 'Content-Disposition: attachment; filename="' . basename($attachment['filename']) . '"' . $this->newline; $message .= 'Content-ID: <' . basename($attachment['filename']) . '>' . $this->newline . $this->newline; $message .= chunk_split(base64_encode($content)); } } $message .= '--' . $boundary . '--' . $this->newline; if ($this->protocol == 'mail') { ini_set('sendmail_from', $this->from); if ($this->parameter) { mail($to, '=?utf-8?B?'.base64_encode($this->subject).'?=', $message, $header, $this->parameter); } else { mail($to, '=?utf-8?B?'.base64_encode($this->subject).'?=', $message, $header); } } elseif ($this->protocol == 'smtp') { $handle = fsockopen($this->hostname, $this->port, $errno, $errstr, $this->timeout); if (!$handle) { error_log('Error: ' . $errstr . ' (' . $errno . ')'); } else { if (substr(PHP_OS, 0, 3) != 'WIN') { socket_set_timeout($handle, $this->timeout, 0); } while ($line = fgets($handle, 515)) { if (substr($line, 3, 1) == ' ') { break; } } if (substr($this->hostname, 0, 3) == 'tls') { fputs($handle, 'STARTTLS' . $this->crlf); while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if (substr($reply, 0, 3) != 220) { error_log('Error: STARTTLS not accepted from server!'); } } if (!empty($this->username) && !empty($this->password)) { fputs($handle, 'EHLO ' . getenv('SERVER_NAME') . $this->crlf); $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if (substr($reply, 0, 3) != 250) { error_log('Error: EHLO not accepted from server!'); } fputs($handle, 'AUTH LOGIN' . $this->crlf); $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if (substr($reply, 0, 3) != 334) { error_log('Error: AUTH LOGIN not accepted from server!'); } fputs($handle, base64_encode($this->username) . $this->crlf); $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if (substr($reply, 0, 3) != 334) { error_log('Error: Username not accepted from server!'); } fputs($handle, base64_encode($this->password) . $this->crlf); $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if (substr($reply, 0, 3) != 235) { error_log('Error: Password not accepted from server!'); } } else { fputs($handle, 'HELO ' . getenv('SERVER_NAME') . $this->crlf); $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if (substr($reply, 0, 3) != 250) { error_log('Error: HELO not accepted from server!'); } } if ($this->verp) { fputs($handle, 'MAIL FROM: <' . $this->from . '>XVERP' . $this->crlf); } else { fputs($handle, 'MAIL FROM: <' . $this->from . '>' . $this->crlf); } $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if (substr($reply, 0, 3) != 250) { error_log('Error: MAIL FROM not accepted from server!'); } if (!is_array($this->to)) { fputs($handle, 'RCPT TO: <' . $this->to . '>' . $this->crlf); $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if ((substr($reply, 0, 3) != 250) && (substr($reply, 0, 3) != 251)) { error_log('Error: RCPT TO not accepted from server!'); } } else { foreach ($this->to as $recipient) { fputs($handle, 'RCPT TO: <' . $recipient . '>' . $this->crlf); $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if ((substr($reply, 0, 3) != 250) && (substr($reply, 0, 3) != 251)) { error_log('Error: RCPT TO not accepted from server!'); } } } fputs($handle, 'DATA' . $this->crlf); $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if (substr($reply, 0, 3) != 354) { error_log('Error: DATA not accepted from server!'); } fputs($handle, $header . $message . $this->crlf); fputs($handle, '.' . $this->crlf); $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if (substr($reply, 0, 3) != 250) { error_log('Error: DATA not accepted from server!'); } fputs($handle, 'QUIT' . $this->crlf); $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if (substr($reply, 0, 3) != 221) { error_log('Error: QUIT not accepted from server!'); } fclose($handle); } } } } ?> Что это за ошибка и как её исправить?Кто подскажет! Link to comment Share on other sites More sharing options... vilija Posted September 10, 2012 Share Posted September 10, 2012 Странно. Эта ошибка если выбран протокол SMTP. У вас по скриншоту - mail. Link to comment Share on other sites More sharing options... dvi30011973 Posted September 10, 2012 Author Share Posted September 10, 2012 Так как правельно заполняется? Link to comment Share on other sites More sharing options... vilija Posted September 10, 2012 Share Posted September 10, 2012 У меня работает , как у вас на скриншоте только поля SMTP хост, логин и пароль почистить . А какие варианты в "Протокол почты:" ? Link to comment Share on other sites More sharing options... dvi30011973 Posted September 10, 2012 Author Share Posted September 10, 2012 SMTP хост: smtp.timeweb.ru SMTP логин:ваш почтовый адрес полностью SMTP пароль: пароль от почты SMTP порт: 25 (или 2525) Link to comment Share on other sites More sharing options... Tom Posted September 10, 2012 Share Posted September 10, 2012 SMTP логин не нужно полностью писать почту, только сам логин. Link to comment Share on other sites More sharing options... Siege Posted September 11, 2012 Share Posted September 11, 2012 Тут вопрос вот в чем. А установлен ли SMTP на сервере вообще? И mail.php тут не причем. Нет соединения на 25 порт. Причина: не установлен/не правильно настроен полноценный почтовый сервер (SMTP), закрыты порты. Что мешает пользоваться почтой средствами exim4, который так же должен быть настроен. Только настройка (в отличие от SMTP) тут делается в одну команду из терминала. Хотя, судя по пути к директории сайта, на все вопросы Вам должен ответить/помочь хостер. Link to comment Share on other sites More sharing options... dvi30011973 Posted September 11, 2012 Author Share Posted September 11, 2012 В роди настроил.Вот только в письме с уведомлением о заказе покупателя .В нём приходит прикреплённый файл логотипа магазина.Как можно его убрать?Спасибо. И ещё вопросик.В письме то что приходит покупателю.Есть вот такая строчка: Благодарим за интерес к товарам Интернет-магазин.«Арсенал Леди». Ваш заказ получен и поступит в обработку после подтверждения оплаты. Как исправить:подтверждения оплаты. на :подтверждения заказа. Link to comment Share on other sites More sharing options... vilija Posted September 11, 2012 Share Posted September 11, 2012 (edited) Убрать лого catalog/model/checkout/order.php Закомментить строку // $mail->addAttachment(DIR_IMAGE . $this->config->get('config_logo')); По тексту , правьте catalog/language/russian/mail/order_confirm.php $_['text_greeting'] Edited September 11, 2012 by vilija Link to comment Share on other sites More sharing options... vilija Posted September 11, 2012 Share Posted September 11, 2012 В роди настроил.Вот только в письме с уведомлением о заказе покупателя .В нём приходит прикреплённый файл логотипа магазина.Как можно его убрать?Спасибо. И ещё вопросик.В письме то что приходит покупателю.Есть вот такая строчка: Благодарим за интерес к товарам Интернет-магазин.«Арсенал Леди». Ваш заказ получен и поступит в обработку после подтверждения оплаты. Как исправить:подтверждения оплаты. на :подтверждения заказа. А что таки с почтой было ? Link to comment Share on other sites More sharing options... dvi30011973 Posted September 11, 2012 Author Share Posted September 11, 2012 Почта заработала после того как хостеры перелинковали домен для сайта. Link to comment Share on other sites More sharing options... dvi30011973 Posted September 11, 2012 Author Share Posted September 11, 2012 Текст я отредактировал.Спасибо. А вот с лого не совсем получилось.Я удалил:<img src="<?php echo $logo; ?>" alt="<?php echo $store_name; ?>" Теперь самого логотипа нет но осталась ссылка :alt="Интернет-магазин.«Арсенал Леди»" style="border: none;" > и сам прикреплённый файл с локо: для скачивания. Как же убрать их. Link to comment Share on other sites More sharing options... vilija Posted September 11, 2012 Share Posted September 11, 2012 Поправка по лого . tpl файл верните к прежнему виду. catalog/model/checkout/order.php Закомментить строку // $mail->addAttachment(DIR_IMAGE . $this->config->get('config_logo')); Link to comment Share on other sites More sharing options... dvi30011973 Posted September 11, 2012 Author Share Posted September 11, 2012 Всё получилось.Спасибо. Ещё вопросик есть точнее два. Я установил модуль соц-сетей FollowMe153. но моя версия ocstore_v0.1.7 и у меня при входе изменить выпадает ошибка: Fatal error: Call to a member function link() on a non-object in C:xampphtdocsooo-arle.ruadmincontrollermodulefollowme.php on line 89 Это можно исправить? Link to comment Share on other sites More sharing options... Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 0 Go to topic listing Similar Content Как настроить cron? By wladislaw353, April 12, 2022 0 comments 342 views kazbanov February 11 Вид письма о заказе на почту админу By flaero, February 27 3 replies 146 views bzserg March 15 Нужно настроить контекстную рекламу в яндекс By yaros888, Friday at 12:31 PM 1 reply 56 views thazard Tuesday at 09:18 AM oc-max "Новая почта API" - модуль доставки для OpenCart By Prorab337, June 21, 2015 новая почта модуль доставки (and 9 more) Tagged with: новая почта модуль доставки модуль доставки новая почта доставка модуль печать накладных накладные новая почта api нова пошта нова пошта для опенкарт модуль доставки нова пошта 0 comments 200,040 views Prorab337 June 21, 2015 [Поддержка] Новая Почта c калькулятором + отделения 1 2 3 4 17 By mstkalenko, July 9, 2014 simple новая почта (and 4 more) Tagged with: simple новая почта нова пошта модуль новая почта модуль доставки калькулятор 421 replies 64,354 views alexc March 19 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Поддержка и ответы на вопросы Общие вопросы как настроить почту Покупателям Оплата дополнений физическими лицами Оплата дополнений юридическими лицами Политика возвратов Разработчикам Регламент размещения дополнений Регламент продаж и поддержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каталога дополнений Урегулирование споров по авторским правам Полезная информация Публичная оферта Политика возвратов Политика конфиденциальности Платежная политика Политика Передачи Персональных Данных Политика прозрачности Последние дополнения Alta — тема для админ панели By impulze100500 Sorting modules in layout Drag&Drop By markimax Additional services for SAP modules By S_A_P Opencart ChatGPT - artificial intelligence content generator By kabantejay Custom Email By Parallax × Existing user? Sign In Sign Up Shopping section Back Purchased extensions Invoices Whishlist Alternative Contacts Forums News ocStore Back Official site Demo ocStore 3.0.3.2 Demo ocStore 2.3.0.2.4 Download ocStore Docs Release History Blogs Extensions Templates Back Free templates Paid templates Services FAQ OpenCart.Pro Back Demo Buy Compare × 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. I accept
dvi30011973 Posted September 10, 2012 Author Share Posted September 10, 2012 Я уже повсякому пробывал.Не уходит инфа о заказе. Загленул в журнал ошибки,вот что там определилось: 2012-09-09 12:01:51 - PHP Warning: fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect to smtp.timeweb.ru:2525 (Connection timed out) in /home/d/dvladimir/ooo-arle.ru/public_html/system/library/mail.php on line 156 файл mail.php: <?php final class Mail { protected $to; protected $from; protected $sender; protected $subject; protected $text; protected $html; protected $attachments = array(); public $protocol = 'mail'; public $hostname; public $username; public $password; public $port = 25; public $timeout = 5; public $newline = "n"; public $crlf = "rn"; public $verp = FALSE; public $parameter = ''; public function setTo($to) { $this->to = $to; } public function setFrom($from) { $this->from = $from; } public function addheader($header, $value) { $this->headers[$header] = $value; } public function setSender($sender) { $this->sender = html_entity_decode($sender, ENT_COMPAT, 'UTF-8'); } public function setSubject($subject) { $this->subject = html_entity_decode($subject, ENT_COMPAT, 'UTF-8'); } public function setText($text) { $this->text = $text; } public function setHtml($html) { $this->html = $html; } public function addAttachment($file, $filename = '') { if (!$filename) { $filename = basename($file); } $this->attachments[] = array( 'filename' => $filename, 'file' => $file ); } public function send() { if (!$this->to) { exit('Error: E-Mail to required!'); } if (!$this->from) { exit('Error: E-Mail from required!'); } if (!$this->sender) { exit('Error: E-Mail sender required!'); } if (!$this->subject) { exit('Error: E-Mail subject required!'); } if ((!$this->text) && (!$this->html)) { exit('Error: E-Mail message required!'); } if (is_array($this->to)) { $to = implode(',', $this->to); } else { $to = $this->to; } $boundary = '----=_NextPart_' . md5(time()); $header = ''; if ($this->protocol != 'mail') { $header .= 'To: ' . $to . $this->newline; $header .= 'Subject: ' . '=?utf-8?B?'.base64_encode($this->subject).'?=' . $this->newline; } $header .= 'From: ' . '=?utf-8?B?'.base64_encode($this->sender).'?=' . '<' . $this->from . '>' . $this->newline; $header .= 'Reply-To: ' . '=?utf-8?B?'.base64_encode($this->sender).'?=' . '<' . $this->from . '>' . $this->newline; $header .= 'Return-Path: ' . $this->from . $this->newline; $header .= 'X-Mailer: PHP/' . phpversion() . $this->newline; $header .= 'MIME-Version: 1.0' . $this->newline; $header .= 'Content-Type: multipart/mixed; boundary="' . $boundary . '"' . $this->newline; if (!$this->html) { $message = '--' . $boundary . $this->newline; $message .= 'Content-Type: text/plain; charset="utf-8"' . $this->newline; $message .= 'Content-Transfer-Encoding: 8bit' . $this->newline . $this->newline; $message .= $this->text . $this->newline; } else { $message = '--' . $boundary . $this->newline; $message .= 'Content-Type: multipart/alternative; boundary="' . $boundary . '_alt"' . $this->newline . $this->newline; $message .= '--' . $boundary . '_alt' . $this->newline; $message .= 'Content-Type: text/plain; charset="utf-8"' . $this->newline; $message .= 'Content-Transfer-Encoding: 8bit' . $this->newline . $this->newline; if ($this->text) { $message .= $this->text . $this->newline; } else { $message .= 'This is a HTML email and your email client software does not support HTML email!' . $this->newline; } $message .= '--' . $boundary . '_alt' . $this->newline; $message .= 'Content-Type: text/html; charset="utf-8"' . $this->newline; $message .= 'Content-Transfer-Encoding: 8bit' . $this->newline . $this->newline; $message .= $this->html . $this->newline; $message .= '--' . $boundary . '_alt--' . $this->newline; } foreach ($this->attachments as $attachment) { if (file_exists($attachment['file'])) { $handle = fopen($attachment['file'], 'r'); $content = fread($handle, filesize($attachment['file'])); fclose($handle); $message .= '--' . $boundary . $this->newline; $message .= 'Content-Type: application/octetstream' . $this->newline; $message .= 'Content-Transfer-Encoding: base64' . $this->newline; $message .= 'Content-Disposition: attachment; filename="' . basename($attachment['filename']) . '"' . $this->newline; $message .= 'Content-ID: <' . basename($attachment['filename']) . '>' . $this->newline . $this->newline; $message .= chunk_split(base64_encode($content)); } } $message .= '--' . $boundary . '--' . $this->newline; if ($this->protocol == 'mail') { ini_set('sendmail_from', $this->from); if ($this->parameter) { mail($to, '=?utf-8?B?'.base64_encode($this->subject).'?=', $message, $header, $this->parameter); } else { mail($to, '=?utf-8?B?'.base64_encode($this->subject).'?=', $message, $header); } } elseif ($this->protocol == 'smtp') { $handle = fsockopen($this->hostname, $this->port, $errno, $errstr, $this->timeout); if (!$handle) { error_log('Error: ' . $errstr . ' (' . $errno . ')'); } else { if (substr(PHP_OS, 0, 3) != 'WIN') { socket_set_timeout($handle, $this->timeout, 0); } while ($line = fgets($handle, 515)) { if (substr($line, 3, 1) == ' ') { break; } } if (substr($this->hostname, 0, 3) == 'tls') { fputs($handle, 'STARTTLS' . $this->crlf); while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if (substr($reply, 0, 3) != 220) { error_log('Error: STARTTLS not accepted from server!'); } } if (!empty($this->username) && !empty($this->password)) { fputs($handle, 'EHLO ' . getenv('SERVER_NAME') . $this->crlf); $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if (substr($reply, 0, 3) != 250) { error_log('Error: EHLO not accepted from server!'); } fputs($handle, 'AUTH LOGIN' . $this->crlf); $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if (substr($reply, 0, 3) != 334) { error_log('Error: AUTH LOGIN not accepted from server!'); } fputs($handle, base64_encode($this->username) . $this->crlf); $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if (substr($reply, 0, 3) != 334) { error_log('Error: Username not accepted from server!'); } fputs($handle, base64_encode($this->password) . $this->crlf); $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if (substr($reply, 0, 3) != 235) { error_log('Error: Password not accepted from server!'); } } else { fputs($handle, 'HELO ' . getenv('SERVER_NAME') . $this->crlf); $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if (substr($reply, 0, 3) != 250) { error_log('Error: HELO not accepted from server!'); } } if ($this->verp) { fputs($handle, 'MAIL FROM: <' . $this->from . '>XVERP' . $this->crlf); } else { fputs($handle, 'MAIL FROM: <' . $this->from . '>' . $this->crlf); } $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if (substr($reply, 0, 3) != 250) { error_log('Error: MAIL FROM not accepted from server!'); } if (!is_array($this->to)) { fputs($handle, 'RCPT TO: <' . $this->to . '>' . $this->crlf); $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if ((substr($reply, 0, 3) != 250) && (substr($reply, 0, 3) != 251)) { error_log('Error: RCPT TO not accepted from server!'); } } else { foreach ($this->to as $recipient) { fputs($handle, 'RCPT TO: <' . $recipient . '>' . $this->crlf); $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if ((substr($reply, 0, 3) != 250) && (substr($reply, 0, 3) != 251)) { error_log('Error: RCPT TO not accepted from server!'); } } } fputs($handle, 'DATA' . $this->crlf); $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if (substr($reply, 0, 3) != 354) { error_log('Error: DATA not accepted from server!'); } fputs($handle, $header . $message . $this->crlf); fputs($handle, '.' . $this->crlf); $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if (substr($reply, 0, 3) != 250) { error_log('Error: DATA not accepted from server!'); } fputs($handle, 'QUIT' . $this->crlf); $reply = ''; while ($line = fgets($handle, 515)) { $reply .= $line; if (substr($line, 3, 1) == ' ') { break; } } if (substr($reply, 0, 3) != 221) { error_log('Error: QUIT not accepted from server!'); } fclose($handle); } } } } ?> Что это за ошибка и как её исправить?Кто подскажет! Link to comment Share on other sites More sharing options...
vilija Posted September 10, 2012 Share Posted September 10, 2012 Странно. Эта ошибка если выбран протокол SMTP. У вас по скриншоту - mail. Link to comment Share on other sites More sharing options... dvi30011973 Posted September 10, 2012 Author Share Posted September 10, 2012 Так как правельно заполняется? Link to comment Share on other sites More sharing options... vilija Posted September 10, 2012 Share Posted September 10, 2012 У меня работает , как у вас на скриншоте только поля SMTP хост, логин и пароль почистить . А какие варианты в "Протокол почты:" ? Link to comment Share on other sites More sharing options... dvi30011973 Posted September 10, 2012 Author Share Posted September 10, 2012 SMTP хост: smtp.timeweb.ru SMTP логин:ваш почтовый адрес полностью SMTP пароль: пароль от почты SMTP порт: 25 (или 2525) Link to comment Share on other sites More sharing options... Tom Posted September 10, 2012 Share Posted September 10, 2012 SMTP логин не нужно полностью писать почту, только сам логин. Link to comment Share on other sites More sharing options... Siege Posted September 11, 2012 Share Posted September 11, 2012 Тут вопрос вот в чем. А установлен ли SMTP на сервере вообще? И mail.php тут не причем. Нет соединения на 25 порт. Причина: не установлен/не правильно настроен полноценный почтовый сервер (SMTP), закрыты порты. Что мешает пользоваться почтой средствами exim4, который так же должен быть настроен. Только настройка (в отличие от SMTP) тут делается в одну команду из терминала. Хотя, судя по пути к директории сайта, на все вопросы Вам должен ответить/помочь хостер. Link to comment Share on other sites More sharing options... dvi30011973 Posted September 11, 2012 Author Share Posted September 11, 2012 В роди настроил.Вот только в письме с уведомлением о заказе покупателя .В нём приходит прикреплённый файл логотипа магазина.Как можно его убрать?Спасибо. И ещё вопросик.В письме то что приходит покупателю.Есть вот такая строчка: Благодарим за интерес к товарам Интернет-магазин.«Арсенал Леди». Ваш заказ получен и поступит в обработку после подтверждения оплаты. Как исправить:подтверждения оплаты. на :подтверждения заказа. Link to comment Share on other sites More sharing options... vilija Posted September 11, 2012 Share Posted September 11, 2012 (edited) Убрать лого catalog/model/checkout/order.php Закомментить строку // $mail->addAttachment(DIR_IMAGE . $this->config->get('config_logo')); По тексту , правьте catalog/language/russian/mail/order_confirm.php $_['text_greeting'] Edited September 11, 2012 by vilija Link to comment Share on other sites More sharing options... vilija Posted September 11, 2012 Share Posted September 11, 2012 В роди настроил.Вот только в письме с уведомлением о заказе покупателя .В нём приходит прикреплённый файл логотипа магазина.Как можно его убрать?Спасибо. И ещё вопросик.В письме то что приходит покупателю.Есть вот такая строчка: Благодарим за интерес к товарам Интернет-магазин.«Арсенал Леди». Ваш заказ получен и поступит в обработку после подтверждения оплаты. Как исправить:подтверждения оплаты. на :подтверждения заказа. А что таки с почтой было ? Link to comment Share on other sites More sharing options... dvi30011973 Posted September 11, 2012 Author Share Posted September 11, 2012 Почта заработала после того как хостеры перелинковали домен для сайта. Link to comment Share on other sites More sharing options... dvi30011973 Posted September 11, 2012 Author Share Posted September 11, 2012 Текст я отредактировал.Спасибо. А вот с лого не совсем получилось.Я удалил:<img src="<?php echo $logo; ?>" alt="<?php echo $store_name; ?>" Теперь самого логотипа нет но осталась ссылка :alt="Интернет-магазин.«Арсенал Леди»" style="border: none;" > и сам прикреплённый файл с локо: для скачивания. Как же убрать их. Link to comment Share on other sites More sharing options... vilija Posted September 11, 2012 Share Posted September 11, 2012 Поправка по лого . tpl файл верните к прежнему виду. catalog/model/checkout/order.php Закомментить строку // $mail->addAttachment(DIR_IMAGE . $this->config->get('config_logo')); Link to comment Share on other sites More sharing options... dvi30011973 Posted September 11, 2012 Author Share Posted September 11, 2012 Всё получилось.Спасибо. Ещё вопросик есть точнее два. Я установил модуль соц-сетей FollowMe153. но моя версия ocstore_v0.1.7 и у меня при входе изменить выпадает ошибка: Fatal error: Call to a member function link() on a non-object in C:xampphtdocsooo-arle.ruadmincontrollermodulefollowme.php on line 89 Это можно исправить? Link to comment Share on other sites More sharing options... Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 0 Go to topic listing Similar Content Как настроить cron? By wladislaw353, April 12, 2022 0 comments 342 views kazbanov February 11 Вид письма о заказе на почту админу By flaero, February 27 3 replies 146 views bzserg March 15 Нужно настроить контекстную рекламу в яндекс By yaros888, Friday at 12:31 PM 1 reply 56 views thazard Tuesday at 09:18 AM oc-max "Новая почта API" - модуль доставки для OpenCart By Prorab337, June 21, 2015 новая почта модуль доставки (and 9 more) Tagged with: новая почта модуль доставки модуль доставки новая почта доставка модуль печать накладных накладные новая почта api нова пошта нова пошта для опенкарт модуль доставки нова пошта 0 comments 200,040 views Prorab337 June 21, 2015 [Поддержка] Новая Почта c калькулятором + отделения 1 2 3 4 17 By mstkalenko, July 9, 2014 simple новая почта (and 4 more) Tagged with: simple новая почта нова пошта модуль новая почта модуль доставки калькулятор 421 replies 64,354 views alexc March 19 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Поддержка и ответы на вопросы Общие вопросы как настроить почту Покупателям Оплата дополнений физическими лицами Оплата дополнений юридическими лицами Политика возвратов Разработчикам Регламент размещения дополнений Регламент продаж и поддержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каталога дополнений Урегулирование споров по авторским правам Полезная информация Публичная оферта Политика возвратов Политика конфиденциальности Платежная политика Политика Передачи Персональных Данных Политика прозрачности Последние дополнения Alta — тема для админ панели By impulze100500 Sorting modules in layout Drag&Drop By markimax Additional services for SAP modules By S_A_P Opencart ChatGPT - artificial intelligence content generator By kabantejay Custom Email By Parallax × Existing user? Sign In Sign Up Shopping section Back Purchased extensions Invoices Whishlist Alternative Contacts Forums News ocStore Back Official site Demo ocStore 3.0.3.2 Demo ocStore 2.3.0.2.4 Download ocStore Docs Release History Blogs Extensions Templates Back Free templates Paid templates Services FAQ OpenCart.Pro Back Demo Buy Compare × 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. I accept
dvi30011973 Posted September 10, 2012 Author Share Posted September 10, 2012 Так как правельно заполняется? Link to comment Share on other sites More sharing options...
vilija Posted September 10, 2012 Share Posted September 10, 2012 У меня работает , как у вас на скриншоте только поля SMTP хост, логин и пароль почистить . А какие варианты в "Протокол почты:" ? Link to comment Share on other sites More sharing options... dvi30011973 Posted September 10, 2012 Author Share Posted September 10, 2012 SMTP хост: smtp.timeweb.ru SMTP логин:ваш почтовый адрес полностью SMTP пароль: пароль от почты SMTP порт: 25 (или 2525) Link to comment Share on other sites More sharing options... Tom Posted September 10, 2012 Share Posted September 10, 2012 SMTP логин не нужно полностью писать почту, только сам логин. Link to comment Share on other sites More sharing options... Siege Posted September 11, 2012 Share Posted September 11, 2012 Тут вопрос вот в чем. А установлен ли SMTP на сервере вообще? И mail.php тут не причем. Нет соединения на 25 порт. Причина: не установлен/не правильно настроен полноценный почтовый сервер (SMTP), закрыты порты. Что мешает пользоваться почтой средствами exim4, который так же должен быть настроен. Только настройка (в отличие от SMTP) тут делается в одну команду из терминала. Хотя, судя по пути к директории сайта, на все вопросы Вам должен ответить/помочь хостер. Link to comment Share on other sites More sharing options... dvi30011973 Posted September 11, 2012 Author Share Posted September 11, 2012 В роди настроил.Вот только в письме с уведомлением о заказе покупателя .В нём приходит прикреплённый файл логотипа магазина.Как можно его убрать?Спасибо. И ещё вопросик.В письме то что приходит покупателю.Есть вот такая строчка: Благодарим за интерес к товарам Интернет-магазин.«Арсенал Леди». Ваш заказ получен и поступит в обработку после подтверждения оплаты. Как исправить:подтверждения оплаты. на :подтверждения заказа. Link to comment Share on other sites More sharing options... vilija Posted September 11, 2012 Share Posted September 11, 2012 (edited) Убрать лого catalog/model/checkout/order.php Закомментить строку // $mail->addAttachment(DIR_IMAGE . $this->config->get('config_logo')); По тексту , правьте catalog/language/russian/mail/order_confirm.php $_['text_greeting'] Edited September 11, 2012 by vilija Link to comment Share on other sites More sharing options... vilija Posted September 11, 2012 Share Posted September 11, 2012 В роди настроил.Вот только в письме с уведомлением о заказе покупателя .В нём приходит прикреплённый файл логотипа магазина.Как можно его убрать?Спасибо. И ещё вопросик.В письме то что приходит покупателю.Есть вот такая строчка: Благодарим за интерес к товарам Интернет-магазин.«Арсенал Леди». Ваш заказ получен и поступит в обработку после подтверждения оплаты. Как исправить:подтверждения оплаты. на :подтверждения заказа. А что таки с почтой было ? Link to comment Share on other sites More sharing options... dvi30011973 Posted September 11, 2012 Author Share Posted September 11, 2012 Почта заработала после того как хостеры перелинковали домен для сайта. Link to comment Share on other sites More sharing options... dvi30011973 Posted September 11, 2012 Author Share Posted September 11, 2012 Текст я отредактировал.Спасибо. А вот с лого не совсем получилось.Я удалил:<img src="<?php echo $logo; ?>" alt="<?php echo $store_name; ?>" Теперь самого логотипа нет но осталась ссылка :alt="Интернет-магазин.«Арсенал Леди»" style="border: none;" > и сам прикреплённый файл с локо: для скачивания. Как же убрать их. Link to comment Share on other sites More sharing options... vilija Posted September 11, 2012 Share Posted September 11, 2012 Поправка по лого . tpl файл верните к прежнему виду. catalog/model/checkout/order.php Закомментить строку // $mail->addAttachment(DIR_IMAGE . $this->config->get('config_logo')); Link to comment Share on other sites More sharing options... dvi30011973 Posted September 11, 2012 Author Share Posted September 11, 2012 Всё получилось.Спасибо. Ещё вопросик есть точнее два. Я установил модуль соц-сетей FollowMe153. но моя версия ocstore_v0.1.7 и у меня при входе изменить выпадает ошибка: Fatal error: Call to a member function link() on a non-object in C:xampphtdocsooo-arle.ruadmincontrollermodulefollowme.php on line 89 Это можно исправить? Link to comment Share on other sites More sharing options... Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 0 Go to topic listing Similar Content Как настроить cron? By wladislaw353, April 12, 2022 0 comments 342 views kazbanov February 11 Вид письма о заказе на почту админу By flaero, February 27 3 replies 146 views bzserg March 15 Нужно настроить контекстную рекламу в яндекс By yaros888, Friday at 12:31 PM 1 reply 56 views thazard Tuesday at 09:18 AM oc-max "Новая почта API" - модуль доставки для OpenCart By Prorab337, June 21, 2015 новая почта модуль доставки (and 9 more) Tagged with: новая почта модуль доставки модуль доставки новая почта доставка модуль печать накладных накладные новая почта api нова пошта нова пошта для опенкарт модуль доставки нова пошта 0 comments 200,040 views Prorab337 June 21, 2015 [Поддержка] Новая Почта c калькулятором + отделения 1 2 3 4 17 By mstkalenko, July 9, 2014 simple новая почта (and 4 more) Tagged with: simple новая почта нова пошта модуль новая почта модуль доставки калькулятор 421 replies 64,354 views alexc March 19 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Поддержка и ответы на вопросы Общие вопросы как настроить почту Покупателям Оплата дополнений физическими лицами Оплата дополнений юридическими лицами Политика возвратов Разработчикам Регламент размещения дополнений Регламент продаж и поддержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каталога дополнений Урегулирование споров по авторским правам Полезная информация Публичная оферта Политика возвратов Политика конфиденциальности Платежная политика Политика Передачи Персональных Данных Политика прозрачности Последние дополнения Alta — тема для админ панели By impulze100500 Sorting modules in layout Drag&Drop By markimax Additional services for SAP modules By S_A_P Opencart ChatGPT - artificial intelligence content generator By kabantejay Custom Email By Parallax × Existing user? Sign In Sign Up Shopping section Back Purchased extensions Invoices Whishlist Alternative Contacts Forums News ocStore Back Official site Demo ocStore 3.0.3.2 Demo ocStore 2.3.0.2.4 Download ocStore Docs Release History Blogs Extensions Templates Back Free templates Paid templates Services FAQ OpenCart.Pro Back Demo Buy Compare × 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. I accept
dvi30011973 Posted September 10, 2012 Author Share Posted September 10, 2012 SMTP хост: smtp.timeweb.ru SMTP логин:ваш почтовый адрес полностью SMTP пароль: пароль от почты SMTP порт: 25 (или 2525) Link to comment Share on other sites More sharing options...
Tom Posted September 10, 2012 Share Posted September 10, 2012 SMTP логин не нужно полностью писать почту, только сам логин. Link to comment Share on other sites More sharing options... Siege Posted September 11, 2012 Share Posted September 11, 2012 Тут вопрос вот в чем. А установлен ли SMTP на сервере вообще? И mail.php тут не причем. Нет соединения на 25 порт. Причина: не установлен/не правильно настроен полноценный почтовый сервер (SMTP), закрыты порты. Что мешает пользоваться почтой средствами exim4, который так же должен быть настроен. Только настройка (в отличие от SMTP) тут делается в одну команду из терминала. Хотя, судя по пути к директории сайта, на все вопросы Вам должен ответить/помочь хостер. Link to comment Share on other sites More sharing options... dvi30011973 Posted September 11, 2012 Author Share Posted September 11, 2012 В роди настроил.Вот только в письме с уведомлением о заказе покупателя .В нём приходит прикреплённый файл логотипа магазина.Как можно его убрать?Спасибо. И ещё вопросик.В письме то что приходит покупателю.Есть вот такая строчка: Благодарим за интерес к товарам Интернет-магазин.«Арсенал Леди». Ваш заказ получен и поступит в обработку после подтверждения оплаты. Как исправить:подтверждения оплаты. на :подтверждения заказа. Link to comment Share on other sites More sharing options... vilija Posted September 11, 2012 Share Posted September 11, 2012 (edited) Убрать лого catalog/model/checkout/order.php Закомментить строку // $mail->addAttachment(DIR_IMAGE . $this->config->get('config_logo')); По тексту , правьте catalog/language/russian/mail/order_confirm.php $_['text_greeting'] Edited September 11, 2012 by vilija Link to comment Share on other sites More sharing options... vilija Posted September 11, 2012 Share Posted September 11, 2012 В роди настроил.Вот только в письме с уведомлением о заказе покупателя .В нём приходит прикреплённый файл логотипа магазина.Как можно его убрать?Спасибо. И ещё вопросик.В письме то что приходит покупателю.Есть вот такая строчка: Благодарим за интерес к товарам Интернет-магазин.«Арсенал Леди». Ваш заказ получен и поступит в обработку после подтверждения оплаты. Как исправить:подтверждения оплаты. на :подтверждения заказа. А что таки с почтой было ? Link to comment Share on other sites More sharing options... dvi30011973 Posted September 11, 2012 Author Share Posted September 11, 2012 Почта заработала после того как хостеры перелинковали домен для сайта. Link to comment Share on other sites More sharing options... dvi30011973 Posted September 11, 2012 Author Share Posted September 11, 2012 Текст я отредактировал.Спасибо. А вот с лого не совсем получилось.Я удалил:<img src="<?php echo $logo; ?>" alt="<?php echo $store_name; ?>" Теперь самого логотипа нет но осталась ссылка :alt="Интернет-магазин.«Арсенал Леди»" style="border: none;" > и сам прикреплённый файл с локо: для скачивания. Как же убрать их. Link to comment Share on other sites More sharing options... vilija Posted September 11, 2012 Share Posted September 11, 2012 Поправка по лого . tpl файл верните к прежнему виду. catalog/model/checkout/order.php Закомментить строку // $mail->addAttachment(DIR_IMAGE . $this->config->get('config_logo')); Link to comment Share on other sites More sharing options... dvi30011973 Posted September 11, 2012 Author Share Posted September 11, 2012 Всё получилось.Спасибо. Ещё вопросик есть точнее два. Я установил модуль соц-сетей FollowMe153. но моя версия ocstore_v0.1.7 и у меня при входе изменить выпадает ошибка: Fatal error: Call to a member function link() on a non-object in C:xampphtdocsooo-arle.ruadmincontrollermodulefollowme.php on line 89 Это можно исправить? Link to comment Share on other sites More sharing options... Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 0 Go to topic listing Similar Content Как настроить cron? By wladislaw353, April 12, 2022 0 comments 342 views kazbanov February 11 Вид письма о заказе на почту админу By flaero, February 27 3 replies 146 views bzserg March 15 Нужно настроить контекстную рекламу в яндекс By yaros888, Friday at 12:31 PM 1 reply 56 views thazard Tuesday at 09:18 AM oc-max "Новая почта API" - модуль доставки для OpenCart By Prorab337, June 21, 2015 новая почта модуль доставки (and 9 more) Tagged with: новая почта модуль доставки модуль доставки новая почта доставка модуль печать накладных накладные новая почта api нова пошта нова пошта для опенкарт модуль доставки нова пошта 0 comments 200,040 views Prorab337 June 21, 2015 [Поддержка] Новая Почта c калькулятором + отделения 1 2 3 4 17 By mstkalenko, July 9, 2014 simple новая почта (and 4 more) Tagged with: simple новая почта нова пошта модуль новая почта модуль доставки калькулятор 421 replies 64,354 views alexc March 19 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Поддержка и ответы на вопросы Общие вопросы как настроить почту Покупателям Оплата дополнений физическими лицами Оплата дополнений юридическими лицами Политика возвратов Разработчикам Регламент размещения дополнений Регламент продаж и поддержки дополнений Виртуальный аккаунт автора Политика продвижения объявлений API каталога дополнений Урегулирование споров по авторским правам Полезная информация Публичная оферта Политика возвратов Политика конфиденциальности Платежная политика Политика Передачи Персональных Данных Политика прозрачности Последние дополнения Alta — тема для админ панели By impulze100500 Sorting modules in layout Drag&Drop By markimax Additional services for SAP modules By S_A_P Opencart ChatGPT - artificial intelligence content generator By kabantejay Custom Email By Parallax
Siege Posted September 11, 2012 Share Posted September 11, 2012 Тут вопрос вот в чем. А установлен ли SMTP на сервере вообще? И mail.php тут не причем. Нет соединения на 25 порт. Причина: не установлен/не правильно настроен полноценный почтовый сервер (SMTP), закрыты порты. Что мешает пользоваться почтой средствами exim4, который так же должен быть настроен. Только настройка (в отличие от SMTP) тут делается в одну команду из терминала. Хотя, судя по пути к директории сайта, на все вопросы Вам должен ответить/помочь хостер. Link to comment Share on other sites More sharing options...
dvi30011973 Posted September 11, 2012 Author Share Posted September 11, 2012 В роди настроил.Вот только в письме с уведомлением о заказе покупателя .В нём приходит прикреплённый файл логотипа магазина.Как можно его убрать?Спасибо. И ещё вопросик.В письме то что приходит покупателю.Есть вот такая строчка: Благодарим за интерес к товарам Интернет-магазин.«Арсенал Леди». Ваш заказ получен и поступит в обработку после подтверждения оплаты. Как исправить:подтверждения оплаты. на :подтверждения заказа. Link to comment Share on other sites More sharing options...
vilija Posted September 11, 2012 Share Posted September 11, 2012 (edited) Убрать лого catalog/model/checkout/order.php Закомментить строку // $mail->addAttachment(DIR_IMAGE . $this->config->get('config_logo')); По тексту , правьте catalog/language/russian/mail/order_confirm.php $_['text_greeting'] Edited September 11, 2012 by vilija Link to comment Share on other sites More sharing options... vilija Posted September 11, 2012 Share Posted September 11, 2012 В роди настроил.Вот только в письме с уведомлением о заказе покупателя .В нём приходит прикреплённый файл логотипа магазина.Как можно его убрать?Спасибо. И ещё вопросик.В письме то что приходит покупателю.Есть вот такая строчка: Благодарим за интерес к товарам Интернет-магазин.«Арсенал Леди». Ваш заказ получен и поступит в обработку после подтверждения оплаты. Как исправить:подтверждения оплаты. на :подтверждения заказа. А что таки с почтой было ? Link to comment Share on other sites More sharing options... dvi30011973 Posted September 11, 2012 Author Share Posted September 11, 2012 Почта заработала после того как хостеры перелинковали домен для сайта. Link to comment Share on other sites More sharing options... dvi30011973 Posted September 11, 2012 Author Share Posted September 11, 2012 Текст я отредактировал.Спасибо. А вот с лого не совсем получилось.Я удалил:<img src="<?php echo $logo; ?>" alt="<?php echo $store_name; ?>" Теперь самого логотипа нет но осталась ссылка :alt="Интернет-магазин.«Арсенал Леди»" style="border: none;" > и сам прикреплённый файл с локо: для скачивания. Как же убрать их. Link to comment Share on other sites More sharing options... vilija Posted September 11, 2012 Share Posted September 11, 2012 Поправка по лого . tpl файл верните к прежнему виду. catalog/model/checkout/order.php Закомментить строку // $mail->addAttachment(DIR_IMAGE . $this->config->get('config_logo')); Link to comment Share on other sites More sharing options... dvi30011973 Posted September 11, 2012 Author Share Posted September 11, 2012 Всё получилось.Спасибо. Ещё вопросик есть точнее два. Я установил модуль соц-сетей FollowMe153. но моя версия ocstore_v0.1.7 и у меня при входе изменить выпадает ошибка: Fatal error: Call to a member function link() on a non-object in C:xampphtdocsooo-arle.ruadmincontrollermodulefollowme.php on line 89 Это можно исправить? Link to comment Share on other sites More sharing options... Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 0 Go to topic listing Similar Content Как настроить cron? By wladislaw353, April 12, 2022 0 comments 342 views kazbanov February 11 Вид письма о заказе на почту админу By flaero, February 27 3 replies 146 views bzserg March 15 Нужно настроить контекстную рекламу в яндекс By yaros888, Friday at 12:31 PM 1 reply 56 views thazard Tuesday at 09:18 AM oc-max "Новая почта API" - модуль доставки для OpenCart By Prorab337, June 21, 2015 новая почта модуль доставки (and 9 more) Tagged with: новая почта модуль доставки модуль доставки новая почта доставка модуль печать накладных накладные новая почта api нова пошта нова пошта для опенкарт модуль доставки нова пошта 0 comments 200,040 views Prorab337 June 21, 2015 [Поддержка] Новая Почта c калькулятором + отделения 1 2 3 4 17 By mstkalenko, July 9, 2014 simple новая почта (and 4 more) Tagged with: simple новая почта нова пошта модуль новая почта модуль доставки калькулятор 421 replies 64,354 views alexc March 19 Recently Browsing 0 members No registered users viewing this page. Последние темы Последние дополнения Последние новости All Activity Home Поддержка и ответы на вопросы Общие вопросы как настроить почту
vilija Posted September 11, 2012 Share Posted September 11, 2012 В роди настроил.Вот только в письме с уведомлением о заказе покупателя .В нём приходит прикреплённый файл логотипа магазина.Как можно его убрать?Спасибо. И ещё вопросик.В письме то что приходит покупателю.Есть вот такая строчка: Благодарим за интерес к товарам Интернет-магазин.«Арсенал Леди». Ваш заказ получен и поступит в обработку после подтверждения оплаты. Как исправить:подтверждения оплаты. на :подтверждения заказа. А что таки с почтой было ? Link to comment Share on other sites More sharing options... dvi30011973 Posted September 11, 2012 Author Share Posted September 11, 2012 Почта заработала после того как хостеры перелинковали домен для сайта. Link to comment Share on other sites More sharing options... dvi30011973 Posted September 11, 2012 Author Share Posted September 11, 2012 Текст я отредактировал.Спасибо. А вот с лого не совсем получилось.Я удалил:<img src="<?php echo $logo; ?>" alt="<?php echo $store_name; ?>" Теперь самого логотипа нет но осталась ссылка :alt="Интернет-магазин.«Арсенал Леди»" style="border: none;" > и сам прикреплённый файл с локо: для скачивания. Как же убрать их. Link to comment Share on other sites More sharing options... vilija Posted September 11, 2012 Share Posted September 11, 2012 Поправка по лого . tpl файл верните к прежнему виду. catalog/model/checkout/order.php Закомментить строку // $mail->addAttachment(DIR_IMAGE . $this->config->get('config_logo')); Link to comment Share on other sites More sharing options... dvi30011973 Posted September 11, 2012 Author Share Posted September 11, 2012 Всё получилось.Спасибо. Ещё вопросик есть точнее два. Я установил модуль соц-сетей FollowMe153. но моя версия ocstore_v0.1.7 и у меня при входе изменить выпадает ошибка: Fatal error: Call to a member function link() on a non-object in C:xampphtdocsooo-arle.ruadmincontrollermodulefollowme.php on line 89 Это можно исправить? Link to comment Share on other sites More sharing options... Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 0 Go to topic listing Similar Content Как настроить cron? By wladislaw353, April 12, 2022 0 comments 342 views kazbanov February 11 Вид письма о заказе на почту админу By flaero, February 27 3 replies 146 views bzserg March 15 Нужно настроить контекстную рекламу в яндекс By yaros888, Friday at 12:31 PM 1 reply 56 views thazard Tuesday at 09:18 AM oc-max "Новая почта API" - модуль доставки для OpenCart By Prorab337, June 21, 2015 новая почта модуль доставки (and 9 more) Tagged with: новая почта модуль доставки модуль доставки новая почта доставка модуль печать накладных накладные новая почта api нова пошта нова пошта для опенкарт модуль доставки нова пошта 0 comments 200,040 views Prorab337 June 21, 2015 [Поддержка] Новая Почта c калькулятором + отделения 1 2 3 4 17 By mstkalenko, July 9, 2014 simple новая почта (and 4 more) Tagged with: simple новая почта нова пошта модуль новая почта модуль доставки калькулятор 421 replies 64,354 views alexc March 19 Recently Browsing 0 members No registered users viewing this page.
dvi30011973 Posted September 11, 2012 Author Share Posted September 11, 2012 Почта заработала после того как хостеры перелинковали домен для сайта. Link to comment Share on other sites More sharing options...
dvi30011973 Posted September 11, 2012 Author Share Posted September 11, 2012 Текст я отредактировал.Спасибо. А вот с лого не совсем получилось.Я удалил:<img src="<?php echo $logo; ?>" alt="<?php echo $store_name; ?>" Теперь самого логотипа нет но осталась ссылка :alt="Интернет-магазин.«Арсенал Леди»" style="border: none;" > и сам прикреплённый файл с локо: для скачивания. Как же убрать их. Link to comment Share on other sites More sharing options...
vilija Posted September 11, 2012 Share Posted September 11, 2012 Поправка по лого . tpl файл верните к прежнему виду. catalog/model/checkout/order.php Закомментить строку // $mail->addAttachment(DIR_IMAGE . $this->config->get('config_logo')); Link to comment Share on other sites More sharing options... dvi30011973 Posted September 11, 2012 Author Share Posted September 11, 2012 Всё получилось.Спасибо. Ещё вопросик есть точнее два. Я установил модуль соц-сетей FollowMe153. но моя версия ocstore_v0.1.7 и у меня при входе изменить выпадает ошибка: Fatal error: Call to a member function link() on a non-object in C:xampphtdocsooo-arle.ruadmincontrollermodulefollowme.php on line 89 Это можно исправить? Link to comment Share on other sites More sharing options... Create an account or sign in to comment You need to be a member in order to leave a comment Create an account Sign up for a new account in our community. It's easy! Register a new account Sign in Already have an account? Sign in here. Sign In Now Share More sharing options... Followers 0
dvi30011973 Posted September 11, 2012 Author Share Posted September 11, 2012 Всё получилось.Спасибо. Ещё вопросик есть точнее два. Я установил модуль соц-сетей FollowMe153. но моя версия ocstore_v0.1.7 и у меня при входе изменить выпадает ошибка: Fatal error: Call to a member function link() on a non-object in C:xampphtdocsooo-arle.ruadmincontrollermodulefollowme.php on line 89 Это можно исправить? Link to comment Share on other sites More sharing options...
Recommended Posts