Page Versioning and ADOdb exception
PermalinkException Occurred: /home/hoteland/public_html/new/concrete/libraries/3rdparty/adodb/adodb-exceptions.inc.php:78 mysql error: [1064: 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 'LIMIT 1' at line 1] in EXECUTE("SELECT fvFilename FROM FileVersions WHERE fID=3 AND fvID= LIMIT 1")
(1064)
#0 /home/hoteland/public_html/new/concrete/libraries/3rdparty/adodb/adodb.inc.php(1037): adodb_throw('mysql', 'EXECUTE', 1064, 'You have an err...', 'SELECT fvFilena...', false, Object(ADODB_mysql))
#1 /home/hoteland/public_html/new/concrete/libraries/3rdparty/adodb/adodb.inc.php(1012): ADOConnection->_Execute('SELECT fvFilena...', false)
#2 /home/hoteland/public_html/new/concrete/libraries/3rdparty/adodb/drivers/adodb-mysql.inc.php(497): ADOConnection->Execute('SELECT fvFilena...', false)
#3 /home/hoteland/public_html/new/concrete/libraries/3rdparty/adodb/drivers/adodb-mysql.inc.php(162): ADODB_mysql->SelectLimit('SELECT fvFilena...', 1, -1, false)
#4 /home/hoteland/public_html/new/packages/cu3er/blocks/cu3er/controller.php(519): ADODB_mysql->GetOne('SELECT fvFilena...')
#5 /home/hoteland/public_html/new/packages/cu3er/blocks/cu3er/controller.php(146): Cu3erBlockController->pathfromfileid('3')
#6 /home/hoteland/public_html/new/packages/cu3er/blocks/cu3er/controller.php(207): Cu3erBlockController->loadBlockInformation()
#7 [internal function]: Cu3erBlockController->view()
#8 /home/hoteland/public_html/new/concrete/core/libraries/controller.php(224): call_user_func_array(Array, Array)
#9 /home/hoteland/public_html/new/concrete/core/libraries/block_controller.php(474): Concrete5_Library_Controller->runTask('view', Array)
#10 /home/hoteland/public_html/new/concrete/core/libraries/block_view.php(212): Concrete5_Library_BlockController->setupAndRun('view')
#11 /home/hoteland/public_html/new/concrete/core/models/area.php(642): Concrete5_Library_BlockView->render(Object(Block))
#12 /home/hoteland/public_html/new/themes/greek_hotel1/elements/header.php(44): Concrete5_Model_Area->display(Object(Page))
#13 /home/hoteland/public_html/new/concrete/core/libraries/view.php(447): include('/home/hoteland/...')
#14 /home/hoteland/public_html/new/themes/greek_hotel1/full.php(3): Concrete5_Library_View->inc('elements/header...')
#15 /home/hoteland/public_html/new/concrete/core/libraries/view.php(929): include('/home/hoteland/...')
#16 /home/hoteland/public_html/new/concrete/dispatcher.php(258): Concrete5_Library_View->render(Object(Page))
#17 /home/hoteland/public_html/new/index.php(2): require('/home/hoteland/...')
#18 {main}
Have a look on line if its something I miss:http://www.hotelandreas.com/new...
Rony
Rony
Rony