Applying Patch

stevehendo34

Joined: 2010-11-26
Posts: 3
Posted: Fri, 2010-11-26 14:11

This is a preliminary work. To use it, you need to apply the changes
in the patches directory. It's got limited functionality and is only
the beginning of the effort.

?? How the heck do one apply a patch in Gallery 3 ??

name = "Gallery Remote"
description = "Use Gallery Remote and other similar applications to control your Gallery"
version = 1

In Patches directory
htaccess.patch
gallery_remote2.php
cookie.patch

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7988
Posted: Sat, 2010-11-27 22:52

Um, where did you read that? Oh. You're using the "remote" contrib module... Yeah that isn't ready at all. It's not going to work. It's really, really preliminary.

I assume your goal here is to get Gallery Remote working? You might try http://codex.gallery2.org/Gallery_3:Other_Clients:Gallery_3_REST_Client_(rWatcher) instead
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git

 
the0ne
the0ne's picture

Joined: 2011-05-02
Posts: 82
Posted: Mon, 2011-06-20 16:22

the patch isn't actually necessary.
it's better to edit modules/gallery/config/cookie.php and change line
$config['httponly'] = true;
to line
$config['httponly'] = false;

which has the same effect.

also, you should try the following version as the gallery-contrib git module is an empty template only.
http://gallery.menalto.com/node/102641

you can find more information about the gallery remote module here:
http://codex.gallery2.org/Gallery3:Modules:remote