Does Gallery Markup work with Gallery2?

Creating and modifying plugins.
Post Reply
manchild
Posts: 2
Joined: Sat Aug 05, 2006 11:47 pm

Does Gallery Markup work with Gallery2?

Post 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/
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post 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.
Judebert
---
Website | Wishlist | PayPal
manchild
Posts: 2
Joined: Sat Aug 05, 2006 11:47 pm

Post 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
tetlowgm
Posts: 1
Joined: Sun Aug 27, 2006 4:36 am

Post by tetlowgm »

I'm also having this same issue.

I'm using Gallery 2.1.2 in multisite mode.
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post 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.
Judebert
---
Website | Wishlist | PayPal
Post Reply