SYSTEM WARNING: file_exists() [function.file-exists]: open_b

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
varta
Posts: 2
Joined: 21 Dec 2010, 10:43

SYSTEM WARNING: file_exists() [function.file-exists]: open_b

Post by varta »

Please if some one can help me.
I have installed Mantis with this MantisBT Installation Information
MantisBT Version 1.2.3
php_version 5.2.6
MantisBT Database Information
Schema Version 183
adodb_version 5.1
MantisBT Path Information
Site Path /home/software/public_html/bug/
Core Path /home/software/public_html/bug/core/
Plugin Path /home/software/public_html/bug/plugins/

the problem is than when I tried to use Graphics reports, using Jpgraph (installed at ./library/jpgraph) it returns
SYSTEM WARNING: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/share/fonts/corefonts/) is not within the allowed path(s): (/home/software/:/usr/lib/php:/usr/local/lib/php:/tmp)

SYSTEM WARNING: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/share/fonts/truetype/msttcorefonts/) is not within the allowed path(s): (/home/software/:/usr/lib/php:/usr/local/lib/php:/tmp)

SYSTEM WARNING: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/share/fonts/msttcorefonts/) is not within the allowed path(s): (/home/software/:/usr/lib/php:/usr/local/lib/php:/tmp)
Also, if I use internal graphics, nothing is show.

Please help! thanks!
atrol
Site Admin
Posts: 8534
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: SYSTEM WARNING: file_exists() [function.file-exists]: op

Post by atrol »

Have a look at
http://php.net/manual/en/ini.core.php
and search for open_basedir
Please use Search before posting and read the Manual
varta
Posts: 2
Joined: 21 Dec 2010, 10:43

Re: SYSTEM WARNING: file_exists() [function.file-exists]: op

Post by varta »

I read it but I couldn't undertand where is the problem beacuase everything is working fine inside this host (Linux)
Sorry but can you tell me what I have to do? Safe Mode = Off? Assign the php_admin_value open_basedir none?

Thanks for help!

Martin
atrol
Site Admin
Posts: 8534
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: SYSTEM WARNING: file_exists() [function.file-exists]: op

Post by atrol »

search for "open_basedir" in file php.ini
Maybe you have to add the path to your fonts
Please use Search before posting and read the Manual
Post Reply