Knowledge tree was an awesome open source document management system … I deployed it at Berlitz Al Ahsa on a Shared Hosting platform. Here’s how I did it.
How to install Knowledge tree on shared hosting:
PreStep:
You will need access to FTP/cPanel/PHP 5.2
Step 1:
Find the installation file called kntree.tgz > around 50meg file
Step 2:
Extract to the directory you need e.g. /myKnowledgeTree
Step 3:
Navigate to the browser of myKT and complete installation … When requested for DB details add anything > last step on installation will fail on DB credentials don’t stress (DB not found / Unable to access).
Step 4:
Add a new database (cPnanl – mySQL) and create a user with full access
Step 5:
We must use the mysql setup scripts included with KT. Open phpmyadmin. Open the database. Click on the “import” tab. Click on the browse button. browse to where you extracted the files. Then go to sql\mysql\install\. Import structure.sql. Once that’s finished, go back and import data.sql. Close phpmyadmin.
Step 6:
Edit the config.ini file in /directory you made/config/config.ini
edit below data
[db]
; The Database Engine to use. Currently mysql is the only
; supported type.
dbType = mysql
; Database login details
dbHost = localhost
dbName = dbname
dbUser = dbUser
dbPass = password
dbPort = 3306
dbAdminUser = admin
dbAdminPass = password
Step 7 (if you plan on using PHP 5.3):
Update PHP to 5.3 in cPanel – you will get Depreciation error on myKT login (Deprecated: Assigning the return value of new by reference is deprecated)
Edit:
editing config/dmsDefaults.php from:
CODE: SELECT ALL
error_reporting(E_ALL & ~E_NOTICE);
to:
CODE: SELECT ALL
error_reporting(E_ALL & ~E_WARNING & ~E_NOTICE & ~E_DEPRECATED);
COMMENTS
0 Responses to Knowledge Tree