eclime installation procedure

Discussions on installing and configuring eclime

eclime installation procedure

Postby roman vidyayev on Tue May 05, 2009 1:51 pm

Standard installation:
1). Download the latest package from the downloads section, unzip it and extract the 'catalog' folder.

2). Create a blank database via your web hosting control panel.

3). Upload all the contents of the catalog folder to your root directory via FTP.

4). Make sure that the permissions of the following folders are set to 755; configure/, templates_c/, images/, temp/, cache/, sessions/, and if that does not work then set them to 777.

5). Then go to http://www.yoursite.com/install and begin the install procedure.

6). After the installation completes delete the install folder. Reset permissions on the two configure/admin_configure.php and configure/catalog_configure.php files back to read only.

7). Although the admin panel is already password protected, I recommend you to password protect your 'admin' folder using the Password Protect feature in your web hosting control panel just to be sure.

Done.

Manual installation:
1). Run "install/sql/eclime.sql"

2). Run "install/sql/catalog_data.sql" (optional)

3). Create configuration file "configure/admin_configure.php"
Code: Select all
<?

       define('HTTP_SERVER', 'http://localhost/eclime'); // eg, http://localhost - should not be empty for productive servers
       define('HTTP_CATALOG_SERVER', 'http://localhost/eclime');
       define('HTTPS_CATALOG_SERVER', '');
       define('ENABLE_SSL_CATALOG', false); // secure webserver for catalog module
       define('DIR_FS_DOCUMENT_ROOT', 'C:/apache/htdocs/eclime/'); // where the pages are located on the server
       define('DIR_WS_ADMIN', '/admin/'); // absolute path required
       define('DIR_FS_ADMIN', 'C:/apache/htdocs/eclime/admin/'); // absolute pate required
       define('DIR_WS_CATALOG', '/'); // absolute path required
       define('DIR_FS_CATALOG', 'C:/apache/htdocs/eclime/'); // absolute path required
       define('DIR_WS_IMAGES', 'images/');
       define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
       define('DIR_WS_CATALOG_IMAGES', '../images/');

       define('SMARTY_DIR', DIR_FS_CATALOG . 'includes/smarty/');
       define('SMARTY_TEMPLATES_DIR', DIR_FS_CATALOG . 'templates/');

       define('DIR_WS_INCLUDES', 'includes/');
       define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
       define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
       define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
       define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
       define('DIR_WS_PLUGINS', '../'.DIR_WS_INCLUDES . 'plugins/');

       define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
       define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
       define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
       define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
       define('DIR_FS_CATALOG_IMAGES_THUMBNAILS', DIR_WS_CATALOG_IMAGES . 'thumbnails/');

       define('IMG_STAMP_FILENAME_PREFIX', 'img_pr_');

       define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
       define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
       define('DIR_FCKEDITOR', DIR_FS_ADMIN . 'fckeditor/');
       define('DIR_WS_FCKEDITOR', HTTP_SERVER . DIR_WS_ADMIN . '/fckeditor/');

       define('CAPTCHA_ENCRYPTION_KEY', 'gj0JQITPz3cMKASHwENSbR7qE3NhDGxQTXLlPSAl');

       define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers
       define('DB_SERVER_USERNAME', '-USERNAME-');
       define('DB_SERVER_PASSWORD', '-PASSWORD-');
       define('DB_DATABASE', '-DB_NAME-');
       define('USE_PCONNECT', 'false'); // use persistent connections?
       define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
    ?>


4). Create configuration file "configure/catalog_configure.php"

Code: Select all
<?

       define('ENABLE_SSL', false); // secure webserver for checkout procedure?
       define('HTTP_SERVER', 'http://localhost'); // eg, http://localhost - should not be empty for productive servers
       define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers
       define('HTTP_COOKIE_DOMAIN', 'localhost');
       define('HTTPS_COOKIE_DOMAIN', '');
       define('HTTP_COOKIE_PATH', '/eclime/');
       define('HTTPS_COOKIE_PATH', '');
       define('DIR_WS_HTTP_CATALOG', '/eclime/');
       define('DIR_WS_HTTPS_CATALOG', '');
       define('DIR_WS_IMAGES', 'images/');
       define('DIR_WS_IMAGES_THUMBNAILS', DIR_WS_IMAGES.'thumbnails/');
       define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
       define('DIR_WS_INCLUDES', 'includes/');
       define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
       define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
       define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
       define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
       define('DIR_WS_PLUGINS', DIR_WS_INCLUDES . 'plugins/');
       define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

       define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
       define('DIR_FS_CATALOG', 'C:/apache/htdocs/eclime_smarty/');
       define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
       define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
       define('CAPTCHA_ENCRYPTION_KEY', 'gj0JQITPz3cMKASHwENSbR7qE3NhDGxQTXLlPSAl');

       define('IMG_STAMP_FILENAME_PREFIX', 'img_pr_');
       define('SMARTY_DIR',DIR_WS_INCLUDES.'smarty/');
       define('SMARTY_TEMPLATES_DIR','templates/');
       define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers
       define('DB_SERVER_USERNAME', '-USERNAME-');
       define('DB_SERVER_PASSWORD', '-PASSWORD-');
       define('DB_DATABASE', '-DB_NAME-');
       define('USE_PCONNECT', 'false'); // use persistent connections?
       define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

    ?>


5). Run this query:
Code: Select all
    INSERT INTO `admin` (`admin_id`, `admin_username`, `admin_groups_id`, `admin_firstname`, `admin_lastname`, `admin_email_address`, `admin_password`, `admin_created`, `admin_modified`, `admin_logdate`, `admin_lognum`) VALUES
    (1, 'admin', 1, 'First', 'Last', 'admin@localhost.com', '84bd44f8921913b1d203b0f750a7a4d7:a9', NOW(), '0000-00-00 00:00:00', NULL, 0);


6).Login to admin/
username: admin
password: 123456
Everything should be made as simple as possible, but not simpler. -Albert Einstein.
User avatar
roman vidyayev
Site Admin
 
Posts: 257
Joined: Sun Oct 19, 2008 1:10 am
Location: Philadelphia, PA

Return to Installation and configuration

Who is online

Users browsing this forum: No registered users and 1 guest


cron