Install problem on Mint / Ubuntu 16.04

Installing the openemr-php7_5.0.0-1_all.deb package gives the following error in the install log:

PHP Warning:  A non-numeric value encountered in /var/www/openemr/library/globals.inc.php on line 2323
PHP Warning:  A non-numeric value encountered in /var/www/openemr/library/globals.inc.php on line 2323
PHP Warning:  A non-numeric value encountered in /var/www/openemr/library/globals.inc.php on line 2324
PHP Fatal error:  Cannot unset $this in /var/www/openemr/vendor/adodb/adodb-php/adodb-xmlschema.inc.php on line 160

the site seems to be up with the login page however login with the default admin and pass doesn’t work and apache log says:

[Fri Apr 14 11:19:08.682851 2017] [php7:warn] [pid 8735] [client 127.0.0.1:58834] PHP Warning:  A non-numeric value encountered in /var/www/openemr/library/globals.inc.php on line 2323, referer: http://localhost/openemr/setup.php
[Fri Apr 14 11:19:08.682880 2017] [php7:warn] [pid 8735] [client 127.0.0.1:58834] PHP Warning:  A non-numeric value encountered in /var/www/openemr/library/globals.inc.php on line 2323, referer: http://localhost/openemr/setup.php
[Fri Apr 14 11:19:08.682885 2017] [php7:warn] [pid 8735] [client 127.0.0.1:58834] PHP Warning:  A non-numeric value encountered in /var/www/openemr/library/globals.inc.php on line 2324, referer: http://localhost/openemr/setup.php
[Fri Apr 14 11:19:28.290573 2017] [php7:error] [pid 8755] [client 127.0.0.1:58910] PHP Fatal error:  Cannot unset $this in /var/www/openemr/vendor/adodb/adodb-php/adodb-xmlschema.inc.php on line 160, referer: http://localhost/openemr/setup.php

If I try to run the setup from the UI it hangs at step 4 "
Installing and Configuring Access Controls (php-GACL)…"

Hi @marko ,

What php version are you using. Sounds like you may of done an upgrade to 7.1?
(I don’t think ubuntu 16.04 defaults to php 7.1, so this is odd)

OpenEMR 5.0.0 is not compatible with php 7.1, which can be addressed requires the following code fix (basically need to update the composer adodb package):

See this issue for more details:

-brady

Brady, thanks for the clarification.
I downloaded openemr for php7. Than I realized I have php 5.6 installed and did an apt update - apt install php which installed php 7.1
I will look now to install php 7.0 or download openemr for php 5

php 7.0 works well with OpenEMR 5.0.0 .
-brady

Ok, I installed php7.0 and openemr which completed and now I can login.
However I can see only the top menus and whatever I click it opens an empty tab in the window

Apache is giving these errors:

[Fri Apr 14 14:47:22.087768 2017] [:error] [pid 4307] [client 127.0.0.1:36186] PHP Notice: Undefined index: form_apptcat in /var/www/openemr/interface/patient_tracker/patient_tracker.php on line 547, referer: http://localhost/openemr/interface/main/tabs/main.php

Clean out your web browser cache/cookies. If still issue, then let us know which browser your using.
Note that is not an error in the php log, just a notice. errors will have Error rather than notice in message.