Skip to main content
Topic: The most funny (Read 1642 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

The most funny

Code: [Select]
http://www.elkarte.net/community/index.php?scheduled=mailq;ts=1453904261
/.../sources/subs/Mail.subs.php
Line: 1068
That's all there is to it.
No actual errors, just the file and the line (Elk 1.0.6), it's an $db->insert, but I have no clues as to what the problem could be, most likely the error reporting is shut down on this path, we'd have to turn it on.
Bugs creator.
Features destroyer.
Template killer.

Re: The most funny

Reply #1

Awesome.
Master of Expletives: Now with improved family f@&king friendliness! :D

Sources code: making easy front end changes difficult since 1873. :P

 

Re: The most funny

Reply #2

Hello!

I have also a problem with the E-Mails.
Elkarte 1.0.7 is on my server, runs very good but there was no E-Mails sended to members where registered or i send Mails manually.

In the ErrorLog there was logged:

http://www.******************/index.php?scheduled=mailq;ts=1464516163
Filter hinzufügen: Nur Fehler von dieser Datei zeigen Datei: /home/styri0000/www/home/h123/sources/subs/Mail.subs.php
Zeile: 1068



I have edit the mail.sub.php from https://github.com/*** - below the current code

Code: [Select]
// Line breaks need to be \r\n only in windows or for SMTP.
$line_break = !empty($context['server']['is_windows']) || !$use_sendmail ? "\r\n" : "\n";

foreach ($emails as $key => $email)
{
// Use the right mail resource
if ($use_sendmail)
{
$email['subject'] = strtr($email['subject'], array("\r" => '', "\n" => ''));
$email['body_fail'] = $email['body'];

if (!empty($modSettings['mail_strip_carriage']))
{
$email['body'] = strtr($email['body'], array("\r" => ''));
$email['headers'] = strtr($email['headers'], array("\r" => ''));
}

$need_break = substr($email['headers'], -1) === "\n" || substr($email['headers'], -1) === "\r" ? false : true;

// Create our unique reply to email header if this message needs one
$unq_id = '';

Anyone who can help me? Sorry for my bad english.