block zoom image

Permalink
Hi all,
first i would like to thank you guys for developing such a great cms. i have tried many others before but concrete is the one!

Anyway i have installed various blocks and the all work without any problem, except the block zoom image.

I can add one picture to it, but when i try to edit the zoom image to add a new pic i get this error message:

Fatal error: Call to undefined method LibraryFileBlockController::isError() in /is/htdocs/wp1062413_RZ0ZQOZ3U4/www/con/concrete/helpers/concrete/asset_library.php on line 36

does anyone has an idea what could be wrong?
I tried to download the newer version available at the marketplace but then i get this error message:

An unexpected error occurred.
A database error occurred while processing this request.

Any help is appreciated. Thanks

alemao
 
stoneyard replied on at Permalink Reply
stoneyard
If I leave the thumbnail sizes blank.

Fatal error: Uncaught exception 'ADODB_Exception' with message '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 'thumbnailHeight= WHERE bID=562' at line 1] in EXECUTE("UPDATE btZoomImage SET fID=184,altText='Rustic Natural New England Fieldstone Wall',thumbnailWidth=,thumbnailHeight= WHERE bID=562") ' in /usr/local/share/concrete5/concrete5.3.1.1/concrete/libraries/3rdparty/adodb/adodb-exceptions.inc.php:78 Stack trace: #0 /usr/local/share/concrete5/concrete5.3.1.1/concrete/libraries/3rdparty/adodb/adodb.inc.php(1042): adodb_throw('mysql', 'EXECUTE', 1064, 'You have an err...', 'UPDATE btZoomIm...', false, Object(ADODB_mysql)) #1 /usr/local/share/concrete5/concrete5.3.1.1/concrete/libraries/3rdparty/adodb/adodb.inc.php(1017): ADOConnection->_Execute('UPDATE btZoomIm...', false) #2 /usr/local/share/concrete5/concrete5.3.1.1/concrete/libraries/3rdparty/adodb/adodb-lib.inc.php(174): ADOConnection->Execute('UPDATE btZoomI in /usr/local/share/concrete5/concrete5.3.1.1/concrete/libraries/3rdparty/adodb/adodb-exceptions.inc.php on line 78
Tony replied on at Permalink Reply
Tony
looks like these thumbnail sizes just need an intval() run on them before being inserted into the database.

(the error above is probably something completely different)