Fatal error: Class 'Intellex\Upload\File' not found in /home/bbsoft/public_html/bbsoft.rs/VectorCMS/Controller/UploadController.php on line 73
VectorCMS error

Class 'Intellex\Upload\File' not found


  • /home/bbsoft/public_html/bbsoft.rs/VectorCMS/Controller/UploadController.php : 73
    66         # Clear the optional extension 
    67         $token preg_replace('~\.\w+$~'''$token); 
    68  
    69         # Get file 
    70         try { 
    71             $file = \Intellex\Upload\Handler::loadFile($tokenTMP 'upload'SECURITY_SALT); 
    72         } catch (Exception $e) { 
    73             $file = new \Intellex\Upload\File(VECTORCMS_ROOT WEBROOT_DIR DS 'img' DS 'no-image.png'); 
    74         
    75  
    76         # Get the requested size 
    77         $width key_exists('w'$this->request->query) ? $this->request->query['w'] : Upload::PREVIEW_WIDTH
    78         $height key_exists('h'$this->request->query) ? $this->request->query['h'] : Upload::PREVIEW_HEIGHT
    79  
    80         # Display file 
    81         $this->layout false
  • ErrorHandler :: handleFatalError ( integer: 1 , Class 'Intellex\Upload\File' not… , /home/bbsoft/public_html/bbsoft.… , integer: 73 )
    /home/bbsoft/public_html/bbsoft.rs/lib/Cake/Error/ErrorHandler.php : 218
    211     public static function handleError($code$description$file null$line null$context null) { 
    212         if (error_reporting() === 0) { 
    213             return false
    214         
    215         $errorConfig Configure::read('Error'); 
    216         list($error$log) = static::mapErrorCode($code); 
    217         if ($log === LOG_ERR) { 
    218             return static::handleFatalError($code$description$file$line); 
    219         
    220  
    221         $debug Configure::read('debug'); 
    222         if ($debug) { 
    223             $data = array( 
    224                 'level' => $log
    225                 'code' => $code
    226                 'error' => $error
  • ErrorHandler :: handleError ( integer: 1 , Class 'Intellex\Upload\File' not… , /home/bbsoft/public_html/bbsoft.… , integer: 73 , Array ( ) )
    1 
  • call_user_func ( ErrorHandler::handleError , integer: 1 , Class 'Intellex\Upload\File' not… , /home/bbsoft/public_html/bbsoft.… , integer: 73 , Array ( ) )
    /home/bbsoft/public_html/bbsoft.rs/lib/Cake/Core/App.php : 933
    926             $errorHandler Configure::read('Error.consoleHandler'); 
    927         } else { 
    928             $errorHandler Configure::read('Error.handler'); 
    929         
    930         if (!is_callable($errorHandler)) { 
    931             return; 
    932         
    933         call_user_func($errorHandler$lastError['type'], $lastError['message'], $lastError['file'], $lastError['line'], array()); 
    934     
    935  
    936 
    937 
  • App :: _checkFatalError ( )
    /home/bbsoft/public_html/bbsoft.rs/lib/Cake/Core/App.php : 906
    899     public static function shutdown() { 
    900         if (static::$_cacheChange) { 
    901             Cache::write('file_map'array_filter(static::$_map), '_cake_core_'); 
    902         
    903         if (static::$_objectCacheChange) { 
    904             Cache::write('object_map', static::$_objects'_cake_core_'); 
    905         
    906         static::_checkFatalError(); 
    907     
    908  
    909 /** 
    910  Check if a fatal error happened and trigger the configured handler if configured 
    911  
    912  * @return void 
    913  */ 
    914     protected static function _checkFatalError() { 
  • App :: shutdown ( )
    1