Meio Image Upload in CakePhp 2.0 fail plz help
I'm working on small website with CakePHP but this time I wanted to
see the 2.0 features so I used the new released 2.0.
Everythings runs fine except for the Meio Image Upload Behavior It
want work because it doesn't find a file where is write down the
Folder class this what gives me when I run it :
Fatal error: Class 'Folder' not found in C:\xampp\htdocs\kam\app\Model
\Behavior\meio_upload.php on line 1068
and the line 1068 in my MeioUpload behavior is an instantiation of the
class Folder :
$folder = new Folder();
and this class Folder I understand that it comes from an extern file
which I don't know where is placed the import instruction for this
files in the MeioUpload is :
App::import('Core', array('File', 'Folder'));
I would appreciate any kind of help to solve this bug because I'm kind
of stuck here THANK U
I really like if someone explain to me the App::import how it
works ???
Driss BOUNOUAR
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home