Jump to content
Sign in to follow this  
Malhaz

Ошибка SMTP или контактной формы

Recommended Posts

Здравствуйте, скажите пожалуйста, кто знает как решить данный вопрос и в чем может быть проблема, действительно ли нужно редактировать файлы как выдает гугля ? 

Fatal error: Uncaught exception 'Exception' with message 'Error: DATA not accepted from server!' in /var/www/html/www.pride.md/system/library/mail.php:414 Stack trace: #0 /var/www/html/www.pride.md/system/storage/modification/catalog/controller/information/contact.php(55): Mail->send() #1 [internal function]: ControllerInformationContact->index() #2 /var/www/html/www.pride.md/system/storage/modification/system/engine/action.php(56): call_user_func_array(Array, Array) #3 /var/www/html/www.pride.md/system/engine/front.php(39): Action->execute(Object(Registry)) #4 /var/www/html/www.pride.md/system/engine/front.php(34): Front->execute(Object(Action)) #5 /var/www/html/www.pride.md/system/framework.php(108): Front->dispatch(Object(Action), Object(Action)) #6 /var/www/html/www.pride.md/system/startup.php(129): require_once('/var/www/html/w...') #7 /var/www/html/www.pride.md/index.php(19): start('catalog') #8 {main} thrown in /var/www/html/www.pride.md/system/library/mail.php on line 414

 

Share this post


Link to post
Share on other sites
4 часа назад, Malhaz сказал:

Здравствуйте, скажите пожалуйста, кто знает как решить данный вопрос и в чем может быть проблема, действительно ли нужно редактировать файлы как выдает гугля ? 


Fatal error: Uncaught exception 'Exception' with message 'Error: DATA not accepted from server!' in /var/www/html/www.pride.md/system/library/mail.php:414 Stack trace: #0 /var/www/html/www.pride.md/system/storage/modification/catalog/controller/information/contact.php(55): Mail->send() #1 [internal function]: ControllerInformationContact->index() #2 /var/www/html/www.pride.md/system/storage/modification/system/engine/action.php(56): call_user_func_array(Array, Array) #3 /var/www/html/www.pride.md/system/engine/front.php(39): Action->execute(Object(Registry)) #4 /var/www/html/www.pride.md/system/engine/front.php(34): Front->execute(Object(Action)) #5 /var/www/html/www.pride.md/system/framework.php(108): Front->dispatch(Object(Action), Object(Action)) #6 /var/www/html/www.pride.md/system/startup.php(129): require_once('/var/www/html/w...') #7 /var/www/html/www.pride.md/index.php(19): start('catalog') #8 {main} thrown in /var/www/html/www.pride.md/system/library/mail.php on line 414

 

в catalog\controller\information\contact.php меняем

$mail->setFrom($this->request->post['email']);

на

$mail->setFrom($this->config->get('config_email'));

 

  • +1 1

Share this post


Link to post
Share on other sites
14 hours ago, Blast said:

в catalog\controller\information\contact.php меняем


$mail->setFrom($this->request->post['email']);

на


$mail->setFrom($this->config->get('config_email'));

 

В принципе ситуация изменилась, но появилось кое что другое:

Parse error: syntax error, unexpected '' (T_STRING) in /var/www/html/www.pride.md/system/storage/modification/catalog/controller/information/contact.php on line 51

Страница контактов сразу открывается с этой ошибкой, 51 строка пустая

Share this post


Link to post
Share on other sites

внимательно проверьте правильность замены. может точку с запятой не поставили

Share this post


Link to post
Share on other sites
4 hours ago, Blast said:

внимательно проверьте правильность замены. может точку с запятой не поставили

Спасибо, все работает )

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×

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.