###RELEASE NOTES###
This document provides the release notes for the Unified Laboratory Information Management System. It describes installation instructions, configuration changes compared to the previous releases of ULIMS, additional features and etc ...
####SYSTEM REQUIREMENTS####
This release requires at least PHP 5.1 and above. This release has been tested with Apache HTTP server on Windows and Linux. It may also run on other Web servers and platforms, provided PHP 5.1 is supported.
####COMPATIBILITY#### This release has been tested with the following:
| Operating Systems | Web Server / PHP / MySQL Version |
| --------------------- |-----------------------------------------------------------|
| Windows 7 Pro | XAMPP 1.7.3 - Apache 2.2.14 / PHP 5.3.1 / MySQL 5.1.41 |
| | XAMPP 5.6.3 - Apache 2.4.10 / PHP 5.6.3 / MySQL 5.6.21 |
| | |
| Ubuntu 14.04.1 LTS | Apache 2.4.7 / PHP 5.5.9 / MySQL 5.5.40 |
####PRE-INSTALLATION####
From your existing ULIMS installation do the following:
-
Secure a copy of the
ulims/protected/configandulims/imagesdirectory. You will need information from the files in that directory. -
Export(backup) the databases (ulimsaccounting, ulimscashiering, ulimslab, ulimsportal, phaddress).
(Skip this if you are installing from scratch)
####INSTALLATION####
-
Download or clone ulims from this repository.
-
Extract the release file to a Web-accessible directory:
X:/xampp/htdocs for xampp on windows environment /var/www or /var/www/html for linux -
ULIMS Configurations
-
Database credentials for ULIMS have been moved to
/ulims/protected/config/db.phpwhich resides on the same directory as the main.php file. In this way we will always have the samemain.phpfile. -
Update the usernames and passwords for the different databases specified in the db.php file.
-
Replace the following files in the
/ulims/protected/configwith the ones you obtained from the Pre-Installation instruction:site-settings.ini form-settings.ini -
Replace the directory
/ulims/imagesfrom the Pre-Installation instruction:
-
-
Databases
- If you are installing from scratch - create and import clean databases from the
ulims/protected/datadirectory.
-
Create and import the database (ulimsaccounting, ulimscashiering, ulimslab, ulimsportal, phaddress) you obtained from the Pre-Installation instruction.
-
Check the structure of the
ulimslab.requesttable. The datatype for fieldrequestDateshould be 'date' and there should be a fieldcreate_timewith a 'TIMESTAMP' datatype. -
If not, execute the following sql commands separately.
ALTER TABLE `request` CHANGE `requestDate` `requestDate` DATE NOT NULL ALTER TABLE `request` ADD `create_time` TIMESTAMP UPDATE `ulimslab`.`request` SET `create_time` = `requestDate` ALTER TABLE `request` CHANGE `create_time` `create_time` TIMESTAMP NOT NULL ALTER TABLE `request` CHANGE `create_time` `create_time` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
This modifications with fix the issue on generating duplicate request reference when creating requests.
-
Truncate the tables
ulimsportal.AuthItemandulimsportal.AuthItemChild.TRUNCATE TABLE `AuthItem` TRUNCATE TABLE `AuthItemChild`
Import the
AuthItem.sqlandAuthItemChild.sqlfromulims/protected/datadirectory to the respective tables in ulimsportal database.-
A new database has been added for the Referral Module. Create new database
onelabdband importulims/protected/data/onelabdb.sql. -
Select onelabdb and separately execute each of the four(4) sets of commands in the
ulims/protected/data/onelabdb_views.txt.
- If you are installing from scratch - create and import clean databases from the
-
File/Folder Permissions (for linux installation)
-
Grant read/write permissions to several files/folders by running the following commands:
sudo chmod -R 777 ulims/assets sudo chmod -R 777 ulims/protected/runtime sudo chmod 777 ulims/config/site-settings.ini sudo chmod 777 ulims/config/form-settings.ini sudo chmod 777 ulims/config/api-settings.inicreate the folder
ulims/assetsif does not exist. -
The following tables are case-sensitive:
ulimsportal.AuthItem ulimsportal.AuthItemChild ulimsportal.Rightsrename these tables as indicated above.
-
more info soon...