DATABASE ERROR:

SELECT f.id, f.pubdate, f.file, f.hits, f.title, f.owner, a.NSDiffer
                            FROM cms_photo_files f
                            INNER JOIN cms_photo_albums a ON a.id = f.album_id AND a.published = 1
                            WHERE f.user_id = '11' AND f.album_id = '1038' AND f.published = 1

Out of resources when opening file './twistik_ridder/cms_photo_files.MYD' (Errcode: 24 - Too many open files)