Installation

  1. Copy the contents of the /src directory in a directory of your web site.

  2. Create an empty database in MySQL.

  3. With the banners_mysql_db.sql file from the /db directory of your installation kit create the tables and indexes in your database.

  4. Go to the directory in which you copied the contents of the /src directory.

  5. In the ./Connections/banners.php modify the following values as to reflect your connection to the database (hostname, database, database user name, database password):

    $MM_banners_HOSTNAME = "www.myhost.com";

    $MM_banners_DATABASE = "mydatabase";

    $MM_banners_USERNAME = "myuser";

    $MM_banners_PASSWORD = "mypassword";

  6. In the config.inc.php file modify the line resembling with:

    if (!defined('KT_wwwroot')) define('KT_wwwroot',"http://www.interakt.ro/banners"); and change the "http://www.interakt.ro/banners" as to reflect your URL to the Banner Administration System.

    Example: "http://www.mycompany.com/install/banners"

    Warning:

    The path must be given as a complete URL and without the trailing "/" ! Example: "http://www.interakt.ro/" will not work properly and will create errors !

  7. In the config.inc.php file modify the lines resembling with if (!defined('KT_root')) define('KT_root',"/www/htdocs/banners"); and change the "/www/htdocs/banners" as to reflect your file path to the Banner Administration Module.

    Example: "/www/htdocs/modules/banners"

    Warning:

    The path must be given complete and without the trailing "/" Example: "/www/htdocs/banners/badidea/" will not work properly and will create errors !

  8. Make sure that the /uploads directory from the installed location has read/write/modify rights.

    This is not needed on a Windows 9x/ME installation (PWS and Apache), but it is needed in a Windows NT/Windows 2000 and Linux installation. The commands to chage the rights of a folder in Linux and various other *nices, executed from the banners folder, are:

    "chown nobody uploads/ -R"

    "chgrp nobody uploads/ -R"

    "chmod 775 uploads/ -R"

  9. Test your installation. (Remember: a default User "admin" with the Password "admin" and "Administrator" level was created)