Dear All
Thanks for a great module, but I have a two problems.
I get a large number of error messages, please see below.
It takes long time but after that the pictures are displayed and the lightbox works.
The second thing is that the [bg] tag doesn't work. I just see the tag on the page...
version are:
brilliant_gallery 7.x-1.0
Drupal core 7.8
Notice: Undefined offset: 1 in render_brilliant_gallery() (line 4 of /var/www/www-siamect-com/web/sites/all/modules/brilliant_gallery/gallery_showtime.inc).
Notice: Undefined index: type in drupal_write_record() (line 6787 of /var/www/www-siamect-com/web/includes/common.inc).
Notice: Undefined index: type in drupal_write_record() (line 6824 of /var/www/www-siamect-com/web/includes/common.inc).
Notice: Undefined index: type in drupal_write_record() (line 6824 of /var/www/www-siamect-com/web/includes/common.inc).
Notice: Undefined index: type in drupal_write_record() (line 6827 of /var/www/www-siamect-com/web/includes/common.inc).
Notice: Undefined index: type in drupal_write_record() (line 6787 of /var/www/www-siamect-com/web/includes/common.inc).
Notice: Undefined index: type in drupal_write_record() (line 6824 of /var/www/www-siamect-com/web/includes/common.inc).
Notice: Undefined index: typ
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | brilliant_gallery_7.x-1.x-dev_patched.zip | 38.48 KB | noizo |
| #6 | patch for brilliant_gallery.patch | 2.21 KB | hai nguyen |
| #4 | articledisplay.jpg | 267.24 KB | msutter |
Comments
Comment #1
vacilando commentedThe offset issue was fixed later in 7.x-1.x-dev; please install that version and let us know if any problems remain.
As for the [bg|...] tag -- did you allow the BG tag to run for the text format you use? Go to Configuration -> Content authoring -> Text formats, select a format you want to recognize the BG tag, enable the corresponding filter.
Comment #2
hudson.graham commentedI've just installed the brilliant_gallery 7.x-1.x-dev version (on Drupal core 7.8) and am still getting the offset issue.
Notice: Undefined index: type in drupal_write_record() (line 6787 of C:\wamp\www\hudson\includes\common.inc).
Notice: Undefined index: type in drupal_write_record() (line 6824 of C:\wamp\www\hudson\includes\common.inc).
Notice: Undefined index: type in drupal_write_record() (line 6824 of C:\wamp\www\hudson\includes\common.inc).
Notice: Undefined index: type in drupal_write_record() (line 6827 of C:\wamp\www\hudson\includes\common.inc).
etc.
Comment #3
Birous commentedHudson and Vacilando (sorry for the bad english 'cause I'm from Brazil),
I was getting the same errors as Hudson's, besides my gallery won't show. So I checked my log and there was this message: No displayable images in /galeria/galeria!
But I had just one main folder (named "galeria"). And BG was searching for my pics under a unexisting folder (galeria/galeria). So I erased Brilliant Gallery main folder field, letting it blank (at /admin/config/brilliant_gallery/settings), and it worked! It now shows my gallery, but I have no idea why BG was searching in the wrong (and inexisting) folder.
Did it create this wrong reference?
Comment #4
msutter commentedHi Guys,
I have the same issue described by Hudson. Running on Drupal 7.7
I have 1st tried the stable version of Brilliant Gallery and upgraded to the dev version following this post but to no avail.
Here's the output when i select Admin/configuration/brilliant gallery/manage galleries:
Notice: Undefined index: type in drupal_write_record() (line 6817 of /var/www/html/includes/common.inc).
Notice: Undefined index: type in drupal_write_record() (line 6817 of /var/www/html/includes/common.inc).
Notice: Undefined index: type in drupal_write_record() (line 6820 of /var/www/html/includes/common.inc).
Notice: Undefined index: type in drupal_write_record() (line 6780 of /var/www/html/includes/common.inc).
Notice: Undefined index: type in drupal_write_record() (line 6817 of /var/www/html/includes/common.inc).
Attached is a screenshot of the result of the bg tag in an article
Cheers,
Marc
Comment #5
hudson.graham commentedI found that this is only happening when the BG gallery is being viewed the first time, when it does the caching of the thumbs and the large image. What I have done for the moment, is view the gallery and popup each thumb and get the errors as an Admin before I released the page to the public...
Not really ideal thought. When you clear the Drupal cache, you have to view them all again.
This needs to be looked at Vacilando. Let me know if I can supply any more details or logs to help you out.
P.S. My site using BG here http://www.crayongroup.com/hudson it's sweet when it's not displaying errors.
Cheers
h
Comment #6
hai nguyen commentedI've just fixed this bug temporarily by this patch (in 7.x-1.x-dev). To use it, please disable and uninstall brilliant_gallery first, after that apply this patch and install again.
Regards,
HaiNN
Comment #7
chefbrody commentedhi I've the same issue... I've tried the patch but it doesn't seems to work...
Comment #8
hai nguyen commentedDear chefbrody,
I've checked my patch again and it's ok. I'd like to list the step by step that you need to do when use it:
- step 1: make sure you're using brilliant Gallery version 7.x-1.x-dev
- step 2: disable module brilliant_gallery in your website
- step 3: uninstall this module (I'll explain the reason later) (to make sure everything'll be ok, please open your database and make sure brilliant_gallery_image_arrays table was removed.)
- step 4: apply patch
- step 5: install brilliant_gallery again
The problem happens because the author uses 'datetime' in table "brilliant_gallery_image_arrays", 'datetime' is a 'mysql_type', not 'type', so when Drupal core checks field 'type' in the scheme and it doesn't exist. What I did in this patch only change from using 'datetime' to 'int' in that table (as I've talked, it's only my temporarily solution when waiting for the author upgrade it)
Regards,
HaiNN
Comment #9
noizo commentedI have applied patch and it worked like a charm!
Thank You hai.nguyen.
I have uploaded patched brilliant gallery module.
If anyone have problems with patching, go ahead, and download already patched one.
If it is not legal to post patched files, please inform me, i will delete/edit this message/file.
Regards
noizo
edit:
when i have uploaded new pictures, i have received an error
when i was clearing cache i have received an error
but all those error are in admin side at least.
Notice: Undefined index: imgcrop в функции resizeimage_wrapper_dbcache() (строка 379 в файле /domains/coffeeceremony.ru/public_html/sites/all/modules/brilliant_gallery/functions.inc).Comment #10
cascadianow commentedHad the same issues as those above. Just wanted to say patched version works like a charm for me as well. Thanks!
Comment #11
nicholsonma commentedIgnore the problem below. It was caused by pilot error and is solved. I finally figured out that since I was using Filtered HTML as the text format and I hadn't modified it to allow img tags that they were probably being filtered away. I switched to Full HTML and now my images appear! I'm leaving this in case it helps someone else.
----------------------------------------
I was having this problem and reinstalled using the patched module in #9 and the error has gone away but I can't get any images to display. I just see bullets on the web page and the html looks like the following:
I'm pulling the images from picasa and that seems to work fine as you can click on the href link above and the image displays. I would appreciate any help. I've tried changing various BG and Lightbox settings but to no avail.
Mark
Comment #12
LdyMox commenteddrupal_write_record() a whole bunch also as others describe
Comment #13
shany972 commentedHello,
I installed the Brilliant Gallery (brilliant_gallery_7.x-1.x-dev_patched.zip) and the Lightbox2 module.
Everything works great.
The only problem is that when I uplaud a file larger than 2 MB, the picture does not appear in the Manage Gallery.
I have the file name but no picture.
The following error is reported:
Notice : Undefined index: imgcrop dans resizeimage_wrapper_dbcache() (ligne 379 dans /X/X/X/X/X/sites/all/modules/brilliant_gallery/functions.inc).
What could be the problem?, Is it because my file is too big!?
Comment #15
vacilando commentedAdjusting title and other properties.
Comment #16
vacilando commentedThe "Undefined index: type in drupal_write_record()" errors are caused by a Drupal core bug #998632: drupal_write_record() throws PHP notices if any fields use DB-specific data types. (There is a working patch there, help to get it committed!)
I have now applied a quick fix to Brilliant gallery to make this a non-issue... the errors are now gone.
Comment #17
vacilando commented