Module: Gallery Remote Protocol 2
deadrich
Joined: 2012-08-03
Posts: 1 |
![]() |
Greetings, Followed the instructions to patch cookies.php and .htaccess, but still having the "no protocol implementation" message. Output of GalleryRemoteLog.txt 23170|TRACE|GalComm |Trying protocol 2.5 for http://www.wrestlinwally.com/gallery3/ Output of http://www.wrestlinwally.com/gallery3/gallery_remote2.php #__GR2PROTO__ status=104 status_text= Output of http://www.wrestlinwally.com/gallery3/main.php 404 Error Gallery3/.htaccess This is Wordpress site with an older Gallery install as well. In Gallery/.haccess I have <IfModule mod_rewrite.c> Any help is much appreciated! |
|
the0ne
![]()
Joined: 2011-05-02
Posts: 83 |
![]() |
hi deadrich! the output of http://www.wrestlinwally.com/gallery3/gallery_remote2.php looks perfekt! br, |
|
the0ne
![]()
Joined: 2011-05-02
Posts: 83 |
![]() |
bkn
Joined: 2012-08-23
Posts: 2 |
![]() |
Hi -- I am trying to update a gallery remote client to current protocols using your module as the server side. I am confused on the protocol version. Your server reports its using protocol version 2.15, but your server rejects anything using protocol version < 2.3 (which includes 2.15). Is this a bug, since numerically 2.15 < 2.3; however chronologically, 2.15 is more recent than 2.3? thanks, |
|
the0ne
![]()
Joined: 2011-05-02
Posts: 83 |
![]() |
hi bkn! thanks for pointing that out - the module has been updated to correctly identify the client protocol version number. br, |
|
bkn
Joined: 2012-08-23
Posts: 2 |
![]() |
cool beans. thanks. |
|
DancesWithWords
Joined: 2006-09-01
Posts: 31 |
![]() |
Is there instructions on how to do the diff thing? I see that your patch directory has some patch. Though I've been using linux since 1998, I've never need to use diff. Also I didn't find clear instructions on how to get this working. I was trying to get is work with Digikam which is a photo organizing software for KDE. So far I'm have less then fun with Gallery3. I've 9000 plus images but I can't more than 6104 to upload. But that is another story which include pooching my gallery2 installtion. Thankfully the data and db are still intact. Thanks for your help in advance. === |
|
CalgarySteve
Joined: 2012-01-11
Posts: 21 |
![]() |
Hi, I wouldn't use Gallery Remote for that large of an upload as you need to create all the albums manually, and one corrupt image in the middle of the upload can cause it to fail... I've been where you are and it's frustrating! Were you aware of the "Gallery 2 Import" module for G3? http://codex.gallery2.org/Gallery3:Modules:g2_import I guess it depends on how pooched your g2 installation is, but it should be fairly straightforward to re-install G2 and point it at the existing DB & photos.. I guess it depends on how many albums you have... Have you considered the "Server Add" module? You can point it at a directory structure and it will create albums based on the hierachy of the directory names.. eg: 2009/Skiing Would create an album 2009 with 2 albums inside it called "Skiing" and "Climbing". Good luck, Cheers, |
|
DancesWithWords
Joined: 2006-09-01
Posts: 31 |
![]() |
Thanks for the note. The reason I asked about the remote options was it was the gallery_2_import plugin that failed on me. How do I determine with picture is the source of my problem? The add server module would require me to setup nfs or samba. Something I've forgotten how to do? Guess that will have to change. |
|
the0ne
![]()
Joined: 2011-05-02
Posts: 83 |
![]() |
hi dww! no need to use diff and/or patch as it's only about modifying two files: actually the modification in modules/gallery/config/cookie.php is only necessary if you use the "GalleryRemote" java client which you do not seem to plan. br, |
|
DancesWithWords
Joined: 2006-09-01
Posts: 31 |
![]() |
K, will go ahead and make those modifications. I'll posts and let you know how things go. |
|
WidowMakerSB
Joined: 2013-06-21
Posts: 1 |
![]() |
I used GR for a long time on my G2 installation. Currently I'm migrating to a new server and decided to try out G3 and this module. I was struggling with a lot of the issues that other folks ran into and found the server logs to obviously be the most helpful. At first I kept getting 404 page errors basically. FOR MY INSTALLATION (YMMV), the RewriteBase command did not seem to be working quite as I would expect. I don't know why. Basically, my Apache redirect was going to my absolute root folder to look for index.php. So i had to modify the line: to instead say: This fixed my issue and I just wanted to post as I'm sure there are several others that have run into it. I'm not sure why RewriteBase isn't automatically correcting it. I am trying out HostGator right now as the server, so maybe it has something to do with different versions of Apache. |
|
AnneFTL
Joined: 2004-07-01
Posts: 46 |
![]() |
I have patched $config['httponly'] = false; I have patched .htaccess as follows; I have changed gallery to gallery3 to reflect my usage after trying the .htaccess rewrite rule patch, I tried adding the complete url in the .htaccess rewrite rule as suggested by a user; I tested each changes as you suggested by "theone" in the forum by.... Could someone give me some idea of what I may have failed to do to make this work? |
|
jnash
![]()
Joined: 2004-08-02
Posts: 814 |
![]() |
Have you tried this? RewriteBase /gallery3 RewriteRule ^gallery_remote2.php(.*)$ index.php?kohana_uri=/gallery_remote$1 [QSA,PT,L] I did a number of modifications on mine, so this may not be 'the fix', but another opportunity to try... |
|
AnneFTL
Joined: 2004-07-01
Posts: 46 |
![]() |
Yes .. The 2nd line looks like the original patch line which did not work, and yes I removed the slash after gallery3.. no luck... thanks for the thought, Anne |
|
AnneFTL
Joined: 2004-07-01
Posts: 46 |
![]() |
Can anyone help? I have tried everything I can imagine within my knowledge to get this module to work. |
|
the0ne
![]()
Joined: 2011-05-02
Posts: 83 |
![]() |
hi AnneFTL, if your gallery is located in ambeach.com/Annica/gallery3/ you should use Quote:
<IfModule mod_rewrite.c> br, |
|