Search code examples
phporangehrm

Orange HRM is not Working for PHP 7


I updated my server from PHP 5.5 to PHP 7. Now Orange HRM is not Working. Production is on hr.oyasys.com . Error happen only after login (http://hr.oyasys.com/index.php/dashboard)

 stack trace
at ()
in SF_ROOT_DIR/lib/vendor/symfony/lib/controller/sfController.class.php line 182 ...
    if ($this->getActionStack()->getSize() >= $this->maxForwards)

    {

      // let's kill this party before it turns into cpu cycle hell

      throw new sfForwardException('Too many forwards have been detected for this request.');

    }

Solution

  • I don't think OrangeHRM has accounted for updates to PHP 7. mysql_* functions were also removed and I ran into an error or install.

    https://wiki.php.net/rfc/remove_deprecated_functionality_in_php7