The following warnings occurred: | |||||||||||||||
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(287) : eval()'d code PHP 8.2.24 (Linux)
|
Server upgrades/hiccups/don't panic - Printable Version +- Renegade Projects Network Forums (https://forums.renegadeprojects.com) +-- Forum: General Forums (https://forums.renegadeprojects.com/forumdisplay.php?fid=1) +--- Forum: Propaganda Tower (https://forums.renegadeprojects.com/forumdisplay.php?fid=9) +--- Thread: Server upgrades/hiccups/don't panic (/showthread.php?tid=905) |
RE: Server upgrades/hiccups/don't panic - Professor_Tesla - 15.11.2007 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. RE: Server upgrades/hiccups/don't panic - Renegade - 15.11.2007 Yeah, yeah, got the same when I tried to update an issue. Guess our god is more of a demi-god. Thanks for reporting, though. RE: Server upgrades/hiccups/don't panic - gordon-creAtive - 15.11.2007 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... RE: Server upgrades/hiccups/don't panic - DCoder - 15.11.2007 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. RE: Server upgrades/hiccups/don't panic - Renegade - 15.11.2007 gordon-creAtive Wrote:I got the same problem, solution: http://www.gadberry.com/aaron/2006/02/09/plesk_vhostThe 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 RE: Server upgrades/hiccups/don't panic - gordon-creAtive - 15.11.2007 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? RE: Server upgrades/hiccups/don't panic - DCoder - 15.11.2007 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". RE: Server upgrades/hiccups/don't panic - gordon-creAtive - 15.11.2007 Thx, I'll try it! RE: Server upgrades/hiccups/don't panic - Bobingabout - 20.11.2007 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 RE: Server upgrades/hiccups/don't panic - DCoder - 20.11.2007 Good for them... yeah, that's cause you are not receiving www.renegadeprojects.com/navbar.css which is responsible for beautifying it. RE: Server upgrades/hiccups/don't panic - Bobingabout - 20.11.2007 indeed....... thats blocked............................ i supose you can delete the ip address exception then... RE: Server upgrades/hiccups/don't panic - Renegade - 20.11.2007 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. RE: Server upgrades/hiccups/don't panic - Bobingabout - 21.11.2007 indeed, daily. my guess would "games". whats most interesting is how they blocked EVERYTHING except the forum, qdb, modenc, etc, but not he forum. RE: Server upgrades/hiccups/don't panic - DCoder - 21.11.2007 "How" is simple. It's "why" that matters. (I removed SpecialBob today, just FYI.) RE: Server upgrades/hiccups/don't panic - gordon-creAtive - 21.11.2007 What/Who is "speacialbob"? |