Video Gallery Pro Installation Instructions

Step-by-step Installation Tutorial (Flash Player Required)

Installation Overview

Installation requires that you have authorization to update files and MySQL databases on your Web site. No MySQL education is needed but understanding how to transfer files to a Web server is required.

Installation involves:

1) Unpack the programs into a folder on your PC's hard drive.
2) Upload the programs into a directory on your Web server.
3) Install the databases and database controls.
4) Use Video Gallery Pro administration to setup the video galleries for your company.
5) Integrate Video Gallery Pro into your Web site.

Upload the Video Gallery Pro programs to your Web site

These files can be uploaded to any directory on your Web site. You may want to create a separate directory/folder for Video Gallery Pro but it is not required. The default folder for PCs is C:/Program Files/videogallerypro. It is important that you upload all the files and sub-directories/sub-folders without changing the structure of the files. After the files are installed you will need to set the following permissions:

1) Allow writes to the config.lib.php file in the config folder/directory, this will only be needed during installation.

Install the databases and database controls

1) Open your browser and enter: domain name/Video Gallery Pro directory/install.php. Your domain name will be similar to www.sizzlingwebdesign.com. Substitute "Video Gallery Pro directory" for the directory name where Video Gallery Pro is installed or just use domain name/install.php if it is installed in the root directory.
2) The Video Gallery Pro database installer will prompt you for a User Id and Password, this User must have administrative privileges on the Web site.

If you have full administrative authority, "root" authority, on the Web server, the install program will complete all steps needed for the database installation and database controls installation.

If the Web site is on a shared server or write permission was not valid on the config.lib.php file, then there maybe a few additional manual steps. These steps are detailed by the installation program but only involve manually copying a few lines into the config.lib.php files and/or updating a few database permissions.

If for some reason the database installation program does not run on your server or you choose not to use it, the following are the steps needed to complete a manual database installation:

Note: If you are only allowed one database and one database user, skip to step 6 and enter the appropriate values for your database, user and password.
1) Logon to the cPanel for your web site.
2) Locate 'MySQL', 'MySQL Account Maintenance', or 'Manage MySQL'. Click on that item. You should see a page with a heading of 'MySQL Account Maintenance'.
3) At the bottom of the Database section you will see "Db:" followed by an input area, followed by a button labelled "Add Db". Enter "vgpdb1" without the quotes in the input area, then press the "Add Db" button. A Database will likely be created with your User Id followed by "_vgpdb1". Press "Go Back" to return to the "MySQL Account Maintenance" page. 3) Locate the section of the page titled 'Users'.
4) Enter these exactly. For UserName enter "vgpdb1" without the quotes and for Password enter a password. Passwords of letters and numbers and at least 8 digits are recommended. Write down this password. Press 'Enter'. Then 'Go Back'
5) Just above the User area. Select in the dropdown box User, select the database and user you just created, ending in "vgpdb1" from the dropdown boxes. Press 'Add User to Db' and then "Go Back".
6) Locate the config.lib.php file in the config folder on your hard drive in the Video Gallery Pro folder. Open the file with Notepad, usually this is the default editor for php files.
7) Update the following values:
Change "sizzlin" to the User Id that was used for the database installation for the values that follow C_DB_NAME and C_DB_USER.
Change "mypassword" to the password you entered in step #4 above.
8) On the File menu, choose Save.
9) FTP or otherwise transfer this file to your Web server replacing the existing file.
10) Point your browser to the install15sql.php file in your Video Gallery Pro directory. You should see a count of the SQL statements that were run.

Regardless of which implementation method is used. It is recommended that you change the config.lib.php file access permissions to read only access after the database installation is completed.


Use the Video Gallery Pro Manager to setup Video Gallery Pro

Video Gallery Pro Manager can started by pointing your browser to the directory where Video Gallery Pro is installed. Complete instructions for using the interface are located with the manager interface that is started from index.php file.

Integrate Video Gallery Pro into your Web site

Install one new page in the Video Gallery Pro directory for each video gallery that will be created. For each page, it must have an extension of ".php". vgpsamplegallerypage.php in the Video Gallery directory contains the code needed to implement the video selection page, along with comments on how to implement the page. vgpsampleplaypage.php in the Video Gallery directory contains the code needed to implement the video theater page, along with comments on how to implement the page. The QTMimeType.qtif file must be also be located in the same directory as where you place your version of the vgpsamplegallerypage.php and vgpsampleplaypage.php, if you're using QuckTime or MPEG-4 videos.

Phone: 510-352-7885 :: info@SizzlingWebDesign.com :: Copyright 2006, 2008 All Rights Reserved
Home | Contact Us