Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Server upgrades/hiccups/don't panic
#16
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.
"The present is theirs. The future, for which I really worked, is mine."
- Nikola Tesla

"My - y - my - your - my vision has permutated. My - y - my - your - my plans have followed a path unpredicted by the union of Nod and GDI. Your - my - our - our directives must be reassessed." - Kane/CABAL

[Image: 9853.png]
Reply
#17
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.
Forum Rules

(01.06.2011, 05:43:25)kenosis Wrote: Oh damn don't be disgraced again!

(25.06.2011, 20:42:59)Nighthawk Wrote: The proverbial bearded omni-bug may be dead, but the containment campaign is still being waged in the desert.
Reply
#18
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...
[Image: osen2o7mpmm4jg1fs0.jpg]
Reply
#19
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.

Worth playing: 1 | 2 | 3
Reply
#20
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
Forum Rules

(01.06.2011, 05:43:25)kenosis Wrote: Oh damn don't be disgraced again!

(25.06.2011, 20:42:59)Nighthawk Wrote: The proverbial bearded omni-bug may be dead, but the containment campaign is still being waged in the desert.
Reply
#21
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?
[Image: osen2o7mpmm4jg1fs0.jpg]
Reply
#22
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".

Worth playing: 1 | 2 | 3
Reply
#23
Thx, I'll try it!
[Image: osen2o7mpmm4jg1fs0.jpg]
Reply
#24
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


Attached Files Thumbnail(s)
Less than 1 minute ago" />   
Reply
#25
Good for them... yeah, that's cause you are not receiving http://www.renegadeprojects.com/navbar.css which is responsible for beautifying it.

Worth playing: 1 | 2 | 3
Reply
#26
indeed....... thats blocked............................

i supose you can delete the ip address exception then...
Reply
#27
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.
Forum Rules

(01.06.2011, 05:43:25)kenosis Wrote: Oh damn don't be disgraced again!

(25.06.2011, 20:42:59)Nighthawk Wrote: The proverbial bearded omni-bug may be dead, but the containment campaign is still being waged in the desert.
Reply
#28
indeed, daily.

my guess would "games".

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

(I removed SpecialBob today, just FYI.)

Worth playing: 1 | 2 | 3
Reply
#30
What/Who is "speacialbob"?
[Image: osen2o7mpmm4jg1fs0.jpg]
Reply




Users browsing this thread: 1 Guest(s)