[BlueOnyx:03128] Re: php error

Darrell D. Mobley dmobley at uhostme.com
Thu Dec 17 16:41:05 -05 2009


Who owns the includes directory?

 

Who owns the application_top.php file?

 

What group?

 

Is safe_mode on in the GUI?

 

Is safe_mode on in php.ini?

 

Is safe_mode_gui on in the GUI?

 

Is safe_mode_gui on in php.ini?

 

What is the safe_mode include path in the GUI?

 

What is the safe_mode include path in php.ini?

 

What is the open_basedir include paths in the GUI?

 

What is the open_basedir include paths in php.ini?

 

Do you have anything in the /etc/httpd/conf/vhosts/site34.include file?

 

From: blueonyx-bounces at blueonyx.it [mailto:blueonyx-bounces at blueonyx.it] On
Behalf Of Tony C. Loosle
Sent: Thursday, December 17, 2009 4:07 PM
To: BlueOnyx General Mailing List
Subject: [BlueOnyx:03126] Re: php error

 

Must be the holidays....

 

Cant find any help on this include problem and no help on the tidy install?

 

 

any help would be greatly appreciated!

 

 

t

 

> 

> Michael

> 

> The line three is simply an include to read a config file from a

> sub-directory

> 

> the actual line three is:

> 

> require('includes/application_top.php');

> 

> and gives this error:

> 

> PHP Warning:  require(includes/application_top.php): failed to

> 

>>> open stream: Operation not permitted in

>>> 

> 

> thanks

> 

> t

> 

> 

>> Hi Tony,

>> 

>>> Still looking for any help about this error:

>>> 

>> For starters I'd run this:

>> 

>> chown apache:site34 -R  /home/.sites/58/site34/web

>> 

>> That chowns all files and folders in /web of site34 to the same

>> UID and GID. That usually takes care of all the safemode related

>> include problems.

>> 

>> Drawback: You (or the siteAdmin) won't be able to upload files to

>> that folder through FTP.

>> 

>> Benefit: If the PHP script(s) need to generate files and folders,

>> they now can. And it won't create additional safemode problems

>> either.

>> 

>> Next I'd check this error message:

>> 

>>>>> Operation not permitted in

>>>>> /home/.sites/58/site34/web/index.php on line 3

>>>>> 

>> What does line 3 in that index.php actually do?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20091217/719031a4/attachment.html>


More information about the Blueonyx mailing list