Page 1 of 1
Does Gallery Markup work with Gallery2?
Posted: Sat Aug 05, 2006 11:58 pm
by manchild
Can anyone tell me if the
Markup: Gallery Image plugin works with Gallery2 when the albums directory is outside of the web root? I keep getting this error:
Code: Select all
Fatal error: Call to a member function isError() on a non-object in /home/myusername/www/words/plugins/serendipity_event_galleryimage/serendipity_event_galleryimage.php on line 540
What should go in the
URL of the Gallery album directory field?
My site is setup like this:
web root
/home/myusername/www/
serendipity
/home/myusername/www/words/
gallery2
/home/myusername/www/g/
gallery2 data & albums
/home/myusername/g_g2data/albums/
Posted: Tue Aug 08, 2006 3:48 pm
by judebert
The comments in version 1.7 indicate that it supports Gallery2.
That line is trying to verify that Gallery initialized properly. It checks to make sure that an embed.php in the Gallery directory created a class called GalleryEmbed, so it sounds like the embed.php is there.
Perhaps there's a problem with the embed file? This is what I would expect if the class was declared, but didn't actually do anything.
Posted: Tue Aug 08, 2006 4:35 pm
by manchild
judebert wrote:Perhaps there's a problem with the embed file? This is what I would expect if the class was declared, but didn't actually do anything.
Any ideas on what I should try looking for? I don't know where to go from here.
Thanks
Posted: Sun Aug 27, 2006 4:43 am
by tetlowgm
I'm also having this same issue.
I'm using Gallery 2.1.2 in multisite mode.
Posted: Mon Aug 28, 2006 10:56 pm
by judebert
Sorry I've been gone so long. I'm skipping between disasters faster than a guardian angel on Friday the 13th.
Any ideas on what I should try looking for? I don't know where to go from here.
Again, sorry. I'd go to the gallery2 directory and find the embed.php. Then I'd search through it for an "isError" function.
Unfortunately, I don't use any of the Gallery scripts, so I can't test them myself. Maybe the plugin author can help a little farther. Until then, I can only give you my hunch: the "URL of Gallery directory" field should probably be set to /home/myusername/g_g2data/albums/.
Although the URL thing throws me off and makes me think differently. Perhaps it wants
http://yourdomain/g/gallery.php?album=myalbum or whatever brings up a particular album.