[pmwiki-users] Suppress WARNING in pmwiki.php

Brian Tibbels brian.tibbels at clickmarlow.co.uk
Sat Apr 15 17:18:16 CDT 2017


I have a Pmwiki installation which has recently moved server and it
produces the following warning. It is being suggested to me by my webhost
that a "@" is prefixed on the offending function at the given line to
suppress this warning rather than changing the "open_basedir" parameter in
the PHP setup.

The offending line is

1108 : return ($pagefile && file_exists($pagefile));

I would appreciate some enlightenment on this please.

Rgds
Brian

----
*Warning*: file_exists(): open_basedir restriction in effect.
File(wiki.d/D:\domains\web-pack-001.package\httpdocs\mydomain.co.uk\1.local.farmmap.txt)
is not within the allowed path(s):
(D:/domains/web-pack-001.package\;C:\Windows\Temp\) in
*D:\domains\web-pack-001.package\httpdocs\mydomain.co.uk
<http://mydomain.co.uk>\1\pmwiki.php* on line *1108*
----







*Brian Tibbels*
*IT support for small business and the individual*
 ☏ +44 7804 109906 ☏ <+447804109906>  ★ http://clickmarlow.co.uk ★
<http://clickmarlow.co.uk/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20170415/52b38dab/attachment.html>


More information about the pmwiki-users mailing list