Re: R: Included library

2007-04-04 Thread Davide

[EMAIL PROTECTED] wrote:
> is better to modify app/config/core.php
> and set
>
>   define('DEBUG', 0);

Yes, I know that this will hide me the warning and notice, but actually
I'm in beta and I need the debug in order to trace some situations, even
the configurations problems like that :)

Thanks
Davide




--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



R: Included library

2007-04-04 Thread m.sbragi

Hello Davide instead of putting a @ on functions in cake core files

is better to modify app/config/core.php 
and set 

define('DEBUG', 0);

that is the reccomended configuration for production site

> -Messaggio originale-
> Da: cake-php@googlegroups.com 
> [mailto:[EMAIL PROTECTED] Per conto di Davide
> Inviato: mercoledì 4 aprile 2007 11.10
> A: cake-php@googlegroups.com
> Oggetto: Included library
> 
> 
> Good morning.
> 
> I've released a site with cakephp. The structure is the 
> canonical cake one
> 
> www/
>   site/
> app/
> cake/
> ...
> 
> when I access the site it directly point to the site 
> directory so I got url like 
> http://site.domain.org/controller/param1/...
> 
> Actually when I require a page, every component, or other 
> required files are searched by the basic.php. I've noticed 
> that it seems to search for every cake file in the php ini 
> libs directory and finally in the site directory. This cause 
> me the following error.
> 
> Warning: file_exists() [function.file-exists]: open_basedir 
> restriction in effect. 
> File(/usr/share/pear/cake/libs/controller/components/acl.php) 
> is not within the allowed path(s): 
> (/var/www/theSite:/usr/share/php/) in 
> /home/www/theSite/cake/basics.php on line 1013
> 
> Beside the eventual server configuration error that I'm 
> checking with the admin, I would like to know if I missed 
> some configuration.
> 
> I've actually solved the problem putting the @ before the 
> file_exists() call.
> 
> Thank a lot and Bye
> Davide
> 
> 
> 
> 
> > 


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---