/************************************************************************/
/* DOCEBO - Framework							*/
/* ===================================================================  */
/*									*/
/* Copyright (c) 2004 - 2005 - 2006 - 2007				*/
/* http://www.docebo.com						*/
/*									*/
/* This program is free software. You can redistribute it and/or modify	*/
/* it under the terms of the GNU General Public License as published by	*/
/* the Free Software Foundation; either version 2 of the License.	*/
/************************************************************************/

Requirements:

Server specs: Linux, Windows, MAcos, Unix, Sun with 
# PHP 4.3.8 or higher
# MySQL 4.1 or higher
# Apache 1.3.x or 2.0.x or iis6
- Doesn't matter if safe mode or register global are on or off ;-)
- If you need to test on your windows home pc we suggest easyphp 1.8

Server suggested configuration:

* To use SCORM components you have to enable the domxml library (a PHP extension that you can activate from php.ini)
* For security reasons we suggest to set the php.ini configuration safe_mode to ON and the register_global to OFF (Note, if safe_mode is configured to ON you are forced to use the FTP upload function to transfer SCORM packages)


Installation procedure:

- Be sure you have your ftp parameters (host, user, password) and database parameters (user, password dbname) available
- If you are on your home pc with your easyphp 1.8 create manually a database going on http://localhost/mysql/, remeber that user for db connection on easyphp is "root" and password must be left blank
- Upload all the files in your root directory
- Launch http://www.yoursite.com/install/
- Follow installation instructions
- Once you have finished you are ok

Note: The system will load XML file languages, wait and don't click until page is fully loaded!

Upgrade procedure from docebo 2.0.x to  docebo 3.x

Refer to manuals

Upgrade procedure from docebo 3.x to higher version:

- Overwrite all the old files (don't delete the config.php!!!!)
- Launch www.yourwebsite.com/upgrade
- Follow instructions

New languages load (without upgrade procedure)

- Go in the administration area
- Go in configuration
- Go in language import/export
- Import xml files

Note: This will overwrite ALL your language files chages in the language selected!! (example, if you overwrite english you will loose all your english modifications)

To upgrade Docebo 3.0.x to Docebo 3.5.x you have to follow these steps:

1) Overwrite all files uploading new one except config.php

2) At the end of the config.php file add the following code

$GLOBALS['db_conn_names'] = 'utf8';
$GLOBALS['db_conn_char_set'] = 'utf8';
$GLOBALS['mail_br'] = "\r\n";

Be aware that the code must be placed BEFORE the ?> symbol

3) Run http://www.yourdomain.com/upgrade/ and follow steps.

NOTE: Template are changed then you will have to redesign your own template!

4) Delete directory:

upgrade/
install/
xml_language/
readmelicense/

IF SOMETHING GOES WRONG:

* I can't see correctly encoded characters in platform or learning object

edit config.php and change the following parameters:

$GLOBALS['db_conn_names'] = 'utf8';
$GLOBALS['db_conn_char_set'] = 'utf8';

to the appropriate one, for instance:

$GLOBALS['db_conn_names'] = 'latin1';
$GLOBALS['db_conn_char_set'] = 'latin1';

* I don't have enough space on my server

Delete these folders:

upgrade/
install/
xml_language/
readmelicense/

* E-Mail sent are wrongly formatted

open file config.php and edit this variable:

$GLOBALS['mail_br'] = "\r\n";

to

$GLOBALS['mail_br'] = "\n";

or

$GLOBALS['mail_br'] = "\r";

* When i'm using scorm object I receive error like: xmldoc has no proprerties or other "strange" javascript POPUP

First turn off the debug mode in admin area/config/config/main option
If continue to display error:
It's a server issue regarding pear inclusion (Experienced, for example, in xampp) Please go on doceboCore/addons/soap/pear.php and empty the file from all the code without deleting.

Help desk, wiki, manuals, or if you need to be a docebo developer go on:

http://www.docebo.org

Consulting services:

http://www.docebo.com

