Spitfire //Error page

410: Upload was deleted

Upload was deleted

Further error information To hide this set debug_mode to false.

The stacktrace displays the function calls made that led to the error. They are displayed in an inverted order to how they were called.

Stack trace for "Upload was deleted"

ImageController->__call ( )
  1. $upload = db()->table('upload')->get('_id', $name)->first(true);
  2. $media = db()->table('media')->get('upload__id', $upload->_id)->where('format', self::$translateSizes[$size])->all();
  3. /*
  4. * Make sure the application does not provide any deleted uploads.
  5. */
  6. if ($upload->deleted) {
  7. throw new PublicException('Upload was deleted', 410);
  8. }
  9. if ($upload->figure) {
call_user_func_array ( )
    [Internal function]
spitfire\core\Context->run ( )
  1. call_user_func_array(Array($this->controller, '_onload'), Array($this->action));
  2. }
  3. $this->middleware->before();
  4. #Check if the controller can handle the request
  5. $request = Array($this->controller, $this->action);
  6. if (is_callable($request)) { $_return = call_user_func_array($request, $this->object); }
  7. else { throw new PublicException('Page not found', 404, new PrivateException('Action not found', 0)); }
  8. $this->middleware->after();
spitfire\SpitFire->fire ( )
  1. #Define the context, include the application's middleware configuration.
  2. current_context($initContext);
  3. include CONFIG_DIRECTORY . 'middleware.php';
  4. #Get the return context
  5. /*@var $context Context*/
  6. $context = $initContext->run();
  7. #End debugging output
  8. $context->view->set('_SF_DEBUG_OUTPUT', ob_get_clean());
/var/www/portfolio.commishes.com/public/index.php ( )
  1. include __DIR__ . '/vendor/autoload.php';
  2. include __DIR__ . '/spitfire/bootstrap.php';
  3. include __DIR__ . '/bin/settings/services.php';
  4. ini_set('memory_limit', '128M');/**/
  5. /* Call the selected controller with the selected method. */
  6. spitfire()->fire();

Debugging messages To hide this set debug_mode to false.

List of messages the app generated during it's execution