No,
rename your Folder to MyFolder or Directory :)

On Dec 8, 11:04 pm, bitchain <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> Just started out with Cake today and enjoying it so far. I have setup
> an application that has a model called Folder. This seems to be causes
> errors in the core as follows;
>
> Notice (8): Array to string conversion [CORE\cake\libs\folder.php,
> line 108]
> Warning (2): preg_match() expects parameter 2 to be string, array
> given [CORE\cake\libs\folder.php, line 263]
> Notice (8): Array to string conversion [CORE\cake\libs\folder.php,
> line 112]
>
> Is it illegal for me to name a model Folder? I seee that cake/libs/
> folder defined a class called Folder. This seems unusual, does Cake
> not use any kind of namspace or class prefixes to prevent this kind of
> thing?
>
> Cheers guys
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to