Before you start the installation, you will need the following information:
Unpack the Pixaria Gallery zip package on your computer and open the Pixaria Gallery folder to see the files inside.
Locate the file called pixaria.config.php and open it in a text editor designed for programming such as UltraEdit or EditPlus on Windows or TextMate or BBEdit on Mac OS X.
Inside the configuration file, you will see PHP code used by Pixaria for the main settings. There are six PHP variables in the file which need to be configured by entering your own information in place of the default placeholders:
| Variable Name | Value |
|---|---|
| $cfg['sys']['base_url'] | The full URL of your Pixaria website including a trailing slash. |
| $cfg['sys']['db_host'] | The database host name or IP address. |
| $cfg['sys']['db_uname'] | The MySQL database username. |
| $cfg['sys']['db_pword'] | The MySQL database password. |
| $cfg['sys']['db_name'] | The name of the MySQL database you are using. |
| $cfg['sys']['encryption_key'] | Any random string of letters and numbers of your choosing. |
Once you've entered your own information into the configuration file, save the changes.
Using an FTP application and the login information for your server, upload the entire contents of the unzipped Pixaria package into the directory on your server where you wish to host your Pixaria site.
Please note
Once all the files are uploaded, set world writable permissions of '777' on the following directories in the Pixaria Gallery directory:
These permissions are required for the template engine and image management functions.
To install the Pixaria database, you will need to connect to your MySQL database using an administration tool such as phpMyAdmin (web control panel), Toad (Windows) or Querious (Mac). Once connected, select the database where you are going to install Pixaria and import the database setup script for Pixaria which can be found in the Pixaria Gallery package:
/resources/databases/pixaria.complete.sqlWhen the SQL script has been loaded, you will have a working installation of Pixaria Gallery with a database version of 2.0.0.
Using a web browser, navigate to the URL where you have installed Pixaria. You should see the default Pixaria Gallery homepage with no galleries or images.
To complete the installation, you need to upgrade the default database and this is done using an updater script in the admin area. First, click on the 'Sign in' link in the navigation tolbar to go to the sign in screen and then enter the default login credentials:
Username: [email protected]
Password: password
You will now be signed in to Pixaria and directed back to the main home page. In the navigation toolbar, click on the 'Admin' link and you will be taken to the Pixaria Gallery admin dashboard which is the home page of the admin area in Pixaria Gallery.
In the admin toolbar, click on the icon 'Software Status' to view the status of your installation. You will see a warning message on this screen indicating that the software and database versions do not match. Click the button called 'Upgrade database' to bring your installation up to date. Once this step is complete, click the icon in the toolbar called 'Dashboard' to return to the admin dashboard.
In the dashboard sidebar, there may be notices about maintenance required for correct operation of the Pixaria database and you should follow the instructions given here to complete these steps.
You now have a working Pixaria Gallery installation and you can get started creating your website!