Current time: 11-26-2024, 12:01 AM Hello There, Guest! (LoginRegister)


Post Reply 
system tools overview
Author Message
Keen Offline
Newbie
*

Posts: 5
Joined: Aug 2007
Reputation: 0
Post: #1
system tools overview
In subject menu i have following warning:
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/proc/openprom/SUNW,UltraSPARC@0,0/ecache-size) is not within the allowed path(s): (/var/www/ispcp/gui/:/etc/ispcp/:/proc/:/var/www/virtual/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/var/log) in /var/www/ispcp/gui/include/phpsysinfo/common_functions.php on line 332

As i know, this can be only if my system complied on SPARC processor, but i have PIII.
What should i do to resolve this problem?
Thanks.
08-13-2007 02:07 AM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #2
RE: system tools overview
Add "/proc" to the open_basedir directive in this domain's php.ini
08-13-2007 05:36 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Keen Offline
Newbie
*

Posts: 5
Joined: Aug 2007
Reputation: 0
Post: #3
RE: system tools overview
/proc is added, but i don't have /proc/openprom/......
So i get this errors. Why phpsysinfo assumes that my system is SPARC?
08-14-2007 07:00 AM
Find all posts by this user Quote this message in a reply
raphael Offline
Member
***

Posts: 474
Joined: Apr 2007
Reputation: 8
Post: #4
RE: system tools overview
feel free to contact phpsysinfo's author (if you do so, you could also ask him to add a GPL exception for ispCP, otherwise we won't be able to ship it with ispCP).
08-14-2007 08:05 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Bassmann Offline
Newbie
*

Posts: 5
Joined: Aug 2007
Reputation: 0
Post: #5
RE: system tools overview
Keen Wrote:/proc is added, but i don't have /proc/openprom/......
So i get this errors. Why phpsysinfo assumes that my system is SPARC?

Did you add ":/proc" or ":/proc/" ?

":/proc/" does already exist in ispcp's installed phpX.ini. And now i don't have errors anymore after changing ":/proc/" to ":/proc". Can you check this please?

Even when the directory is empty it does work (openvz environment).

Bassmann
(This post was last modified: 08-20-2007 09:53 PM by Bassmann.)
08-20-2007 09:34 PM
Find all posts by this user Quote this message in a reply
raphael Offline
Member
***

Posts: 474
Joined: Apr 2007
Reputation: 8
Post: #6
RE: system tools overview
Quote:changing ":/proc/" to ":/proc"
that should make no difference. The ending slash is to prevent accessing to directories like /procesors /procsomething
08-21-2007 07:34 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Bassmann Offline
Newbie
*

Posts: 5
Joined: Aug 2007
Reputation: 0
Post: #7
RE: system tools overview
raphael Wrote:that should [...]

But it works. Can you check this please? I'm using OpenVZ + ISPCP.
08-24-2007 08:55 PM
Find all posts by this user Quote this message in a reply
raphael Offline
Member
***

Posts: 474
Joined: Apr 2007
Reputation: 8
Post: #8
RE: system tools overview
Quote:Can you check this please?
what do you want me to check? this is related to PHP as the PHP interpreter; won't do anything there.

In any case you might want to report a bug at bugs.php.net and see what they tell you
08-25-2007 08:11 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)