VITCIE info: MySQL Query Error

Time: 2018-5-28 12:54pm
Script: /videodetail.php

SQL: SELECT vp.type,vp.subject,vp.posttime,vp.id,vp.smallimg,vpt.message,vp.class FROM vte_pic vp left join vte_pic_text vpt on vp.id=vpt.uid where vp.id=
Error: 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 1
Errno.: 1064

An error report has been dispatched to our administrator.
Fatal error: Call to undefined function sendmail() in /data/home/qxu1152560018/htdocs/include/db_mysql_error.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 38