PHP notice

copy(): write of 8192 bytes failed with errno=122 Disk quota exceeded

/home/gmtransvn/domains/gmtrans.vn/public_html/core/utils/CFileHelper.php(130)

118             @chmod($dst,0777);
119         $folder=opendir($src);
120         while(($file=readdir($folder))!==false)
121         {
122             if($file==='.' || $file==='..')
123                 continue;
124             $path=$src.DIRECTORY_SEPARATOR.$file;
125             $isFile=is_file($path);
126             if(self::validatePath($base,$file,$isFile,$fileTypes,$exclude))
127             {
128                 if($isFile)
129                 {
130                     copy($path,$dst.DIRECTORY_SEPARATOR.$file);
131                     if(isset($options['newFileMode']))
132                         @chmod($dst.DIRECTORY_SEPARATOR.$file, $options['newFileMode']);
133                 }
134                 else if($level)
135                     self::copyDirectoryRecursive($path,$dst.DIRECTORY_SEPARATOR.$file,$base.'/'.$file,$fileTypes,$exclude,$level-1,$options);
136             }
137         }
138         closedir($folder);
139     }
140 
141     /**
142      * Returns the files found under the specified directory and subdirectories.

Stack Trace

#4
+
 /home/gmtransvn/domains/gmtrans.vn/public_html/application/modules/frontend/FrontendModule.php(19): CAssetManager->publish("/home/gmtransvn/domains/gmtrans.vn/public_html/application/modul...", false, -1, true)
14 
15     private $_assetsUrl;
16 
17     public function getAssetsUrl() {
18         if ($this->_assetsUrl === null)
19             $this->_assetsUrl = Yii::app()->getAssetManager()->publish(Yii::getPathOfAlias('frontend.assets'), FALSE, -1, YII_DEBUG);
20         return $this->_assetsUrl;
21     }
22 
23     public function beforeControllerAction($controller, $action) {
24         if (parent::beforeControllerAction($controller, $action)) {
#5
+
 /home/gmtransvn/domains/gmtrans.vn/public_html/application/components/BaseController.php(21): FrontendModule->getAssetsUrl()
16         return $this->createAbsoluteUrl('/') . '/static';
17     }
18 
19     public function getAssetsUrl() {
20         if ($this->getModule() != null) {
21             return $this->getModule()->getAssetsUrl();
22         }
23         if ($this->_assetsUrl === null)
24             $this->_assetsUrl = Yii::app()->getAssetManager()->publish(Yii::getPathOfAlias('application.assets'), FALSE, -1, YII_DEBUG);
25         return $this->_assetsUrl;
26     }
#6
+
 /home/gmtransvn/domains/gmtrans.vn/public_html/application/modules/frontend/components/Controller.php(18): BaseController->getAssetsUrl()
13      */
14     public function init() {
15         parent::init();
16         $this->pageTitle = Language::model()->translate('site-title');
17         $script = Yii::app()->getClientScript();
18         $script->registerScriptFile($this->getAssetsUrl() . '/js/main.js');
19         $script->registerCssFile($this->getAssetsUrl() . '/css/style.css');
20         $script->registerScriptFile($this->getAssetsUrl() . '/js/jquery.nivo.slider.js');
21         $script->registerCssFile($this->getAssetsUrl() . '/themes/default/default.css');
22     }
23 
2024-03-29 01:55:20 Apache/2 Yii Framework/1.1.12