

Upgrading Pixaria Gallery 2.x
Working with the upgrade package
When you receive an updated version of Pixaria 2.x, the first step is to decompress the .zip file you were supplied with to get at all the changed PHP, template and image files. There are lots of utilities that can do this and if you're using Mac OS X, it's built right into the Finder.
Uploading new scripts
First, using an FTP program, upload all the updated PHP files, images and templates to your web server being careful NOT to overwrite the current pixaria.Config.php' file or the 'incoming' or 'library' directories none of which should ever need to be modified.
Upgrading your database
Next, you need to upgrade the database which contains your library and settings. Database upgrades are now handled internally by Pixaria using a PHP script which you upload to your server and navigate to using your web browser.
Open this script: 'resources/admin/admin.upgrade.php' on your site using your web browser. You will be shown a list of the database changes that have been applied and you can then proceed to the next step.
Important note about templates
If your upgrade includes changes to templates (most do) and you have template caching turned on (which is a good idea), be sure to 'flush' the Smarty template cache after the upgrade to ensure your new templates are used. This is an option in the admin pages of Pixaria and can be found under the 'Site' tab. You can also do it manually by deleting the contents of the directors '-/resources/smart/templates_c/'.
Whenever you upgrade, it's a good idea to check out the template difference viewer to see which template files have been upgraded.
Created: Saturday, November 3, 2007
Last edited: Sunday, November 4, 2007
Tools & Utilities
Third Party Resources
|
Random Tips & Tricks
#4 Protect your images Make sure your images are safe from download by the wrong people by preventing unauthorised access to the library and incoming image directories. |