ErrorNo: 1066, Message:Errore del database durante l'esecuzione di: 'SELECT xar_helpdesk_tickets.xar_id, xar_helpdesk_tickets.xar_name, xar_helpdesk_tickets.xar_date, xar_subject, xar_statusid, xar_priorityid, xar_sourceid, LEFT(xar_updated,10) as xar_updated, xar_closed, xar_assignedto, xar_openedby, xar_closedby, xar_data_inoltro_manutentore, xar_email_manutentore, xar_ditta_manutentrice, xar_helpdesk_tickets.xar_email FROM xar_helpdesk_tickets LEFT JOIN xar_categories_linkage ON xar_categories_linkage.xar_iid = xar_helpdesk_tickets.xar_id INNER JOIN xar_categories ON xar_categories.xar_cid = xar_categories_linkage.xar_cid AND xar_categories.xar_left >= 15 AND xar_categories.xar_left <= 164 LEFT JOIN xar_categories ON xar_categories.xar_cid=xar_categories_linkage.xar_cid WHERE ( SELECT count(*) > 0 FROM xar_security_roles WHERE xar_security_roles.modid = 910 AND xar_security_roles.itemtype = 1 AND xar_security_roles.itemid = xar_helpdesk_tickets.xar_id AND xar_security_roles.uid IN (0, 2, 1) AND xar_security_roles.xoverview = 1 ) AND xar_categories_linkage.xar_modid = 910 AND xar_categories_linkage.xar_itemtype = 1 AND ( xar_statusid = 1 OR xar_statusid = 2 OR xar_statusid = 3 OR xar_statusid = 4 ) GROUP BY xar_helpdesk_tickets.xar_id ORDER BY xar_categories.xar_name DESC,xar_helpdesk_tickets.xar_id DESC LIMIT 0,20'; la descrizione dell'errore è: 'Not unique table/alias: 'xar_categories''.
Una richiesta dal database non può essere eseguita, o perchè la richiesta non è comprensibile, o perchè ha restituito risultati inattesi.