SQL 错误消息: "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" SQL 语句: "SELECT `userimage`.* FROM `userimage` WHERE id=141 and aid= " SQL 错误代码: "7335941".

错误原因:

您看到这个错误页面是因为应用程序抛出了没有捕获的异常。

异常的详细内容: exception 'FLEA_Db_Exception_SqlQuery' with message 'SQL 错误消息: "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"
SQL 语句: "SELECT  `userimage`.* FROM `userimage`  WHERE id=141 and aid= "
SQL 错误代码: "7335941".' in /home5/connexi2/public_html/gznightlife/lib/flea/FLEA/Db/Driver/Mysql.php:126
Stack trace:
#0 /home5/connexi2/public_html/gznightlife/lib/flea/FLEA/Db/TableDataGateway.php(448): FLEA_Db_Driver_Mysql->execute('SELECT  `userim...')
#1 /home5/connexi2/public_html/gznightlife/app/front/Controller/pictures.php(246): FLEA_Db_TableDataGateway->findAll('id=141 and aid=', '')
#2 /home5/connexi2/public_html/gznightlife/lib/flea/FLEA/Dispatcher/Simple.php(120): controller_pictures->actionpicturesbig()
#3 /home5/connexi2/public_html/gznightlife/lib/flea/FLEA/Dispatcher/Auth.php(127): FLEA_Dispatcher_Simple->_executeAction('pictures', 'picturesbig', 'Controller_pict...')
#4 /home5/connexi2/public_html/gznightlife/lib/flea/FLEA.php(816): FLEA_Dispatcher_Auth->dispatching()
#5 /home5/connexi2/public_html/gznightlife/index.php(69): FLEA::runMVC()
#6 {main}

Exception: FLEA_Db_Exception_SqlQuery
Message: SQL 错误消息: "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" SQL 语句: "SELECT `userimage`.* FROM `userimage` WHERE id=141 and aid= " SQL 错误代码: "7335941".


Filename: /home5/connexi2/public_html/gznightlife/lib/flea/FLEA/Db/TableDataGateway.php [448]
#6 FLEA_Db_Driver_Mysql::execute('SELECT `userimage`.* FROM ...')

Filename: /home5/connexi2/public_html/gznightlife/app/front/Controller/pictures.php [246]
#5 FLEA_Db_TableDataGateway::findAll('id=141 and aid=', '')

Filename: /home5/connexi2/public_html/gznightlife/lib/flea/FLEA/Dispatcher/Simple.php [120]
#4 controller_pictures::actionpicturesbig()

Filename: /home5/connexi2/public_html/gznightlife/lib/flea/FLEA/Dispatcher/Auth.php [127]
#3 FLEA_Dispatcher_Simple::_executeAction('pictures', 'picturesbig', 'Controller_pictures')

Filename: /home5/connexi2/public_html/gznightlife/lib/flea/FLEA.php [816]
#2 FLEA_Dispatcher_Auth::dispatching()

Filename: /home5/connexi2/public_html/gznightlife/index.php [69]
#1 FLEA::runMVC()