[pmwiki-users] includeurl recipe fails with PHP 7.3

Byron Lunz byronlunz at gmail.com
Mon Aug 5 11:51:46 PDT 2019

On Tue, May 7, 2019 at 8:26 AM Petko Yotov <5ko at 5ko.fr> wrote:

> Do you have other broken recipes that you must enable? We'll fix them all.

Hi Petko,
Hopefully you can help me. I've used the includeurl.php recipe for years to
include local files (actually custom PHP). Last weekend we updated O/S, and
PHP (to 7.3). An older version of includeurl works but generates this error:

[Mon Aug 05 11:40:37.119230 2019] [php7:warn] [pid 9998] [client] PHP Warning:  Use of undefined constant Markup_e -
assumed 'Markup_e' (this will throw an Error in a future version of PHP) in
/home/cctomany/htdocs/pmwiki/cookbook/includeurl.php on line 29

So, I installed the most recent version of includeurl.php but then the
pages don't display anything! Experimenting, I discovered that adding
"Path:" to the filename parameter makes it work:

(:includeurl Path:/to/localfile :)

But I have hundreds of pages with the (as documented) syntax:

(:includeurl /to/localfile :)

... which don't display. I'm hoping there is a simple update to the
includeurl.php recipe which will allow the latest version to work WITHOUT
the Path:

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20190805/a5aff647/attachment.html>

More information about the pmwiki-users mailing list