-- Matthias Buesing <[EMAIL PROTECTED]> wrote
(on Sunday, 10 August 2008, 06:24 PM +0200):
> i'd like to use the New File Transfer HTTP Feature.
> 
> I adsorbed a little test-Script from
> http://www.thomasweidner.com/flatpress/index.php
> for this Feature and all i get is a Errormessage:
> 
> "Fatal error: require_once(): Failed opening required
> 'Zend/Validate/File/Abstract.php'"
> 
> And of course the File does not exists. Neither in 1.5 nor
> in 1.6 or in the svn.
> 
> Hmm Any Idea how to fix it?

Ooof -- this is in the ImageSize validator it seems. I'll fix in trunk,
and we'll see if another RC is required as a result.

Thanks for the report.


> $upload = new Zend_File_Transfer_Adapter_Http();
> $upload->addValidators('Size', '250kB')
>           ->addValidators('Count', 5)
>           ->addValidators('FilesSize', '1MB')
>           ->addValidators('Extension', 'gif, jpg, png')
>           ->addValidators('ImageSize', array(10, 10, 1024, 768))
>           ->setDestination('C:/uploads');

-- 
Matthew Weier O'Phinney
Software Architect       | [EMAIL PROTECTED]
Zend Framework           | http://framework.zend.com/

Reply via email to