[dokuwiki] Re: Installing DokuWiki on Strato triggers "Call-time pass-by-reference has been deprecated-warning"

  • From: Ferdinand Soethe <sammler@xxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Thu, 22 Nov 2007 15:31:32 +0100

Ferdinand Soethe wrote:
> Opening any page I get this error message:
> 
> Warning: Call-time pass-by-reference has been deprecated; If
> you would like to pass it by reference, modify the
> declaration of resolve_mediaid(). If you would like to
> enable call-time pass-by-reference, you can set
> allow_call_time_pass_reference to true in your INI file. in
> /mnt/web1/10/88/51385788/htdocs/dw/lib/tpl/arctic/main.php
> on line 73
> 
> Stratos is set to use php 5.2.2 but
> allow_call_time_pass_reference is set to false.
> 
> Is there any way to work around this?
> 
> Best regards,
> Ferdinand Soethe

Seems like the problem is using resolve_mediaid() which I
used to add header logos to the arctic template.
What is the new and correct way to link to a media file if I
know its namespace and pagename?

Best regards,
Ferdinand Soethe
-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: