You have to include the sfFinder class with a require. A simple PHP 
script can't autoload classes.

Fabien

--
Fabien Potencier
Sensio CEO - symfony lead developer
http://www.sensiolabs.com/
http://www.symfony-project.com/
Sensio Labs
Tél: +33 1 40 99 80 80


pal wrote:
> Hello Everyone,
> 
> When i run this code
> <?php
> $files = sfFinder::type('file')->name('*.csv')->in('C://Documents and
> Settings/Owner/Desktop/lab1_new');
> echo "file found";
> ?>
> 
> I get the error
> Fatal error: Class 'sfFinder' not found in C:\Program Files\Apache
> Group\Apache2
> \htdocs\test.php on line 2
> 
> Any help is appreciated.
> 
> Thanks in advance
> 
> 
> > 
> 
> 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to