Hi,

I want to display multiple galleries on one page and have a headline for each.

Displaying just 1 gallery works fine when with no other text what so ever, such as:
[bg|live|4|80]

If I want to add a headline like so:

Mollys 2006
[bg|live|4|80]

..or even if I have a trailing linefeed I only end up with this error message:

* warning: readdir(): supplied argument is not a valid Directory resource in /home/virtual/thematchmen.se/public_html/site/modules/brilliant_gallery/brilliant_gallery.module on line 256.
* warning: closedir(): supplied argument is not a valid Directory resource in /home/virtual/thematchmen.se/public_html/site/modules/brilliant_gallery/brilliant_gallery.module on line 262.

What am I missing?

Comments

Vacilando’s picture

Status: Active » Fixed

This is weird. I've tried to enter the bg tag in between other text in various ways (with or without spaces or empty lines around) and it always renders properly. Do you still experience this issue? If so, create a test page where this error occurs, re-open this issue and post a link here, please.

Cheers,

Tomáš

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

Deyan’s picture

I also get exactly the same thing :(

• warning: readdir(): supplied argument is not a valid Directory resource in /home/.../.../modules/brilliant_gallery/brilliant_gallery.module on line 267.
• warning: closedir(): supplied argument is not a valid Directory resource in /home/.../...modules/brilliant_gallery/brilliant_gallery.module on line 273.

none of the galleries will show in eithe firefox or IE. tried re-installing several times - no change.
I'm using the following tag ina a node; [bg|albums/students|15|45|random]

PLease Help.

Deyan’s picture

Status: Closed (fixed) » Active
Deyan’s picture

Priority: Minor » Normal
Deyan’s picture

Category: support » bug
Deyan’s picture

ok, for some completely unknown reason the gallery started to show up all at once, but there's a caching problem (my drupal cache is off), for example: i remove the module, but the gallery still shows up, or after updating the images they still show up, or after deleting image folders they still show up etc... all of this is entirely drupal stuff - my browser's cache is completely clean). the only way to bypass the problem is to disable/enable the Brilliant Gallery tag in the coresponding admin/input format. it seems the problem is from drupal - as far as i undertsand there's still caching even if the drupal admin/performance UI is set to NO caching- that's dumb.

motiejus’s picture

I am getting the same problem in page, but my pictures in block window shows nomally.

Here is an error message:

* warning: readdir(): supplied argument is not a valid Directory resource in /home/domains/.........../public_html/modules/brilliant_gallery/brilliant_gallery.module on line 277.
* warning: closedir(): supplied argument is not a valid Directory resource in /home/domains/........../public_html/modules/brilliant_gallery/brilliant_gallery.module on line 312.

Please help...

Vacilando’s picture

@Deyan, the message indicated wrong path to the gallery folder. Assuming that you set the main folder in /admin/settings/brilliant_gallery to be 'albums', you only needed to specify [bg|students|15|45|random] in your tag.

As for the caching issue - yes, Drupal still uses some kind of cache even if you don't select any caching. It may be a bug or regression - see if anybody reported it elsewhere. I agree it is not normal to have tag resolving with the relevant module being switched off. It's like the site is haunted :-)

@motiejus - again, something with the path to the gallery folder. If you still have the problem, could you post the link to the afflicted page and tell me the name of your main folder and the tag you are using.

yogitha’s picture

yeah...!
exactly i too got the above warnings
DO:
place the folder Eg:"Album" exactly under "files" pulled me out from Warnings.