[Isis-users] Scrambled web pages for some ABCD utilities on Ubuntu 16

Freek Heite f.heite at hccnet.nl
Thu Oct 20 00:36:26 CEST 2016


To answer my own question:
In file /etc/php/7.0/apache2/php.ini change "short_open_tag = Off" to "short_open_tag = On" and restart Apache.
Note that short_open_tag is mentioned twice in php.ini. The first occurrence is just a comment, I changed the second occurrence.
This solved my problem.

Background: a few PHP-scripts in ABCD are using the obsolete "<?" to start off a PHP script, instead of the more modern "<?php".
Since PHP version 5.4 the short "<?" is disabled by default, in php.ini.

Not being a PHP programmer, I won't comment on whether or not the old-style "<?" tags in ABCD could/should be changed.

Regards,
Freek Heite.

-----Original Message-----
From: Freek Heite [mailto:f.heite at hccnet.nl] 
Sent: 12 October, 2016 23:13
To: 'isis-users at iccisis.org'
Subject: Scrambled web pages for some ABCD utilities on Ubuntu 16

Our current ABCD server (ABCD 1.4, Ubuntu 12.04.5 LTS, Apache 2.2.22 and PHP 5.3.10) is running without any problems, but Ubuntu 12 is nearing the end of its support.

On a test server, I've installed the latest Ubuntu, 16.04.1 LTS (which also brings Apache 2.4.18 and PHP 7.0.8).
Then, I've put ABCD onto this test machine, by copying all ABCD stuff in /var/opt/ABCD and in /opt/ABCD) over from the production machine.
Finally, I added the ABCD settings to the Apache config.

On the new server, most of the ABCD web pages are working just fine, but a few are not:
- the lower part of the web pages for "Import TXT file" and "Export TXT file" is just blank, the "new conversion table" part doesn't appear
- on the web pages for "global changes", "Export ISO file" and "Import ISO file", fragments of what looks to me like PHP source code are scrambling
(overlaying) the graphical contents of the web pages. It's most visible on the page "Import ISO file", making the page unusable, please see the attachment.

Upgrading the ABCD software in the "central" directory to ABCD 1.5.1 doesn't help.
My web browser is Firefox on this same test server, switching to Chromium doesn't help either.

Any thoughts about what might be wrong?

Regards,
Freek Heite.



More information about the isis-users mailing list