this is what is get when i try to use Brilliant gallery......
warning: readdir(): supplied argument is not a valid Directory resource in /Library/WebServer/Documents/drupal-5/sites/default/modules/brilliant_gallery/brilliant_gallery.module on line 706.
Comments
Comment #1
baranek77 commentedi have the same problem anyone can help?
Comment #2
mpmikucki commentedI have encountered this problem as well. With a little digging, here is a workaround that works for me.
BACKGROUND
--------------------
MyFileSystemFolder points to:
MyDrupalInstallFolder/Sites/my.subdomain.com/files
When I first encountered this problem, MyBGFolder (BG = Brilliant Gallery) was pointing to:
MyFileSystemFolder/images/Albums
and my pictures were stored in:
MyBGFolder/Album1
MyBGFolder/Album 2
MyBGFolder/Album 3
When I went to the BG manage page, I could see all of my album folders. However, when I tried to use the BG tag to point to one of my album folders in a node I got the error on line 706 described above. The tag I used was:
[bg|Albums/Album1]
I tried a lot of other ways to point to the album, none of them worked.
WORKAROUND
-------------------
Moved folders Album1, Album2, and Album3 up one level to:
MyFileSystemFolder/images
Changed MyBGFolder to:
MyFileSystemFolder/images
Adjusted the BG tag in the node accordingly:
[bg|Album1]
Now it all seems to work fine. Looks like it could be some kind bug in the directory parsing logic.
Please respond if this fix works for you. I imagine the devs would like to know.
Comment #3
ericinwisconsin commentedThis appears to be nothing more than a documentation error. I managed to get it working thus:
According to the documentation, when you set the path to your main gallery in admin/settings/brilliant_gallery, you would set it to something like "albums".
Now, if you want to access folder files/albums/album1, you would logically add this code:
[bg|files/albums/album1]
HOWEVER...
The module assumes files/albums is already in the path, so you would actually enter this:
[bg|album1]
I fought with it and found this by trial and error. Works like a charm for me.
Thanks for the great module. I love it!