When I view a Brilliant Gallery page, a watchdog error is logged:
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 '1242847016 SET data = 'cache', created = 1242587816, expire = 0, headers = '', s' at line 1 query: UPDATE 1242847016 SET data = 'cache', created = 1242587816, expire = 0, headers = '', serialized = 0 WHERE cid = 'bg_ba3f26cd8dd360c4a26d8602be1fb573' in /var/www/lvs/includes/cache.inc on line 109.
Comments
Comment #1
Mark B commentedThis is due to the call to cache_set in image.php having the wrong parameters:
So the first problem is that this version of image.php with the v6.x-3.0 module has the Drupal 6 call to cache_set commented out. However, the second problem is that the Drupal 6 call to cache_set also has the wrong parameter list!
The correct call is
Comment #2
Mark B commentedComment #3
Panthrax commentedPatch works! Thanks!
Status: needs review » reviewed & tested by the community?
Comment #4
rogb commentedPatch works for me too