Adding the '@' will only mean the problem doesn't get reported, which as Petko notes, might not be too bad. On the other hand, I've found problems with open_basedir before: file_exists was returning false because open_basedir wouldn't let it stat the file. The problem I had was one of the intermediary directories wasn't readable by the web server - I was only able to figure out what was going on from reading up on open_basedir after seeing the errors.
That directory path really doesn't look healthy to me, but I don't use a windows server, so I don't actually know. Is that what normal wiki file paths look like for you? On Sat, Apr 15, 2017 at 6:18 PM, Brian Tibbels < [email protected]> wrote: > 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/> > > > > _______________________________________________ > pmwiki-users mailing list > [email protected] > http://www.pmichaud.com/mailman/listinfo/pmwiki-users > >
_______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
