Class 'Intellex\Upload\File' not found
-
/home/bbsoft/public_html/bbsoft.rs/VectorCMS/Controller/UploadController.php : 73
66 # Clear the optional extension67 $token = preg_replace('~\.\w+$~', '', $token);6869 # Get file70 try {71 $file = \Intellex\Upload\Handler::loadFile($token, TMP . 'upload', SECURITY_SALT);72 } catch (Exception $e) {73 $file = new \Intellex\Upload\File(VECTORCMS_ROOT . WEBROOT_DIR . DS . 'img' . DS . 'no-image.png');74 }7576 # Get the requested size77 $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;7980 # Display file81 $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 : 218211 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 }220221 $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 : 933926 $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 }935936 }937 -
App
::
_checkFatalError
(
)
/home/bbsoft/public_html/bbsoft.rs/lib/Cake/Core/App.php : 906899 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 }908909 /**910 * Check if a fatal error happened and trigger the configured handler if configured911 *912 * @return void913 */914 protected static function _checkFatalError() { -
App
::
shutdown
(
)
1