Hi,

When I try to set Path to Gallery, Path Alias, Title of Gallery I get this error message;

Fatal error: Call to a member function getFolder() on a non-object in /home7/tourist3/public_html/apartmentinriocom/modules/fast_gallery/storageengine/default.storage.inc on line 158

I set all fields to "gallery" as I have created a folder called gallery under the root.

Can anyone please help me out?

Thank you!

Isak

Comments

rapsli’s picture

try putting the gallery in the drupal sites/default/files folder. Does this work? What do you mean be "root" root of the OS or root of drupal.

prisonbreaker82’s picture

Hi Rapsli,

I have this as Path to Gallery in this folder I have two photos.

/home7/tourist3/public_html/apartmentinriocom/sites/default/files/gallery/
under there I have
I have this path to the Fast Gallery
http://www.touristinbrazil.com/apartmentinriocom/fast-gallery

As you can see it does not appear any gallery and I still get the same error, as before if I save the settings in Fast Gallery view.

Do you think you have any solution?

Isak

rayvan’s picture

Same error here. What is directory path to field expecting?

Also, your readme.txt is incorrect, for D6 at least, swap line 29:
2. Go to admin/config/fast_gallery/general and set up at least one
for
2. Go to admin/settings/fast_gallery/general and set up at least one

prisonbreaker82’s picture

I changed to CCK with Image Fupload, less bugs, but thank you for the support.

rapsli’s picture

Status: Active » Postponed (maintainer needs more info)

Is anybody still having this issue?

jvandervort’s picture

I got this same error when I entered the full path to the gallery folder:

/home/www/sites/default/files/gallery

when I changed it to

sites/default/files/gallery

everything worked.

rayvan’s picture

Issue still happening for me...Even after doing as the guy above.

Here is some info from phpinfo(); --hopefully its environmental and will help you figure.

PHP 5.2.5
System Linux
Server API CGI
Virtual Directory Support disabled
PHP API 20041225
PHP Extension 20060613
Zend Extension 220060519
Debug Build no
Thread Safety disabled
Zend Memory Manager enabled

I realize that may be too vague so let me know if you need more out of that info page.

rapsli’s picture

it's not a server setting problem I would believe. It seems to be more of a problem of crawling through the folders ...

JimRound’s picture

Hi,

I've just hit this issue and had a little play. I managed to get it working so long as the directory pointed to in "Path to gallery" had at least 1 subdirectory. If it had no subdirectories I got the getFolder error.

Hope that helps someone else out!

Cheers

Jim

Morn’s picture

#9 worked for me

jjancel’s picture

Hi
I have the same problem with
PHP Version 5.1.3RC4-dev
Two access to my supplier (Iliad - Free) for the fast_gallery folder images :
/mnt/166/sda/2/c/airaile/sites/files/fast_gallery/images/
sites/files/fast_gallery/images/
And the same error ?
Call to a member function getFolder() on a non-object in ... modules/fast_gallery/storageengine/default.storage.inc on line 158
what to do ?
Locally, with MoWeS II and PHP5.2, run without problems
thank you