Help - Search - Members - Calendar
Full Version: Stopdesign Photogallery Plugin
Movable Type Community Forum > Additional Resources > Plugin Development and Usage
drz
i've downloaded the photogallery plugin, unzipped, and uploaded to my web server. i have the links to 'create photo gallery' and 'upload to photo gallery' from my main menu, but whenever i click either link i get the following error:

An error occurred:

Unknown action create;from=blog_home;blog_id=1

Any ideas on what needs to be done to resolve this?

thanks
dgs
Did you set permissions on 'gallery.cgi' to 755? That step is less than clear on the install instructions and tripped me up as well. It's in the plugins/photogallery folder, I think.
123456
QUOTE (dgs @ Jul 9 2006, 04:21 PM) *
Did you set permissions on 'gallery.cgi' to 755? That step is less than clear on the install instructions and tripped me up as well. It's in the plugins/photogallery folder, I think.


gallery.cgi has 755 set but this error appears for me.

CODE
Unknown action createfrom=blog_home
rweales
At least you've got the menu choices.

In "System Overview" > "Plugins" it now shows "Plugin Set: PhotoGallery", with about 16 photo gallery plugins, that weren't there before, all enabled, however I see no links for creating or uploading as per the usage instructions...

My gallery.cgi is also 755. sad.gif

I've been trying to get this thing to work for a few days now and it's really been non-cooperative.



QUOTE (drz @ Feb 28 2006, 05:33 AM) *
i've downloaded the photogallery plugin, unzipped, and uploaded to my web server. i have the links to 'create photo gallery' and 'upload to photo gallery' from my main menu, but whenever i click either link i get the following error:

An error occurred:

Unknown action create;from=blog_home;blog_id=1

Any ideas on what needs to be done to resolve this?

thanks

123456
QUOTE (rweales @ Jun 13 2008, 11:42 AM) *
At least you've got the menu choices.

In "System Overview" > "Plugins" it now shows "Plugin Set: PhotoGallery", with about 16 photo gallery plugins, that weren't there before, all enabled, however I see no links for creating or uploading as per the usage instructions...

My gallery.cgi is also 755. sad.gif

I've been trying to get this thing to work for a few days now and it's really been non-cooperative.



the new gallery button should be on the main page for your blog in the bottom right corner in a section called "Plugin Actions".
dgs
Last I checked (it's been a while), the instructions on the Photogallery (PG) site were related to PG 1.7 for MT 3.x. I'm not sure if the usage has changed with the beta of version 2.0 for MT4.x or not, I've not yet installed it. It could be that they are now out of date.
123456
QUOTE (dgs @ Jun 13 2008, 11:58 AM) *
Last I checked (it's been a while), the instructions on the Photogallery (PG) site were related to PG 1.7 for MT 3.x. I'm not sure if the usage has changed with the beta of version 2.0 for MT4.x or not, I've not yet installed it. It could be that they are now out of date.


I'm running 3.34
123456
It looks like the links in the "Plugin Actions" are malformed.

this: gallery.cgi?__mode=createfrom=blog_home

should be: gallery.cgi?__mode=create&from=blog_home

etc

Changing the URL by hand fixed it.

Is this a template issue? Where would I fix this for good?
123456
Got it.

In PhotoGallery.pl

Changed:
MT->add_plugin_action('blog','gallery.cgi?__mode=create',"Create Photo Gallery");
MT->add_plugin_action('blog','gallery.cgi?__mode=upload',"Upload Photo to Gallery");

To:
MT->add_plugin_action('blog','gallery.cgi?__mode=create&',"Create Photo Gallery");
MT->add_plugin_action('blog','gallery.cgi?__mode=upload&',"Upload Photo to Gallery");

Seems to work. Cheers smile.gif
L7 Productions
I'm getting all sorts of errors after attempting to install this plugin.

QUOTE
Warning: include() [function.include]: Unable to access ../galleryinfo.php in /home/vhome/radio/wbiw.com/events/photos/archives/gallery/p9061013jpg_2.php on line 5

Warning: include(../galleryinfo.php) [function.include]: failed to open stream: Invalid argument in /home/vhome/radio/wbiw.com/events/photos/archives/gallery/p9061013jpg_2.php on line 5

Warning: include() [function.include]: Failed opening '../galleryinfo.php' for inclusion (include_path='.:/usr/local/share/pear') in /home/vhome/radio/wbiw.com/events/photos/archives/gallery/p9061013jpg_2.php on line 5


Also...

QUOTE
Warning: include() [function.include]: Unable to access /home/vhome/radio/wbiw.com/update/mt-static/plugins/PhotoGallery/meta/templates/modules/mod_footer.html in /home/vhome/radio/wbiw.com/events/photos/galleries/index.php on line 40

Warning: include(/home/vhome/radio/wbiw.com/update/mt-static/plugins/PhotoGallery/meta/templates/modules/mod_footer.html) [function.include]: failed to open stream: No such file or directory in /home/vhome/radio/wbiw.com/events/photos/galleries/index.php on line 40

Warning: include() [function.include]: Failed opening '/home/vhome/radio/wbiw.com/update/mt-static/plugins/PhotoGallery/meta/templates/modules/mod_footer.html' for inclusion (include_path='.:/usr/local/share/pear') in /home/vhome/radio/wbiw.com/events/photos/galleries/index.php on line 40


Can anyone push me in the right direction?
KKTroxs
I'm in the same boat as rweales above. I unzipped and added to appropriate directories. When I go to system overview I see my Photo Gallery 2.0 plugin there and enabled.

When I go to tools>plugins OR just 'plugins' under the Handy Shortcuts menu to the right of a blog entry page (or blog stats page) I don't see my Photo Gallery plugin, just a few others.

Since the install/usage guides online seem to be for MT 3, i'm not figuring out how to tap into this. I see no links anywhere to utilize it. Any help???
KKTroxs
Ah. I found this link: http://www.majordojo.com/2008/02/stop-desi...ble-type-41.php

Download 2.0, IGNORE THE INSTALL INSTRUCTIONS past where you add the files to the right directories, then follow 4 and 5 from the above link and you're up and running.

These sites are making this much harder than it needs to be.

I'm creating albums and uploading images fine, but when I try to view them through the MT interface I'm getting the 500 error. Permissions seem to be correct... I'm wondering if you're supposed to add an include template to this blog as well, but maybe I'm getting ahead of myself... Need to solve the 500 error first.
dgs
Actually, there's a 2.01 version here. Not sure if that helps your issues or not.

KKTroxs
QUOTE (dgs @ Sep 13 2008, 07:03 AM) *
Actually, there's a 2.01 version here. Not sure if that helps your issues or not.



Thanks, i'm going to install that now. This Dojo Nerd needs to clean up his posts. There's no clear entrances into a trail (that I've seen) and it's causing confusion and wasted time.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.