Failed opening 'SiteTest: Firefox.php' when running Yii Functional Test

Posted by Phelios on Stack Overflow See other posts from Stack Overflow or by Phelios
Published on 2012-05-17T09:35:05Z Indexed on 2012/07/01 9:16 UTC
Read the original article Hit count: 313

Filed under:
|
|
|
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).

© Stack Overflow or respective owner

Related posts about php

Related posts about selenium