Jump to content
  • TGPX Installation Guide



    The documentation contained within is intended to assist those who have a copy of TGPX. Please note, this documentation is provided as is, and is merely archived for reference purposes.

    Before You Begin

    Before you begin the installation you should have the following information on hand:

    • The name of the MySQL database which you will be using to store the data
    • The username which you use to access the MySQL database
    • The password which you use to access the MySQL database

    If you do not have this information, contact your server administrator to get it.

    Uploading Files

    Now you are ready to begin uploading the files to your server, but you will need to extract the software archive if you haven't already done so. Be sure when you extract the archive (using your favorite zip or tar.gz file extractor) that you maintain the directory structure of the archive. In most extraction programs this is the default setting, but you should double check to make sure.

    Once the archive has been extracted, simply upload all of the files and directories (except the utilities directory) from the TGPX distribution to your server into the directory where you want TGPX to run. TGPX must be installed in a sub-directory of your website, and will not run from the base directory of your site. This is to prevent any conflicts with other scripts. Note that you can still generate TGP pages in any directory of your website (including the base directory), you just cannot install the software itself in the base directory of your site.

    The common.php script located in the includes directory of the TGPX distribution must be uploaded to your server in binary mode and not ASCII mode. All of the other .php files can be uploaded in either binary or ASCII mode.

    After the files and directories have been uploaded to your server, you will need to manually create a few directories. In your TGPX installation directory create sub-directories with these names (if they do not already exist):

    • annotations
    • cache
    • data
    • fonts
    • thumbs

    Inside the directory of your TGPX installation named templates create sub-directories with these names:

    • cache
    • compiled

    Assuming you installed TGPX into a directory named tgpx, the complete TGPX directory structure should look like this:

    • tgpx/admin/
    • tgpx/admin/docs/
    • tgpx/admin/images/
    • tgpx/admin/includes/
    • tgpx/annotations/
    • tgpx/cache/
    • tgpx/data/
    • tgpx/fonts/
    • tgpx/images/
    • tgpx/includes/
    • tgpx/templates/
    • tgpx/templates/cache/
    • tgpx/templates/compiled/
    • tgpx/thumbs/

    Setting Permissions

    Next, you will need to set permissions on the directories and files that TGPX will be using. If you are not sure how to set permissions, consult the documentation for your FTP client and/or contact your server administrator for more information. Below is a table containing the permissions you will need to set on each directory or file. If you do not see a file or directory listed, it means you do not need to change the permissions on that file or directory:

    File or Directory Permissions
    includes/config.php file 666
    includes/language.php file 666
    templates directory 777
    All files in the templates directory 666
    thumbs directory 777
    cache directory 777
    templates/cache directory 777
    templates/compiled directory 777
    data directory 777

    These are only the recommended file permissions, and may need to be altered depending on your server configuration.

    Software Initialization

    You are now ready to begin the web based portion of the setup. In your browser, type in the full URL to the install.php file on your server, which is located in the admin directory of your TGPX installation. So, for example, if you installed TGPX in a directory named tgpx, you would access the install.php script with the following URL:


    The install.php script will run a few diagnostic tests to make sure your server has all of the required modules and that all of the permissions have been set correctly. If there are any problems, a page will be displayed that details them.

    If all of the diagnostic tests pass, you will see a page where you will need to enter your MySQL database information. You can click on the help.thumb.png.2a51da1659f734ad4d965cc01 icon to get a description of each of the MySQL settings. Once you have filled in all of the fields with your MySQL information, press the Submit button. The MySQL database information will be tested to make sure it is working. If it is not, you will get an error message indicating the problem and you will need to try again.

    If the MySQL information is entered correctly, you will be brought to a page that will have the URL and login information for the control panel. Be sure to write down your control panel username and password before continuing to the next step!

    Accessing the Control Panel

    On the final screen of the install.php script you will find a link to the control panel. Click that link and enter the login information indicated on the final install.php screen. This will log you into the control panel so you can setup the software's options. The first time you login to the control panel, the General Settings window will pop-up. In this popup window you will be able to configure the various options that TGPX has available. You can click on the help.thumb.png.2a51da1659f734ad4d965cc01 icon to get a description of each of the software options. After you have set all of the options how you want them, you can click on the Save Settings button located near the bottom.

    You must save the software settings before you can access the other control panel functions. The general settings window will continue to popup until you correctly save your settings.

    You are now ready to begin using the software. From here you should read the First Steps portion of the manual. That will instruct you on what to do before you begin adding new links.

    Edited by Robert


  • Create New...

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. policies