Re: safe mode error

2008-01-16 Thread eid

Thank you so much Max!
It works great! :)

On 16 Jan., 00:52, Max [EMAIL PROTECTED] wrote:
 I'm on a shared host too.

 in configure.php

 $path = rtrim($path, DS);
 if ( $path=='/usr/local/lib/php') continue;//for SAFE MODE
 Restriction
 if ( $path=='.'  || in_array(realpath($path), $used)) {
 continue;
 }

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: safe mode error

2008-01-15 Thread eid

Sorry to bring this back up, but the error still shows at random
moments.

eid skrev:
 My cake frontpage is throwing me an error:
 Warning (2): realpath() [function.realpath]: SAFE MODE Restriction in
 effect.  The script whose uid is 1235 is not allowed to access /usr/
 local/lib/php owned by uid 0 [CORE/cake/libs/configure.php, line 458]
 When I used the pre-beta version this error never showed, I'm only
 seeing it now I've upgraded to the beta.
 The thing is, it doesn't show on every page load.Visit www.sachse.nu
 to see for yourselves, try refreshing and it should show eventually.
 What can I do to remove it? I'm on a shared host, so I have no control
 over safe mode.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: safe mode error

2008-01-15 Thread Max

I'm on a shared host too.

in configure.php

$path = rtrim($path, DS);
if ( $path=='/usr/local/lib/php') continue;//for SAFE MODE
Restriction
if ( $path=='.'  || in_array(realpath($path), $used)) {
continue;
}

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---