Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@wiseman.ee and inform them of the time the error occurred, and anything you might have done that may have caused the error.

[51807]ERR: 32: Warning in Perl code: DBD::Pg::st execute failed: ERROR: syntax error at or near "desc"
    LINE 9: ORDER BY id asc desc LIMIT 25 OFFSET 0
     ^ at /usr/share/perl5/vendor_perl/Common/DBCONNECT.pm line 301.
[51807]ERR: 32: Warning in Perl code: package:Site::Mediabank::Image::Main, file:/var/www/fotonet.ee/vhosts/tallinn2016/htdocs/modules/Site/Mediabank/Image/Main.pm, line:808, q:SELECT DISTINCT o.id, o.file_path, o.file_name, o.file_size, o.published,
     ov.preview_image, ov.youtube_id, ov.duration, o.object_name,
     oi.width, oi.height, o.document_notes, o.edit_time, o.object_type_id, o.object_fileformat_id, o.rights_cat_id,
     (oi.height / oi.width) AS portrait
     FROM object AS o LEFT JOIN object_video ov ON (o.id = ov.object_id)
     LEFT JOIN object_audio oa ON (o.id = oa.object_id)
     LEFT JOIN object_image oi ON (o.id = oi.object_id)
     LEFT JOIN object_category oc ON (o.id = oc.object_id) WHERE o.published='1' AND o.rights_cat_id IN(4) AND oc.category_id = 355
     ORDER BY id asc desc LIMIT 25 OFFSET 0
[51807]ERR: 24: Error in Perl code: at /var/www/fotonet.ee/vhosts/tallinn2016/htdocs/modules/Site/Mediabank/Image/Main.pm line 808.

Apache/2.4.6 (CentOS) Embperl/2.5.0 OpenSSL/1.0.2k-fips mod_perl/2.0.11 Perl/v5.16.3 [Thu Mar 28 15:49:37 2024]