Patching AutoGallery SQL


We will be updating AutoGallery SQL when necessary to fix any bugs and add small features. These releases can be recognized by a change in the third digit of the software version number. For example a change from version 3.0.2 to 3.0.3 is a patch release. When these patches are released you should upgrade your installation with the new version. This document contains instructions for doing just that.


Patching your installation is very simple. All you need to do is upload the new files from the new version to your server. All of the files that need to be uploaded are listed below. You should not run any upgrade scripts when patching your installation, those are only used when upgrading from a previous major release.
Once all of the files have been uploaded, change the permissions on the cron.cgi and scanner.cgi files to 777. You can then bring up the patch.cgi script in your browser which will update those two files with the correct settings. After that has been successfully completed, change the permissions back to 755 on the cron.cgi and scanner.cgi files. You are now complete with the patching process.

Important Notes

If Perl 5 is not located at /usr/bin/perl be sure to update the first line of all .cgi files with the correct path to Perl on your server.

Make sure you upload all of the files in ASCII mode!

It is not necessary to delete any files from your server before you upload the updated scripts. If you do delete any files, make sure you reset all permissions on the files you upload. All file permissions are covered in the Installation section of the manual.