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,
- bkn
the0ne
Joined: 2011-05-02
Posts: 83
Posted: Sat, 2012-08-25 07:41
hi bkn!
thanks for pointing that out - the module has been updated to correctly identify the client protocol version number.
in case of any protocol version mismatch it will now also output a message stating the required and the actual client protocol version number.
br,
the0ne
bkn
Joined: 2012-08-23
Posts: 2
Posted: Mon, 2012-08-27 14:11
cool beans. thanks.
DancesWithWords
Joined: 2006-09-01
Posts: 31
Posted: Sat, 2012-09-22 01:58
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.
===
DWW
CalgarySteve
Joined: 2012-01-11
Posts: 21
Posted: Sat, 2012-09-22 12:22
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?
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
2009/Climbing
Would create an album 2009 with 2 albums inside it called "Skiing" and "Climbing".
Good luck,
Cheers,
Steve
DancesWithWords
Joined: 2006-09-01
Posts: 31
Posted: Sun, 2012-09-23 17:10
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
Posted: Sun, 2012-09-23 17:51
hi dww!
no need to use diff and/or patch as it's only about modifying two files:
modules/gallery/config/cookie.php
and .htaccess
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.
both of the changes are shown in the g3 admin interface at [Admin] -> [Modules] -> Gallery Remote.
br,
the0ne
DancesWithWords
Joined: 2006-09-01
Posts: 31
Posted: Sun, 2012-09-23 18:06
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
Posted: Fri, 2013-06-21 15:47
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:
RewriteRule ^gallery_remote2.php(.*)$ index.php?kohana_uri=/gallery_remote$1 [QSA,PT,L]
to instead say:
RewriteRule ^gallery_remote2.php(.*)$ /domain.com/gallery3/index.php?kohana_uri=/gallery_remote$1 [QSA,PT,L]
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
Posted: Wed, 2013-08-07 18:27
I have patched $config['httponly'] = false;
I have patched .htaccess as follows;
I have changed gallery to gallery3 to reflect my usage
RewriteBase /gallery3/
after trying the .htaccess rewrite rule patch, I tried adding the complete url in the .htaccess rewrite rule as suggested by a user;
RewriteRule ^gallery_remote2.php(.*)$ ambeach.com/Annica/gallery3/index.php?kohana_uri=/gallery_remote$1 [QSA,PT,L]
I tested each changes as you suggested by "theone" in the forum by....
browsing to ambeach.com/Annica/gallery3/ This brings up the correct web page
browsing to ambeach.com/Annica/gallery3/gallery_remote2.php This gives a 404 page
Could someone give me some idea of what I may have failed to do to make this work?
Thanks, Anne
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
Posted: Wed, 2013-08-07 21:43
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
Posted: Thu, 2013-08-08 02:56
Can anyone help? I have tried everything I can imagine within my knowledge to get this module to work.
I can make things a lot worse.. , but I can't seem to get rid of the 404 screen and get the blank screen that the author "theone" ,
says you need before you can use the gallery remote software. Anne
the0ne
Joined: 2011-05-02
Posts: 83
Posted: Thu, 2013-08-08 05:52
hi AnneFTL,
if your gallery is located in ambeach.com/Annica/gallery3/
then it would be wise to use that as the rewrite base.
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/
23231|TRACE|GalComm |tryComm /gallery3/main.php?g2_controller=remote.GalleryRemote&g2_form[cmd]=no-op: 404
23231|ERROR|Gallery |No protocol implementation found
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
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteBase /gallery3/
ErrorDocument 404 default
RewriteRule ^main.php(.*)$ / [QSA,L,R=404]
RewriteRule ^gallery_remote2.php(.*)$ index.php?kohana_uri=/gallery_remote$1 [QSA,PT,L]
</IfModule>
This is Wordpress site with an older Gallery install as well. In Gallery/.haccess I have
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteBase /gallery/
RewriteRule ^(.*)$ /gallery3/index.php [QSA,L,R=301]
</IfModule>
Any help is much appreciated!
Posts: 83
hi deadrich!
the output of http://www.wrestlinwally.com/gallery3/gallery_remote2.php looks perfekt!
please make sure that in your galleryremote client installation you use http://www.wrestlinwally.com/gallery3/ as the server url, i guess you probably use http://www.wrestlinwally.com/gallery/ or so.
br,
the0ne
Posts: 83
hi lightxx!
you can download an updated version from
http://www.t-horner.com/g3_remote
br,
the0ne
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,
- bkn
Posts: 83
hi bkn!
thanks for pointing that out - the module has been updated to correctly identify the client protocol version number.
in case of any protocol version mismatch it will now also output a message stating the required and the actual client protocol version number.
br,
the0ne
Posts: 2
cool beans. thanks.
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.
===
DWW
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
2009/Climbing
Would create an album 2009 with 2 albums inside it called "Skiing" and "Climbing".
Good luck,
Cheers,
Steve
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.
Posts: 83
hi dww!
no need to use diff and/or patch as it's only about modifying two files:
modules/gallery/config/cookie.php
and .htaccess
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.
both of the changes are shown in the g3 admin interface at [Admin] -> [Modules] -> Gallery Remote.
br,
the0ne
Posts: 31
K, will go ahead and make those modifications. I'll posts and let you know how things go.
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:
RewriteRule ^gallery_remote2.php(.*)$ index.php?kohana_uri=/gallery_remote$1 [QSA,PT,L]
to instead say:
RewriteRule ^gallery_remote2.php(.*)$ /domain.com/gallery3/index.php?kohana_uri=/gallery_remote$1 [QSA,PT,L]
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.
Posts: 46
I have patched $config['httponly'] = false;
I have patched .htaccess as follows;
I have changed gallery to gallery3 to reflect my usage
RewriteBase /gallery3/
after trying the .htaccess rewrite rule patch, I tried adding the complete url in the .htaccess rewrite rule as suggested by a user;
RewriteRule ^gallery_remote2.php(.*)$ ambeach.com/Annica/gallery3/index.php?kohana_uri=/gallery_remote$1 [QSA,PT,L]
I tested each changes as you suggested by "theone" in the forum by....
browsing to ambeach.com/Annica/gallery3/ This brings up the correct web page
browsing to ambeach.com/Annica/gallery3/gallery_remote2.php This gives a 404 page
Could someone give me some idea of what I may have failed to do to make this work?
Thanks, Anne
Posts: 814
Have you tried this?
I did a number of modifications on mine, so this may not be 'the fix', but another opportunity to try...
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
Posts: 46
Can anyone help? I have tried everything I can imagine within my knowledge to get this module to work.
I can make things a lot worse.. , but I can't seem to get rid of the 404 screen and get the blank screen that the author "theone" ,
says you need before you can use the gallery remote software. Anne
Posts: 83
hi AnneFTL,
if your gallery is located in ambeach.com/Annica/gallery3/
then it would be wise to use that as the rewrite base.
you should use
br,
the0ne