Re: Meio Image Upload in CakePhp 2.0 fail plz help

2011-10-28 Thread driss
thanks it works now just fine thank you

-- 
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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Meio Image Upload in CakePhp 2.0 fail plz help

2011-10-27 Thread K3
Try changing from:
App::import('Core', array('File', 'Folder'));
To:
App::import('Utility', array('File', 'Folder'));

-- 
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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Meio Image Upload in CakePhp 2.0 fail plz help

2011-10-27 Thread Vitor Pacheco

try this App::uses('Folder', 'Utility');

Em Qui 27 Out 2011 04:48:36 BRT, K3 escreveu:

Try changing from:
App::import('Core', array('File', 'Folder'));
To:
App::import('Utility', array('File', 'Folder'));



--
*Vitor Pacheco*
Skype: vitor.pacheco.costa
Msn: vitor-...@hotmail.com
Cel.: 71 8626-7909
Tel.: 71 3378-5778 / 71 3287-3475

--
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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Meio Image Upload in CakePhp 2.0 fail plz help

2011-10-26 Thread driss
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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php