Support ⇒ Troubleshootings ⇒ (DF9) Solution if Admin > System Info > PHP Core is blank ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum IndexTroubleshootings

(DF9) Solution if Admin > System Info > PHP Core is blank Reply to topic


Running DF 9.4.0.0 under PHP 5.6.40 ( yeah I know Wink ) I discovered that under Administration > System Info the entries for PHP Core, PHP Environment and PHP Variables were always displaying as totally blank.

Seems that for my host at least, the html formatting of the output of phpinfo has changed slightly. Where the table display out of phpinfo used to have embedded CSS it now seems to use an external CSS file.

Changing line 26 of admin/modules/info.php from:
$cache = preg_split('/(<table border="0" cellpadding="3" width="600">|<\/table>)/', $cache[1], -1, PREG_SPLIT_NO_EMPTY);

to:
$cache = preg_split('/(<table border="0" cellpadding="3" width="600">|<table>|<\/table>)/', $cache[1], -1, PREG_SPLIT_NO_EMPTY);

will allow DF to still parse it and display in Admin, and still work correctly with the older embedded CSS form.

The above code is for DF 9.4.0.0

Pro_News CM™ - Content Management for Dragonfly CMS™

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux / 1.3.39 - 2.4.9 / 5.5.42 - 5.6.16 / 5.4.37 - 5.5.11 / 9.4

All times are UTC


Jump to: