<html><head><meta name="Generator" content="PSI HTML/CSS Generator"/>
<style type="text/css"><!--
body{font-family:'Arial';font-size:10pt;font-color:'#000000';}
LI{display:list-item;margin:0.00in;}
p{display:block;margin:0.00in;}
body{}
--></style>
</head><BODY ><div> </div>
<div><SPAN style="font-size:10pt;">Michael</SPAN></div>
<div> </div>
<div><SPAN style="font-size:10pt;">The line three is simply an include to read a config file from a sub-directory</SPAN></div>
<div> </div>
<div><SPAN style="font-size:10pt;">the actual line three is:</SPAN></div>
<div> </div>
<div><SPAN style="font-size:10pt;"> require('includes/application_top.php');</SPAN></div>
<div> </div>
<div><SPAN style="font-size:10pt;">and gives this error:</SPAN></div>
<div> </div>
<div><SPAN style="font-size:10pt;"> PHP Warning:  require(includes/application_top.php): failed to</SPAN></div>
<div><SPAN style="font-size:10pt;">>> open stream: Operation not permitted in</SPAN></div>
<div> </div>
<div> </div>
<div><SPAN style="font-size:10pt;">thanks</SPAN></div>
<div> </div>
<div><SPAN style="font-size:10pt;">t</SPAN></div>
<div> </div>
<div><SPAN style="font-size:10pt;"><br /><br /></span></div>
<div><SPAN style="font-size:10pt;color:navy;">> Hi Tony,</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">></SPAN></div>
<div><SPAN style="font-size:10pt;color:maroon;">>> Still looking for any help about this error:</SPAN></div>
<div><SPAN style="font-size:10pt;color:maroon;">>></SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> For starters I'd run this:</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">></SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> chown apache:site34 -R  /home/.sites/58/site34/web</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">></SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> That chowns all files and folders in /web of site34 to the same UID</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> and GID. That usually takes care of all the safemode related</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> include problems.</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">></SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> Drawback: You (or the siteAdmin) won't be able to upload files to</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> that folder through FTP.</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">></SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> Benefit: If the PHP script(s) need to generate files and folders,</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> they now can. And it won't create additional safemode problems</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> either.</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">></SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> Next I'd check this error message:</SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">></SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">>>>> Operation not permitted in</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">>>>> /home/.sites/58/site34/web/index.php on line 3</SPAN></div>
<div><SPAN style="font-size:10pt;color:blue;">>>>></SPAN></div>
<div><SPAN style="font-size:10pt;color:navy;">> What does line 3 in that index.php actually do?</SPAN></div>
</body></html>