/**********************************************************
*  ______   ______   ___      _______  ___ ___  _______   *
* |   _  \ |   _  \ |   |    |   _   ||   Y   ||   _   |  *
* |.  |   \|.  |   \|.  |    |.  1___||.      ||   1___|  *
* |.  |    |.  |    |.  |___ |.  |___ |. \_/  ||____   |  *
* |:  1    |:  1    |:  1   ||:  1   ||:  |   ||:  1   |  *
* |::.. . /|::.. . /|::.. . ||::.. . ||::.|:. ||::.. . |  *
* `------' `------' `-------'`-------'`--- ---'`-------'  *
*                                  _______        _____   *
*                         .--.--. |       |      | _   |  *
*                         |  |  | |___|   |  __  |.|   |  *
*                          \___/   /  ___/  |__| `-|.  |  *
*                                 |:  1  \         |:  |  *
*                                 |::.. . |        |::.|  *
*                                 `-------'        `---'  *
*                                                         *
*                                   Script: DDLCMS v2.1   *
*                                 Author: Little Dragon   *
*                              Email: ddlcms@ddlcms.com   *
*                        Website: http://www.ddlcms.com   *
*                                                         *
*    Please direct bug reports, suggestions or feedback   *
*                                 to the DDLCMS forums:   *
*                                                         *
*                          http://www.ddlcms.com/forums   *
*                                                         *
*    DDLCMS is a commercial grade content management      *
*    system for DDL site owners. It is provided free      *
*    of charge, provided:                                 *
*                                                         *
*    1. You keep the linkback to http://www.ddlcms.com    *
*       in the footer.                                    *
*                                                         *
*    2. You keep the sponsored links to Sharingzone.net   *
*       on your site.                                     *
*                                                         *
*    By using this script, you agree that you will not    *
*    modify, remove, or replace any encoded parts of      *
*    this script. All encoded parts MUST remain intact    *
*    for your site to remain in good standing.            *
*                                                         *
**********************************************************/ 

Manual Installation for DDLCMS:

NOTE: Use these instructions only if your hosting does NOT have the PHP zip module enabled or installed. (If you have the PHP Zip module installed, please follow Instructions.txt instead).

  1. Be sure your PHP configuration has short_open_tag set to "On".
  2. Be sure your PHP configuration has allow_url_fopen set to "On".
  3. Recommended but not required: your PHP configuration has PHP-pspell module installed. This will enable the "Did You Mean" Google-style spell check on user searches.
  4. Be sure to create a MySQL Database and User before proceeding.
  5. You must manually modify the dbInit.sql file (outside the "files" folder), about half-way down the page:
  6. You must manually modify the config.php file (outside the "files" folder):
  7. You must manually modify the following files in the "files" folder:


  8. Replace all occurrances of ##BASEDIR## with the LENGTH of the string to the relative path to your base directory, + 1
    (one level above public_html).

    NOTE: This is a NUMBER people! Not the actual path!

    Example:

    If the relative path to your document root is (notice the preceding forward slash!):

    /home/username/public_html


    Then your base directory would be (again, notice the preceding forward slash!):

    /home/username


    So your NUMBER is the length of the string "/home/username" + 1 = 15

    In the above example, your ##BASEDIR## number would be 15.

    Replace all occurrances of ##BASEDIR## with YOUR NUMBER in the following files:

  9. Create a folder called "backups" one level ABOVE your document root (eg. above public_html).
  10. Upload all files and subfolders in the "files" folder to your webhost's document root folder (eg. public_html).
  11. You must change permissions (chmod) to the following directories and files:


  12. Import the dbInit.sql file to your database, using a program like Phpmyadmin. This will create all the tables and pre-populate certain fields.
  13. Now when you're done all of the above, check your site in your browser. If all went well, your site should load with default values.
  14. Login to your Administration Panel at http://www.yourdomain.com/admin/

    Login details:


    After logging in, click on "Change Password" on the lower left pane and change your username and password immediately!!!

  15. Be sure to edit button.gif in the images folder -- this is your affiliate button!
  16. Be sure to read "Some Security Precautions" in Instructions.txt file!