Guest User

Untitled

a guest
Nov 4th, 2017
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. [[!FormIt?
  2. &hooks=`email,redirect`
  3. &redirectTo=`19`
  4. &redirectParams=`{"success":"1"}`
  5. &emailTpl=`feedbackEmailTpl`
  6. &emailSubject=`New request from [[++site_name]]`
  7. &emailTo=`***@gmail.com`
  8. &emailToName=`Support`
  9. &emailReplyTo=`***@gmail.com`
  10. &emailFrom=`***@gmail.com`
  11. &emailFromName=`***@gmail.com`
  12. &errTpl=`<span class="label label-warning">[[+error]]</span>`
  13. &validate=`
  14. name:required:stripTags,
  15. clientemail:email:required,
  16. message:required:stripTags
  17. `
  18. &clearFieldsOnSuccess=`1`
  19. &validationErrorMessage=`Error.`
  20. ]]
  21.  
  22. [2015-06-02 10:33:37] (ERROR @ /var/www/site/core/model/modx/mail/phpmailer/class.phpmailer.php : 893) PHP warning: preg_match(): Compilation failed: internal error: previously-checked referenced subpattern not found at offset 728
  23. [2015-06-02 10:33:37] (ERROR @ /var/www/site/core/model/modx/mail/phpmailer/class.phpmailer.php : 893) PHP warning: preg_match(): Compilation failed: internal error: previously-checked referenced subpattern not found at offset 728
  24. [2015-06-02 10:33:37] (ERROR @ /index.php) [FormIt] Произошла ошибка при попытке отправить почту. Пожалуйста, введите хотя бы один адрес e-mail получателя.
  25.  
  26. class myMailer extends PHPMailer
  27. {
  28. public static function validateAddress($address, $patternselect = 'php')
  29. {
  30. return parent::validateAddress($address, $patternselect);
  31. }
  32. }
Add Comment
Please, Sign In to add comment