#0 /home/wikindx/www/gameaudio/core/libs/SQL.php(3493): SQL->sqlDie('You have an err...', '
internalQuery('\n\t\t\tSELECT `res...', false) #2 /home/wikindx/www/gameaudio/core/bibcitation/BIBCITEGATEWAY.php(1462): SQL->query('\n\t\t\tSELECT `res...') #3 /home/wikindx/www/gameaudio/core/bibcitation/BIBCITEGATEWAY.php(1384): BIBCITEGATEWAY->getResourcesPublisher(Array) #4 /home/wikindx/www/gameaudio/core/bibcitation/BIBCITEGATEWAY.php(497): BIBCITEGATEWAY->getResourceData(Array, '1', '', true, false, Array) #5 /home/wikindx/www/gameaudio/core/modules/export/RISEXPORT.php(94): BIBCITEGATEWAY->getDataFromResIds(Array) #6 /home/wikindx/www/gameaudio/core/modules/export/RISEXPORT.php(71): RISEXPORT->getData() #7 /home/wikindx/www/gameaudio/core/modules/export/RISEXPORT.php(46): RISEXPORT->processExport() #8 /home/wikindx/www/gameaudio/index.php(137): RISEXPORT->initRisExportB()


[SQL ERROR] SELECT `resourceId`, `resourceType`, `resourcemiscField1`, `publisherId`, `publisherName`, `publisherLocation` FROM `resource` LEFT OUTER JOIN `resource_misc` ON `resourcemiscId` = `resourceId` LEFT OUTER JOIN `publisher` ON CASE WHEN (`resourceType` = 'proceedings' OR `resourceType` = 'proceedings_article') AND `resourcemiscField1` IS NOT NULL THEN `resourcemiscField1` ELSE `resourcemiscPublisher` END = `publisherId` WHERE

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 10