Add description patch, how to install.

anh

Joined: 2003-04-23
Posts: 1
Posted: Wed, 2003-04-23 16:06

I download the file extra_fields_release_candidate.zip
How can I install it, I download it where I should upload it, how can I run the patch.
Thanks

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Wed, 2003-04-23 20:18

Unzip it in your gallery directory. To run the patch, follow these instructions:
<!-- BBCode Start --><A HREF="http://gallery.menalto.com/modules.php?op=modload&amp;name=phpBB_14&amp;file=index&amp;action=viewtopic&amp;topic=4936&amp;21346" TARGET="_blank">patch question</A><!-- BBCode End -->

 
fingery
fingery's picture

Joined: 2003-03-15
Posts: 38
Posted: Wed, 2003-04-23 21:35

If you can't apply the patches via telnet/ssh, you can apply them manually. I've installed all my mods this way.

Just open the .patch file and follow the text....

A line beginning with a + means you need to add it.
A line beginning with a - means you remove the line
A line beginning with a ! means check the line and amend it (and possible following lines...ie change one line and add 2 more).

Some of the mods are quite time consuming but it's worth it in the end :grin: . My first mod by hand took me 3 attempts. Make sure you back up the files you need to change first!!!

 
fraste

Joined: 2003-04-25
Posts: 4
Posted: Fri, 2003-04-25 02:33

I got all of the changes made in the files and uploaded them. I got the following message when saving my new settings in the Gallery Configuration.

Warning: MkDir failed (No such file or directory) in /home/httpd/vhosts/frankstewartconsulting.com/httpdocs/gallery/classes/gallery/UserDB.php on line 35
Error: Unable to create dir: (/home/httpd/vhosts/frankstewartconsulting.com/httpdocs/albums/.users)
Fatal error: Call to a member function on a non-object in /home/httpd/vhosts/frankstewartconsulting.com/httpdocs/gallery/classes/gallery/UserDB.php on line 99

Any ideas? Any help would be greatly appreciated.

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Fri, 2003-04-25 09:48

No idea, but can you tell me the value of $gallery->app->albumDir and $gallery->app->userDir in config.php?

 
fraste

Joined: 2003-04-25
Posts: 4
Posted: Fri, 2003-04-25 12:46

$gallery->app->albumDir = "(/home/httpd/vhosts/frankstewartconsulting.com/httpdocs/albums)";

$gallery->app->userDir = "(/home/httpd/vhosts/frankstewartconsulting.com/httpdocs/albums/.users)";

Also, notice the ( ) around all of the values. All values in the config.php file now have them. I don't recall them being there before.

 
ramo84

Joined: 2005-01-27
Posts: 12
Posted: Thu, 2006-01-12 09:37

might be posting in the wrong thread, but I downloaded the [G1] Resize Axis Option for 1.5 Great for narrow/wide images patch from http://sourceforge.net/tracker/?group_id=7130&atid=307130

i've never installed a patch before. any chance you could guide me.

lines like: @@ -545,7 +545,7 @@ don't really make sense

i wouldn't mind using a program like telnet/ssh if I knew how

cheers :)