Desperatly need help for e-mails

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Anti-Spam Guide
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
Surf007
Registered User
Posts: 141
Joined: Wed Jun 20, 2007 1:16 pm

Desperatly need help for e-mails

Post by Surf007 »

when i'm using smtp function getting this error-

Code: Select all

General Error
SQL ERROR [ mysql4 ]

Lost connection to MySQL server during query [2013]

SQL

INSERT INTO phpbb_log (user_id, log_ip, log_time, log_operation, log_data, log_type) VALUES ('2', '59.162.255.48', 1205650403, 'LOG_ERROR_EMAIL', 'a:1:{i:0;s:192:\"<strong>EMAIL/SMTP</strong><br /><em>/desi-tadka/adm/index.php</em><br /><br />Could not get mail server response codes.<h1>Backtrace</h1><p>Connecting to smtpout.secureserver.net:80</p><br />\";}', 2)
when using php function getting this error-

Code: Select all

SQL ERROR [ mysql4 ]

Lost connection to MySQL server during query [2013]

SQL

INSERT INTO phpbb_log (user_id, log_ip, log_time, log_operation, log_data, log_type) VALUES ('2', '59.162.255.48', 1208359055, 'LOG_ERROR_EMAIL', 'a:1:{i:0;s:91:\"<strong>EMAIL/PHP/mail()</strong><br /><em>/desi-tadka/adm/index.php</em><br /><br /><br />\";}', 2)

BACKTRACE

FILE: includes/db/mysql.php
LINE: 158
CALL: dbal->sql_error()

FILE: includes/functions.php
LINE: 2678
CALL: dbal_mysql->sql_query()

FILE: includes/functions_messenger.php
LINE: 282
CALL: add_log()

FILE: includes/functions_messenger.php
LINE: 416
CALL: messenger->error()

FILE: includes/functions_messenger.php
LINE: 237
CALL: messenger->msg_email()

FILE: includes/acp/acp_email.php
LINE: 185
CALL: messenger->send()

FILE: includes/functions_module.php
LINE: 480
CALL: acp_email->main()

FILE: adm/index.php
LINE: 75
CALL: p_master->load_active()
Magimedia
Registered User
Posts: 52
Joined: Tue Jul 19, 2005 8:46 pm

Re: Desperatly need help for e-mails

Post by Magimedia »

Lost connection to MySQL server during query [2013]
I'm going to take an educated guess here, that your mail server is slow, and so the SQL server is timing out mid-way through the PHP script.

Solutions...
Option 1 - Faster mail server
Option 2 - Extend the timeout on the SQL server

Most likely solution is Option 2, but unfortunately I think your ISP would have to do that.
Locked

Return to “[3.0.x] Support Forum”