I get this error when the gallery block is enabled. I can still see the image, but the error appears at the top of the page.
warning: implode(): Bad arguments. in xxxxxxxx/modules/gallery.module on line 190.
I get this error when the gallery block is enabled. I can still see the image, but the error appears at the top of the page.
warning: implode(): Bad arguments. in xxxxxxxx/modules/gallery.module on line 190.
Comments
Comment #1
esskay commentedIf I comment out the line, the problem goes away in the block. But I don't know what other function I've broken.
Comment #2
kiz_0987 commentedHave you deselected all the "image data" checkboxes in the configuration page? If so, that may explain why it fails. You need at least one selected or you will get an implode error.
Comment #3
pitpit commentedline 190 replace
with
and you'll be able to deselect all image data in the Gallery Block configuration
Comment #4
pitpit commentedoups i made a mistake...
line 190 replace
with
and you'll be able to deselect all image data in the Gallery Block configuration
Comment #5
ethang commentedAfter applying that patch my gallery turns into an empty page with this error:
Parse error: parse error, unexpected T_VARIABLE in /home/crawford/public_html/modules/gallery.module on line 182
Unfortunately I can't decode the meaning of that. So I changed back to original gallery.module and I'm still getting the error:
warning: implode(): Bad arguments. in /home/crawford/public_html/modules/gallery.module on line 190
If I remove the gallery block altogether, the error dissapears and my gallery functions perfectly... what is the purpose of having the gallery block enabled?
Another question: how can I remove/disable all of the multiple headings on the gallery page? You can see on my site: ethancrawford.com/photography - All the headers ("E.C. Photography") are a waste of space. And Any idea how I can remove all the blank space between my page header and the gallery? Many thanks,
Comment #6
ethang commentedComment #7
pitpit commentedare you using the last CVS version of gallery.module ?
Comment #8
ethang commentedyes, I'm using the latest gallery.module (1.10) and the latest release of gallery (2.0).
If the gallery block is disabled my gallery appears to work just fine. If I enable it, and also select some image data types, I get an error under my main header "Unable to get Gallery image block." If I disable all the image data types, I get the "warning: implode():" error and also the "Unable to get Gallery image block" error.
I've tried a few different patches with no success, so I've kept the gallery block disabled.
Comment #9
kiz_0987 commentedHmm, do you have the "Image Block" module installed in your gallery2 installation? Does it work there when you have a random image in your sidebar?
Comment #10
ethang commentedThat did the trick- I didn't have the image block module installed. Thanks everybody.
Comment #11
pitpit commentedHi,
Do the patch work for you now ?
Comment #12
ethang commentedI installed the enhanced gallery.module, and it looks like your patch is there, but commented out... should I de-comment it? Do you have a copy of gallery.module with your patch?
Comment #13
pitpit commentedThe enhanced gallery.module contains this patch (actually it's not commented out) so you don't need to alter your new gallery.module if you installed it. And you should not have implode warning yet
Dpdev
Comment #14
pitpit commentedComment #15
(not verified) commented