A Database Error Occurred

Error Number: 1054

Unknown column 'profile.html' in 'where clause'

SELECT e.eprintid, e.title, e.dir, d.pos, d.main, d.formatdesc FROM eprintsunimus.eprint e, eprintsunimus.document d WHERE e.eprintid=d.eprintid AND e.eprintid = profile.html and d.format='text' ORDER BY d.pos asc

Filename: controllers/Display.php

Line Number: 68