Hi
Thanks for your reply - I did as you suggested ... the debug is indeed quite verbose

. Here is the offending query:
Best
Francois
------
(mysql): SELECT DISTINCT a.*, s.title AS section_title, s.title_alt1 AS section_title_alt1, s.title_alt2 AS section_title_alt2, s.abbrev AS section_abbrev, s.abbrev_alt1 AS section_abbrev_alt1, s.abbrev_alt2 AS section_abbrev_alt2 FROM articles a INNER JOIN article_authors aa ON (aa.article_id = a.article_id) LEFT JOIN sections s ON (s.section_id = a.section_id) LEFT JOIN edit_assignments e ON (e.article_id = a.article_id) LEFT JOIN users ed ON (e.editor_id = ed.user_id) LEFT JOIN copyed_assignments c ON (a.article_id = c.article_id) LEFT JOIN users ce ON (c.copyeditor_id = ce.user_id) LEFT JOIN proof_assignments p ON (p.article_id = a.article_id) LEFT JOIN users pe ON (pe.user_id = p.proofreader_id) LEFT JOIN layouted_assignments l ON (l.article_id = a.article_id) LEFT JOIN users le ON (le.user_id = l.editor_id) LEFT JOIN review_assignments r ON (r.article_id = a.article_id) LEFT JOIN users re ON (re.user_id = r.reviewer_id AND cancelled = 0) WHERE a.journal_id = '1' AND a.status = 1 ORDER BY article_id ASC 1104:
The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET SQL_MAX_JOIN_SIZE=# if the SELECT is okay
adodb_mysql._execute(SELECT DISTINCT
a.*,
s.title AS section_title,
s.title_alt1 AS section_title_alt1,
s.title_alt2 AS section_title...) % line 839, file: adodb.inc.php
adodb_mysql.execute(SELECT DISTINCT
a.*,
s.title AS section_title,
s.title_alt1 AS section_title_alt1,
s.title_alt2 AS section_title..., Array[1]) % line 62, file: DAO.inc.php
editorsubmissiondao.retrieve(SELECT DISTINCT
a.*,
s.title AS section_title,
s.title_alt1 AS section_title_alt1,
s.title_alt2 AS section_title..., 1, false) % line 150, file: DAO.inc.php
editorsubmissiondao.retrieverange(SELECT DISTINCT
a.*,
s.title AS section_title,
s.title_alt1 AS section_title_alt1,
s.title_alt2 AS section_title..., 1, null) % line 273, file: EditorSubmissionDAO.inc.php
editorsubmissiondao.getunfilterededitorsubmissions(1, null, null, null, null, null, null, null, true) % line 324, file: EditorSubmissionDAO.inc.php