PHP warning

copy(E:\etc\www\Question\regis\assets\d0169172\css\font-awesome.css): failed to open stream: Invalid argument

E:\etc\www\Question\regis\framework\utils\CFileHelper.php(152)

140 
141         $folder=opendir($src);
142         while(($file=readdir($folder))!==false)
143         {
144             if($file==='.' || $file==='..')
145                 continue;
146             $path=$src.DIRECTORY_SEPARATOR.$file;
147             $isFile=is_file($path);
148             if(self::validatePath($base,$file,$isFile,$fileTypes,$exclude))
149             {
150                 if($isFile)
151                 {
152                     copy($path,$dst.DIRECTORY_SEPARATOR.$file);
153                     if(isset($options['newFileMode']))
154                         @chmod($dst.DIRECTORY_SEPARATOR.$file,$options['newFileMode']);
155                 }
156                 elseif($level)
157                     self::copyDirectoryRecursive($path,$dst.DIRECTORY_SEPARATOR.$file,$base.'/'.$file,$fileTypes,$exclude,$level-1,$options);
158             }
159         }
160         closedir($folder);
161     }
162 
163     /**
164      * Returns the files found under the specified directory and subdirectories.

Stack Trace

#4
+
 E:\etc\www\Question\regis\protected\extensions\EFontAwesome\components\EFontAwesome.php(41): CAssetManager->publish("E:\etc\www\Question\regis\protected\extensions\EFontAwesome\asse...", false, -1, true)
36     public function getAssetsUrl() {
37         if (isset($this->_assetsUrl))
38             return $this->_assetsUrl;
39         else {
40             $assetsPath = Yii::getPathOfAlias('efontawesome.assets');
41             $assetsUrl = Yii::app()->assetManager->publish($assetsPath, false, -1, YII_DEBUG);
42             return $this->_assetsUrl = $assetsUrl;
43         }
44     }
45 }
#5
+
 E:\etc\www\Question\regis\protected\extensions\EFontAwesome\components\EFontAwesome.php(27): EFontAwesome->getAssetsUrl()
22             Yii::setPathOfAlias('efontawesome', realpath(dirname(__FILE__) . '/..'));
23 
24         // Prevents the extension from registering scripts and publishing assets when ran from the command line.
25         if (Yii::app() instanceof CConsoleApplication)
26             return;
27         Yii::app()->getClientScript()->registerCssFile($this->getAssetsUrl() . "/css/font-awesome.css"); //, $media);
28 
29         parent::init();
30     }
31 
32     /**
#11
+
 E:\etc\www\Question\regis\index.php(13): YiiBase::createWebApplication("E:\etc\www\Question\regis/protected/config/main.php")
08 defined('YII_DEBUG') or define('YII_DEBUG',true);
09 // specify how many levels of call stack should be shown in each log message
10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
11 
12 require_once($yii);
13 Yii::createWebApplication($config)->run();
2024-03-29 19:26:13 Apache/2.4.10 (Win64) mod_fcgid/2.3.9 OpenSSL/1.0.1j mod_watch/4.3P PHP/5.6.19 Yii Framework/1.1.15