Failed opening 'SiteTest: Firefox.php' when running Yii Functional Test
- by Phelios
Warning: include(): Failed opening 'SiteTest: Firefox.php' for inclusion
... \yii\framework\YiiBase.php on line 418
Yii v1.1.10
PHPUnit v3.6.10
PHPUnit_Selenium v 1.2.6
I get this error when trying to run the example on the book "Agile Web Development with Yii 1.1 and PHP5" I kind of feel that there is a problem with the phrase SiteTest:, it shouldn't be there. But, how do I fix this?
UPDATE (SOLVED):
Apparently, the problem is not the warning shown above, but there is another error down the road. It says that "curl_init()" is undefined. I already enabled the php_curl extension, but the PHP from CLI is not using the same .ini file as the apache one. So, after I enabled the php_curl in the CLI version of the ini, it works fine now (still giving the warning, but the test is running).