errors in digest sending email - phpBB Digests
errors in digest sending email
...............................................
SQL ERROR [ mysqli ]
Lost connection to MySQL server during query [2013]
SQL
SELECT f.*, t.*, p.*, u.* FROM (phpbb_posts p, phpbb_users u, phpbb_topics t) LEFT JOIN phpbb_forums f ON (t.forum_id = f.forum_id) WHERE f.forum_id = t.forum_id AND p.topic_id = t.topic_id AND p.poster_id = u.user_id AND p.post_time > 1318038064 AND p.forum_id IN (0, 1, 2) AND p.poster_id <> 2 AND p.post_approved = 1 ORDER BY f.left_id, f.right_id, t.topic_last_post_time DESC, p.post_time LIMIT 18446744073709551615
BACKTRACE
FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()
FILE: includes/db/mysqli.php
LINE: 205
CALL: dbal_mysqli->sql_query()
FILE: includes/db/dbal.php
LINE: 170
CALL: dbal_mysqli->_sql_query_limit()
FILE: mail_digests.php
LINE: 659
CALL: dbal->sql_query_limit()
.................................................
Any help on the above?
Also does the mod i have installed (2.2.11) work with phpbb 3.0.9 or will i be facing other errors?
- eyesonly466
- Registered User
- Posts: 2
- Joined: Sun Oct 09, 2011 2:04 am
Re: errors in digest sending email
Lost connection to MySQL server during query [2013]
suggests there are other problems going on rather than mail_digests.php. The problem may be that you are using shared hosting and the host does not allocate much CPU before timing out.
Version 2.2.11 is rather old and was not written for phpBB 3.0.9. There is a newer version 2.2.18 on my website (link in footer) you might want to try. Rather than try to patch it I would uninstall it and reinstall the new version. It makes fewer SQL calls which might address you problem with shared hosting. There is one known bug for 2.2.18 that I posted a correction to in this forum.
- MarkDHamill
- Registered User
- Posts: 2117
- Joined: Fri Aug 02, 2002 12:36 am
- Location: Oak Hill, Virginia USA
Re: errors in digest sending email
i installed the newest mod version and still same error. i have my own webserver that is fully dedicated to phpbb. My current webserver has os opensolaris2009.06, however i tested the mod (sending digest emails) using another webserver i have with os centos 5.6 nd the mod worked perfectly...
so i guess the problem is with the OS (here opensolaris in my case). Any help?
thnx
- eyesonly466
- Registered User
- Posts: 2
- Joined: Sun Oct 09, 2011 2:04 am
Re: errors in digest sending email
You might try copying and pasting the SQL into phpMyAdmin and see if there is a SQL error there somewhere. It looks fine.
- MarkDHamill
- Registered User
- Posts: 2117
- Joined: Fri Aug 02, 2002 12:36 am
- Location: Oak Hill, Virginia USA