[pmwiki-users] includeurl recipe fails with PHP 7.3

Petko Yotov 5ko at 5ko.fr
Mon Aug 5 12:37:26 PDT 2019


I've released a new version, please try it and report:

   https://www.pmwiki.org/wiki/Cookbook/IncludeUrl

Petko

-- 
If you upgrade :  http://www.pmwiki.org/Upgrades


On 05/08/2019 20:51, Byron Lunz wrote:
> 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
> 46.229.168.146:42160] 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:
> 
> Byron



More information about the pmwiki-users mailing list