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&name=phpBB_14&file=index&action=viewtopic&topic=4936&21346" TARGET="_blank">patch question</A><!-- BBCode End -->
fingery
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
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?
Posts: 3473
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&name=phpBB_14&file=index&action=viewtopic&topic=4936&21346" TARGET="_blank">patch question</A><!-- BBCode End -->
Posts: 38
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!!!
Posts: 4
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.
Posts: 3473
No idea, but can you tell me the value of $gallery->app->albumDir and $gallery->app->userDir in config.php?
Posts: 4
$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.
Posts: 12
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