Menu

Upgrade required

2009-07-28
2013-06-05
  • Mafaz Mazeen

    Mafaz Mazeen - 2009-07-28

    I am using OrangeHRM Version : 2.2.0.3, and I have to upgrade it to 2.4, as I am going to purchase the OrangeHRM-LDAP (Integration) Plugin.

    The LDAP Plugin requires this version.

    We have a good amount of data with our running version. So I can’t take risk of losing it.

    Please advice.

     
    • Mafaz Mazeen

      Mafaz Mazeen - 2009-07-28

      This upgrade have to be done in two steps.
      First it should be upgraded to 2.2.2.2.
      Then 2.2.2.2 to 2.4.2.

       
    • Mafaz Mazeen

      Mafaz Mazeen - 2009-07-29

      First of all the add-on for 2.4.1 works well with 2.4.2.
      So you can use 2.4.2 without problems.
      Before upgrade one more thing you have to do.

      In the current 2.2.2.2 installation directory, edit the lib/confs/Conf.php file and change the version line(19) as follows.

      $this->version = '2.2.2.2';

      Then try the upgrader again.
      if you still find issues, please send us the log file inside the directory.

       
    • Mafaz Mazeen

      Mafaz Mazeen - 2009-07-29

      Couldn't get it done, below is the log.

      The log file : /var/www/html/limespothrC/newversion/lib/logs/traceLogger.log says as bellow :

      [root@accord logs]# cat traceLogger.log

      INFO - 2009-04-20 12:56 - HSP Type changed to 1 by admin [USR001]

      INFO - 2009-04-20 12:57 - HR Admin Changing HSP Value (Emp ID - 1, Summary ID -1)

      [Annual Limit] 0.00 -> 400

      INFO - 2009-04-20 12:57 - HR Admin Changing HSP Value (Emp ID - 2, Summary ID -2)

      [Annual Limit] 0.00 -> 400

      [root@accord logs]#

      And the : /var/log/httpd/error_log says :

      [root@accord limespothrC]# tail -f /var/log/httpd/error_log

      [Tue Jul 28 11:40:51 2009] [error] [client 192.168.4.252] PHP Warning:  require_once(FichierConf.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /var/www/html/limespothrC/newversion/upgrade/index.php on line 47

      [Tue Jul 28 11:40:51 2009] [error] [client 192.168.4.252] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'FichierConf.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/limespothrC/newversion/upgrade/index.php on line 47