I installed/updated to 6x-2.2 and none of the thumbnails show. I tried using the direct URL from the generated html output, and I get this error:
URL:
ttp://www.site.xxx/media/sites/all/modules/brilliant_gallery/image.php?imgp=L2...
Warning: 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 '1231861086 SET data = 'cache', created = 1231601886, expire = 0, headers = '', s' at line 1 query: UPDATE 1231861086 SET data = 'cache', created = 1231601886, expire = 0, headers = '', serialized = 0 WHERE cid = 'bg_dc8257f9b799013a1c2dec1c0a6feab0' in /home4/oneonefi/public_html/media/includes/database.mysqli.inc on line 128
Warning: Cannot modify header information - headers already sent by (output started at /home4/oneonefi/public_html/media/includes/database.mysqli.inc:128) in /home4/oneonefi/public_html/media/sites/all/modules/brilliant_gallery/image.php on line 42
(and then there's a lot of binary looking data that I think is the jpeg thumbnail)
If I base64_decode the string above, the path comes out correctly (at least it looks correct).
Comments
Comment #1
drpchris commentedSeems I'm having the same problem as in: http://drupal.org/node/356459
Comment #2
AlexisWilke commentedI have the fix guys.
I'm not too sure why we got a version 2.2 that does not work at all... 8-)
The cache_set() needs to be used as follow:
Version 2.2 has the $my_data at the end instead.
The cache handling between 5.x and 6.x has changed in that regard.
Thank you.
Alexis Wilke