Renegade Projects Network Forums

Full Version: Server upgrades/hiccups/don't panic
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
I tried to suggest a feature by clicking "Report Issue" and this is what I got:
SYSTEM WARNING: main(): open_basedir restriction in effect. File(/var/www/includes/classes/JavaScript.php) is not within the allowed path(s): (/var/www/vhosts/bugs.renegadeprojects.com/httpdocs:/tmp)

SYSTEM WARNING: main(classes/JavaScript.php): failed to open stream: Operation not permitted

SYSTEM WARNING: main(): Failed opening 'classes/JavaScript.php' for inclusion (include_path='/var/www/vhosts/bugs.renegadeprojects.com/httpdocs/:/var/www/vhosts/bugs.renegadeprojects.com/httpdocs/core/:.:/var/www/includes')

SYSTEM WARNING: main(): open_basedir restriction in effect. File(/var/www/includes/classes/Prototype.php) is not within the allowed path(s): (/var/www/vhosts/bugs.renegadeprojects.com/httpdocs:/tmp)

SYSTEM WARNING: main(classes/Prototype.php): failed to open stream: Operation not permitted

SYSTEM WARNING: main(): Failed opening 'classes/Prototype.php' for inclusion (include_path='/var/www/vhosts/bugs.renegadeprojects.com/httpdocs/:/var/www/vhosts/bugs.renegadeprojects.com/httpdocs/core/:.:/var/www/includes')

SYSTEM WARNING: main(): open_basedir restriction in effect. File(/var/www/includes/classes/Scriptaculous.php) is not within the allowed path(s): (/var/www/vhosts/bugs.renegadeprojects.com/httpdocs:/tmp)

SYSTEM WARNING: main(classes/Scriptaculous.php): failed to open stream: Operation not permitted

SYSTEM WARNING: main(): Failed opening 'classes/Scriptaculous.php' for inclusion (include_path='/var/www/vhosts/bugs.renegadeprojects.com/httpdocs/:/var/www/vhosts/bugs.renegadeprojects.com/httpdocs/core/:.:/var/www/includes')


P.S: I did it in both Firefox and Internet Explorer and got the same result.
Yeah, yeah, got the same when I tried to update an issue. Guess our god is more of a demi-god. Arf

Thanks for reporting, though.
I got the same problem, solution: http://www.gadberry.com/aaron/2006/02/09/plesk_vhost
The HE FAQ has also an article about custom server configs...
Hm. Thanks for the vote of confidence, Ren.

Anyway, gordon, that's not exactly what the problem is. I know what the problem is, but it'll take me some time to find the actual culprit. Problem is:
In httpdocs/core.php:
<?php
$t_core_path = './core';
include($t_core_path . '/stuff.php');
?>
, and in httpdocs/core/stuff.php:
<?php
include('blargh.php');
?>
One would assume that the second snippet includes httpdocs/core/blargh.php . It does not. It wants to include httpdocs/blargh.php . This is NOT PHP5's fault. According to php devs, that's intentional. I have considered several solutions, all of which seem suboptimal. For now, I added the whole directory hierarchy to include_path which bloated it to 2300 chars. I will see if I can find a better fix.
gordon-creAtive Wrote:I got the same problem, solution: http://www.gadberry.com/aaron/2006/02/09/plesk_vhost
The HE FAQ has also an article about custom server configs...
The problem is not that we don't know how to turn off or modify safe mode or open_basedir restrictions...the problem is that they make sense, and that we shouldn't have to turn them off. (After all, the error pops up for a reason - the script is doing something bad. Just turning off the safety measures to allow it would be a Westwood/Microsoft kind of solution.)

DCoder Wrote:Hm. Thanks for the vote of confidence, Ren. [...]
I showed confidence and gave praise above. I got a dozen red lines of errors in response Tongue
I had to turn of the basedir stuff in order to get MediaWiki 1.11 work - is there a better solution? How did you solve this DCoder?
We didn't need to mess with modenc's open_basedir at all, it worked fine from the beginning. On that vhost, include_path is ".:/var/www/includes" and open_basedir is "/var/www/vhosts/modenc.renegadeprojects.com/httpdocs:/tmp".
Thx, I'll try it!
ummm... the navbar is displaying all its links vertically, at the top of every page...

Edit: perhaps its just me, IT services seem to have blocked everything on renegadeprojects except for the forums Mad
Good for them... yeah, that's cause you are not receiving http://www.renegadeprojects.com/navbar.css which is responsible for beautifying it.
indeed....... thats blocked............................

i supose you can delete the ip address exception then...
Given that our site includes neither porn nor warez, it's interesting that we got blocked...guess we showed up quite often in their logs.
indeed, daily.

my guess would "games".

whats most interesting is how they blocked EVERYTHING except the forum, qdb, modenc, etc, but not he forum.
"How" is simple. It's "why" that matters.

(I removed SpecialBob today, just FYI.)
What/Who is "speacialbob"?
Pages: 1 2 3