sapplica / sentrifugo

Sentrifugo is a FREE and powerful Human Resource Management System (HRMS) that can be easily configured to meet your organizational needs.
http://www.sentrifugo.com/
GNU General Public License v3.0
488 stars 428 forks source link

Don't work on php 7 #253

Open a-j-n opened 6 years ago

a-j-n commented 6 years ago

after download and install, I get a blank page I tried to get the right folder permissions and it still a blank page I'm using PHP 7.2 and larval valet as a web server any help?

a-j-n commented 6 years ago

I'm running it inside docker now and it works fine https://github.com/a-j-n/sentrifugo-with-docker

tinodj commented 5 years ago

It might work on php 7.1, but not on PHP 7.2. In PHP 7.2, method signature compatibility is strictly enforced, resulting in fatal error. Error look like this:

PHP Fatal error: Declaration of Zend_Rest_Route::assemble

Easiest fix is to open this file: sentrifugo/Zend/Rest/Route.php, and to change the line 52:

public function assemble($data = array(), $reset = false, $encode = true)

to this

public function assemble($data = array(), $reset = false, $encode = true, $partial=false)

carlosrovira commented 4 years ago

Hi, I'm on PHP 7.0.33-0ubuntu0.16.04.6 (cli) ( NTS ) after first wizard screen I get a blank page. So it's docker the only way to install? Also seems the project is not supported actually? Thanks

carlosrovira commented 4 years ago

I finally get it working upgrading to PHP 7.3.11-1+ubuntu16.04.1+deb.sury.org+1 (cli) (although I have it working for 7.2 too, and when purging 7.0 it updated to 7.3)

lovermann commented 4 years ago

I'm on PHP 7 and it works ok.

mahesr commented 4 years ago

It might work on php 7.1, but not on PHP 7.2. In PHP 7.2, method signature compatibility is strictly enforced, resulting in fatal error. Error look like this:

PHP Fatal error: Declaration of Zend_Rest_Route::assemble

Easiest fix is to open this file: sentrifugo/Zend/Rest/Route.php, and to change the line 52:

public function assemble($data = array(), $reset = false, $encode = true)

to this

public function assemble($data = array(), $reset = false, $encode = true, $partial=false)

Works well

Thank you Elhaa technologies