Aperture -> Gallery ?

chicagopjp

Joined: 2007-01-02
Posts: 1
Posted: Tue, 2007-01-02 00:33

I am having similar trouble -- getting a 403 error with any iteration of my URL that I can think of. I love the concept of this plug-in. If I can provide any logging assistance or otherwise help to get this working, please let me know.

Happy New Year!

Login or register to post comments
Ebby

Joined: 2006-01-07
Posts: 8
Posted: Sat, 2007-01-06 07:00

Heh. I upgraded from 2.1 to 2.2RC1 and the plugin stopped working. It was great while it lasted and I look forward to the update. :)

Login or register to post comments
gazzer82

Joined: 2003-01-30
Posts: 2
Posted: Sat, 2007-01-06 14:02

Yeah same thing 403 forbidden every time i try to login to a gallery on gallery RC2.2.

Hope this can be fixed as i would love this plugin to work!!

Cheers

Gareth

Login or register to post comments
ddegner

Joined: 2006-12-19
Posts: 4
Posted: Sun, 2007-01-07 19:50

All of the work that went into making the Aperture plugin is awesome. Gallery would really open up to professional photographers if it had a plugin for Photo Mechanic. Unfortunately I don't know where to ever start making a plugin.

Login or register to post comments
skivvie

Joined: 2006-01-25
Posts: 3
Posted: Sun, 2007-01-14 07:03
khans wrote:
skivvie:

The problem you're running into is totally related to your gallery install. Looks you might be doing some url mapping (url re-writing and the sort) because

http://www.skivvies.com/photos/main.php

which is what the ApertureToGallery plugin uses to upload photos totally barfs.

(Not Found

The requested URL was not found on this server.

Apache Server at skivvies.com)

I'm running the latest 1.5.5 and there is no main.php included in the install. At least not that I can find. Am I missing something super obvious? Probably... any help appreciated.

EDIT!:
I spent all day installing and upgrading to Gallery 2, version 2.1.2, and still seem to be getting a 500 error. Will try activating the logs and see if I can get more info. Ignore until then =]

EDIT 2:
I tried removing .htaccess, still the same 500 error. I can access main.php fine. Gallery Remote has no problem logging in and uploading either. Is there any specific place to look for the error log after you've activated it? Here's what I get on the console:

2007-01-13 22:50:38.406 Aperture[12715] INFO: - (NSURL *)requestURL - request url http://www.skivvies.com/photos/main.php?g2_controller=remote:GalleryRemote&g2_form[cmd]=login
2007-01-13 22:50:38.407 Aperture[12715] INFO: - (NSDictionary *)requestDictionary - request dictionary {
    "g2_form[password]" = ********; 
    "g2_form[protocol_version]" = "2.2"; 
    "g2_form[uname]" = admin; 
}
2007-01-13 22:50:38.723 Aperture[12715] INFO: - (NSDictionary *)_parseResponseData:(NSData *)value - responseString <HTML>
<HEAD>
<TITLE>500 Internal Server Error</TITLE>
</HEAD><BODY>
<H1>Internal Server Error</H1>
The server encountered an internal error or
misconfiguration and was unable to complete
your request.<P>
Please contact the server administrator,
and inform them of the time the error occurred
and anything you might have done that may have
caused the error.<P>
More information about this error may be available
in the server error log.<P>
<HR>
<ADDRESS>
Apache Server at skivvies.com
</ADDRESS>
</BODY>
</HTML>
Login or register to post comments
elkiehound

Joined: 2005-10-31
Posts: 11
Posted: Tue, 2007-01-23 14:05

I am using the plugin and it works great, however the pictures do not upload to the server ?

Login or register to post comments
Ebby

Joined: 2006-01-07
Posts: 8
Posted: Mon, 2007-02-19 21:19

Don't know if this helps at all, but these are some errors I found in my log.
" 2007-02-19 13:02:58.010 Aperture[969] INFO: - (NSURL *)requestURL - request url http://localhost/~web/gallery2/main.php?g2_controller=remote:GalleryRemote&g2_form[cmd]=new-album
2007-02-19 13:02:58.010 Aperture[969] INFO: - (NSDictionary *)requestDictionary - request dictionary {
"g2_form[newAlbumName]" = sample;
"g2_form[newAlbumTitle]" = Sample;
"g2_form[protocol_version]" = "2.3";
"g2_form[set_albumName]" = 7;
} "

The generated error page: http://sporknet.game-server.cc/~web/Galleryerror.html

Hope that helps a bit.

Login or register to post comments
ausyonline

Joined: 2007-03-21
Posts: 3
Posted: Wed, 2007-03-21 09:10

Hi there I have been trying to get a hold of this plugin but have not been able to get to any of the listed sites for a download - any idea's on what has happened or where i can get a copy ?

Login or register to post comments
Ebby

Joined: 2006-01-07
Posts: 8
Posted: Thu, 2007-04-05 02:42

Works fine for me. You are hitting http://www.apertureplugins.com/ right?

EDIT: The download works. Plugin, not so much.

Login or register to post comments
cruaux

Joined: 2006-11-20
Posts: 5
Posted: Sun, 2007-04-08 15:33

An FYI for those having problems with the 503 error.

After I updated gallery to 2.2.1, the plugin has started working for me. Before you all rush to update to 2.2.1, though, it is possible that a server hardware change also occured for me at that time, and maybe the new server hardware has settings that now allow the plugin to work.

Login or register to post comments
SuperFLoh

Joined: 2007-04-22
Posts: 1
Posted: Sun, 2007-04-22 08:25

A quick hack to repair the Aperture export plugin:

edit modules/remote/GalleryRemote.inc

change

if (strstr($httpUserAgent, 'Gallery Remote') === false
&& strstr($httpUserAgent, 'RPT-HTTPClient') === false
&& strstr($httpUserAgent, 'iPhotoToGallery') === false) {
/* Newer GalleryRemote versions handle auth tokens */

to

if (strstr($httpUserAgent, 'Gallery Remote') === false
&& strstr($httpUserAgent, 'RPT-HTTPClient') === false
&& strstr($httpUserAgent, 'CFNetwork') === false
&& strstr($httpUserAgent, 'iPhotoToGallery') === false) {
/* Newer GalleryRemote versions handle auth tokens */

and the plugin will work again.

This forces g2 into the old mode. CFNetwork is the user-agent the plugin sends.

Regards

Flo

Login or register to post comments
purelithium

Joined: 2007-03-25
Posts: 2
Posted: Sun, 2007-04-22 21:41

The plugin doesn't work anymore, and I can't find the code you've mentioned, SuperFloh. There is no strings like that anywhere in the file you mentioned.

Login or register to post comments
Ebby

Joined: 2006-01-07
Posts: 8
Posted: Thu, 2007-05-03 02:27

YES! YES! YES! *Happy Dance*

Just found the new version on Macupdate.com and everything works again. Well, all the images (read = 1) I uploaded so far. Thanks and I will be more careful updating in the future.

Login or register to post comments
khans

Joined: 2006-10-20
Posts: 32
Posted: Thu, 2007-05-03 03:21

Ebby - glad to hear it's working out well for you :-).

I just wanted to take a moment and point out that there is now an ApertureToGallery FAQ available at

http://www.ubermind.com/products/aperturetogallery-faq.php

that contains answers / solutions to commonly asked questions /problems relating to the plug-in.

There is now an announcement mailing list that you can subscribe to to be notified everytime there is a new release of the plug-in. You can subscribe to this mailing list from the following page:

http://www.ubermind.com/products/aperturetogallery.php

Finally, users that want to see the plug-in in action without installing it (or don't have Aperture or Gallery installed) a screencast for your viewing pleasure is available at

http://www.ubermind.com/assets/video/atg_screencast.mov

Enjoy :-)

And as usual, please don't hesitate to send your comments, suggestions, and feedback to us. It will all go a long ways in improving the quality of this product.

thanks.

Login or register to post comments
ranjeetsodhi

Joined: 2004-01-24
Posts: 11
Posted: Mon, 2007-07-09 00:52

schmenzer: Did you ever figure out the reason for the "406: unacceptable" error?? I am getting the same and no amount of coaxing helps.

PS: my console.app output is listed below:

Quote:
2007-07-08 20:51:49.684 Aperture[17568] INFO - (NSURL *)requestURL - request url http://www.sodhi.org/gallery2/main.php?g2_controller=remote:GalleryRemote&g2_form[cmd]=login
2007-07-08 20:51:49.920 Aperture[17568] INFO - (NSDictionary *)_parseResponseData:(NSData *)value - responseString <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>406 Not Acceptable</TITLE>
</HEAD><BODY>
<H1>Not Acceptable</H1>
An appropriate representation of the requested resource /gallery2/main.php could not be found on this server.<P>
<HR>
<ADDRESS>Apache/1.3.37 Server at www.sodhi.org Port 80</ADDRESS>
</BODY></HTML>

Login or register to post comments
ranjeetsodhi

Joined: 2004-01-24
Posts: 11
Posted: Mon, 2007-07-09 01:26

looks like I figured out the solution to the "406" error.
I added the "SecFilterEngine Off" command to my sites .htaccess file.

Login or register to post comments
spydr

Joined: 2005-10-03
Posts: 4
Posted: Thu, 2007-07-26 13:57

I am getting internal server error (500) while I try to input my gallery address - with my new install of gallery 2.2 and 0.98.5 version of the plugin - any help please!

Login or register to post comments
lbartram

Joined: 2006-12-19
Posts: 4
Posted: Tue, 2007-10-16 12:37

Same problem here.

In the FAQ for Aperture-to-Gallery it says:

Quote:
I am receiving "Gallery Response Error: could not parse response." or "HTTP Error 500: internal server error." while using the plug-in…
Please ensure that you have enabled the "Remote" and "Upload" modules in the Gallery administration section so that the plug-in can properly communicate with your Gallery installation.

Does anyone know how to enable these modules? I see nothing at all in my Gallery administration page like this. Are "Plug-Ins" the same things as "modules?" I do see those, but the relevant controls don't appear, in any case.

I'd be grateful for any help!

Login or register to post comments
lbartram

Joined: 2006-12-19
Posts: 4
Posted: Fri, 2007-10-19 13:55

Khans:

Are you out there? I'm having a problem with the plug-in, but it worked so well for a while! Error 500: Internal Server Error. All Gallery plug-ins are running normally, including Upload and Remote. Any ideas?

Best,

Larry

Login or register to post comments
lbartram

Joined: 2006-12-19
Posts: 4
Posted: Tue, 2007-10-23 13:49

Please bump this to the top.

Login or register to post comments
khans

Joined: 2006-10-20
Posts: 32
Posted: Sun, 2007-11-18 05:49

lbartram,

can you email logging and send the trace to support at ubermind dot com please.

thanks!

Login or register to post comments
rickyvt

Joined: 2009-09-26
Posts: 1
Posted: Sat, 2009-09-26 07:37

In my new install, the gallery remote plugin is not installed by default. I had the same problem until I installed the remote plugin.

Login or register to post comments