We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Phalcon\Validation\Validator\File

A strange question,Phalcon Version 2.0.6 In the same two server environment:

# php -r "echo Phalcon\Version::get();"
2.0.6
# php -v
PHP 5.4.40 (cli) (built: Apr 23 2015 21:23:18) 
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies

One of the servers Exception information

Class 'Phalcon\Validation\Validator\File' not found in <b>/app/controllers/AccountController.php</b> on line <b>158</b><br />


85.5k
edited Sep '15

check both php_ifno and see if they both have phalcon installed.

I dont understand fully the situation btw ...