- WordPress Site Design – Vision
- WordPress Site Design – Domain & Hosting
- WordPress Site Design – CMS
- WordPress Site Design – CMS Installation
- WordPress Site Design – WordPress Install
- WordPress Site Design – Zenphoto Install
- WordPress Site Design – Piwik Install
- WordPress Site Design – WordPress Layout
- WordPress Site Design – WordPress Files
- WordPress Site Design – Functions and Loops
- WordPress Site Design – CSS File
- WordPress Site Design – Zenphoto Integration
- WordPress Site Design – Remaining Files
Zenphoto (our photo Gallery CMS) installation is very similar to the installation of WordPress. The wizard guides you through the installation and makes the setup as simple as possible. I will comment that in my opinion the setup is a little more intimidating than that of WordPress due to its presentation of system information. However I will guide you through this install and try to keep things as general and as simple as possible.
Note: This tutorial demonstrates installation of Zenphoto version 18.104.22.168
1. Initiate Zenphoto Install
To start the Zenphoto installation you first need to go to the Zenphoto folder on your server through your web browser. The address should be similar, if not identical, to the one below. Type the URL into the address bar of your browser. This is just like we did for WordPress except we are pointing to the Zenphoto folder on the server and not the WordPress folder.
Note: I have run into instances, especially in upgrading Zenphoto, that you need to type in the setup URL exactly and only get one shot at installing it. The setup URL is: www.yoursite.org/zenphoto/zp-core/setup.php
2. Setup Page
The first page of the Zenphoto setup may be a little overwhelming. Zenphoto will run a check to make sure your server has all the capabilities that it needs to run. You will get an error message because you have not yet specified your database information. Do not panic this is normal. Scroll down past the first Warning (Ignore the “magic_quotes_gpc” warning, this is not too important for right now) and continue to Step 3.
3. Database Info
If you get a warning about the folder permissions for the Zenphoto folder on the server, change them to relaxed and click apply. This will set the permissions on the folder so that Zenphoto can create and manage files within that folder.
The first, and hopefully only error, will be for the database setup. Enter in the database information just like we did for the WordPress installation. Use the same Admin username and password from the Database setup in the first section of this tutorial. Also make sure the table prefix for this installation is zp_. Again this will uniquely identify all the Zenphoto tables in the database to eliminate confusion between the multiple CMS’s. After you click save it should refresh the page and give you a green check in this section. If it is still red then you did not type in the correct information. Remember this is the Database Admin username and password not the WordPress Admin username and password. Just a reminder, for this tutorial I used:
Admin User: Admin
Database Host: localhost
Database name: mysite
For more information on UTF-8 check out the wikipedia entry on it. For now go ahead and select this and click apply. This will use a universal character set for recording information in the database.
If everything passed the check you are now ready to create the tables. Click “Go” and wait for the tables to be created. For some reason I have noticed that this step does take a little more time than the WordPress installation.
6. Delete Setup Files
After the tables are created and the Zenphoto file system is setup, it will ask you if you want to delete the setup files. I always delete them for security reasons. It may be possible for someone to navigate to these files and extract the database information from Step 3. They then could have access to your database and do as they please with your system. However it is not required to delete this information. By not deleting the setup files it may prevent you from having to repeat Step 3 when performing Zenphoto updates. The choice is yours.
7. Create Zenphoto Admin User
Just like with WordPress you will need to create a Zenphoto Admin user that will administer the site. Again after you create this user I suggest creating a user for yourself as well. This will keep the administration and your activity separate.
Make note that the Admin user needs all these boxes checked. This user must have full control.
That was it! A short process indeed and now Zenphoto is ready to go. To get to the Zenphoto page you can type in the original URL from Step 1 and it will take you to your gallery. Once you add images they will be displayed here. Right now Zenphoto thinks localhost:8888/zenphoto is the root folder for the site. This is fine for now as we will fix that when we create the theme.