ErrorException

HTTP 500 Whoops, looks like something went wrong.

Warning: unlink(/home/newsnike/sniker.ua/storage_sniker/cache/cache.store.1711641038): No such file or directory

Exception

ErrorException

  1.         $files glob(DIR_CACHE 'cache.' preg_replace('/[^A-Z0-9\._-]/i'''$key) . '.*');
  2.         if ($files) {
  3.             foreach ($files as $file) {
  4.                 if (file_exists($file)) {
  5.                     unlink($file);
  6.                 }
  7.             }
  8.         }
  9.     }
  10. }
  1.         return false;
  2.     }
  3.     public function set($key$value) {
  4.         $this->delete($key);
  5.         $file DIR_CACHE 'cache.' preg_replace('/[^A-Z0-9\._-]/i'''$key) . '.' . (time() + $this->expire);
  6.         $handle fopen($file'w');
File->set('store', array()) in /home/newsnike/sniker.ua/www/system/library/cache.php (line 53)
  1.      * @param    string    $value    The cache value
  2.      * 
  3.      * @return    string
  4.      */
  5.     public function set($key$value) {
  6.         return $this->adaptor->set($key$value);
  7.     }
  8.    
  9.     /**
  10.      * 
  11.      *
Cache->set('store', array()) in /home/newsnike/sniker.ua/www/catalog/model/setting/store.php (line 11)
  1.         if (!$store_data) {
  2.             $query $this->db->query("SELECT * FROM " DB_PREFIX "store ORDER BY url");
  3.             $store_data $query->rows;
  4.             $this->cache->set('store'$store_data);
  5.         }
  6.         return $store_data;
  7.     }
  8. }
  1.                 $method substr($routestrrpos($route'/') + 1);
  2.                 
  3.                 $callable = array($model[$key], $method);
  4.     
  5.                 if (is_callable($callable)) {
  6.                     $output call_user_func_array($callable$args);
  7.                 } else {
  8.                     throw new \Exception('Error: Could not call model/' $route '!');
  9.                 }                    
  10.             }
  11.             
Loader->{closure}(array(), array()) in /home/newsnike/sniker.ua/www/system/engine/proxy.php (line 47)
  1.                 $arg_data[] =& $arg;
  2.             }
  3.         }
  4.         
  5.         if (isset($this->{$key})) {        
  6.             return call_user_func_array($this->{$key}, $arg_data);    
  7.         } else {
  8.             $trace debug_backtrace();
  9.             
  10.             exit('<b>Notice</b>:  Undefined property: Proxy::' $key ' in <b>' $trace[1]['file'] . '</b> on line <b>' $trace[1]['line'] . '</b>');
  11.         }
Proxy->__call('getStores', array('getStores', array())) in /home/newsnike/sniker.ua/www/catalog/controller/record/langmark.php (line 47)
  1.             'store_id' => 0,
  2.             'name'     => $this->config->get('config_name'),
  3.             'url' => $config_url_0
  4.         );
  5.         $stores $this->model_setting_store->getStores();
  6.         foreach ($stores as $result) {
  7.             if ($this->protocol == 'https' && isset($result['ssl']) && $result['ssl'] != '') {
  8.                 $store_url $result['ssl'];
  9.             } else {
ControllerRecordLangmark->__construct(object(Registry)) in /home/newsnike/sniker.ua/www/system/helper/seocmsprofunc.php (line 602)
  1. }
  2. if (!function_exists('agoo_cont_loading')) {
  3.      function agoo_cont_loading ($cont$file$reg) {
  4.             $class 'Controller' preg_replace('/[^a-zA-Z0-9]/'''$cont);
  5.             include_once($file);
  6.             $reg->set('controller_' str_replace('/''_'$cont), new $class($reg));
  7.             return $reg;
  8.     }
  9. }
  10. if (!function_exists('getSCQueryString')) {
agoo_cont_loading('record/langmark', '/home/newsnike/sniker.ua/www/catalog/controller/record/langmark.php', object(Registry)) in /home/newsnike/sniker.ua/www/system/helper/seocmsprofunc.php (line 585)
  1.                 }
  2.             }
  3.         }
  4.         if (file_exists($file)) {
  5.            $reg agoo_cont_loading($cont$file$reg);
  6.            return $reg;
  7.         } else {
  8.             $file  DIR_APPLICATION 'controller/' $cont '.php';
  9.             if (file_exists($file)) {
  10.                  $reg agoo_cont_loading($cont$file$reg);
  1.                     } else {
  2.                         require_once(DIR_SYSTEM 'helper/seocmsprofunc.php');
  3.                     }
  4.                 }
  5.                 if (!$this->registry->get('controller_record_langmark')) {
  6.                        $this->registry agoo_cont('record/langmark'$this->registry);
  7.                 }
  8.             }
  9.             if ($this->config->get('ascp_settings') != '') {
  10.                 $langmark_settings $this->config->get('ascp_settings');
  1.         }
  2.         
  3.         $reflection = new ReflectionClass($class);
  4.         
  5.         if ($reflection->hasMethod($this->method) && $reflection->getMethod($this->method)->getNumberOfRequiredParameters() <= count($args)) {
  6.             return call_user_func_array(array($controller$this->method), $args);
  7.         } else {
  8.             return new \Exception('Error: Could not call ' $this->route '/' $this->method '!');
  9.         }
  10.     }
  11. }
Action->execute(object(Registry)) in /home/newsnike/sniker.ua/www/system/engine/router.php (line 67)
  1.      *
  2.      * @param    object    $action
  3.      * @return    object
  4.      */
  5.     private function execute(Action $action) {
  6.         $result $action->execute($this->registry);
  7.         if ($result instanceof Action) {
  8.             return $result;
  9.         } 
  10.         
Router->execute(object(Action)) in /home/newsnike/sniker.ua/www/system/engine/router.php (line 46)
  1.      */        
  2.     public function dispatch(Action $actionAction $error) {
  3.         $this->error $error;
  4.         foreach ($this->pre_action as $pre_action) {
  5.             $result $this->execute($pre_action);
  6.             if ($result instanceof Action) {
  7.                 $action $result;
  8.                 break;
Router->dispatch(object(Action), object(Action)) in /home/newsnike/sniker.ua/www/system/framework.php (line 168)
  1.         $route->addPreAction(new Action($value));
  2.     }
  3. }
  4. // Dispatch
  5. $route->dispatch(new Action($config->get('action_router')), new Action($config->get('action_error')));
  6. // Output
  7. $response->output();
require_once('/home/newsnike/sniker.ua/www/system/framework.php') in /home/newsnike/sniker.ua/www/system/startup.php (line 104)
  1. // Helper
  2. require_once(DIR_SYSTEM 'helper/general.php');
  3. require_once(DIR_SYSTEM 'helper/utf8.php');
  4. function start($application_config) {
  5.     require_once(DIR_SYSTEM 'framework.php');    
  6. }
start('catalog') in /home/newsnike/sniker.ua/www/index.php (line 19)
  1. }
  2. // Startup
  3. require_once(DIR_SYSTEM 'startup.php');
  4. start('catalog');

Stack Trace

ErrorException

ErrorException:
Warning: unlink(/home/newsnike/sniker.ua/storage_sniker/cache/cache.store.1711641038): No such file or directory

  at /home/newsnike/sniker.ua/www/system/library/cache/file.php:68
  at Cache\File->delete('store')
     (/home/newsnike/sniker.ua/www/system/library/cache/file.php:45)
  at Cache\File->set('store', array())
     (/home/newsnike/sniker.ua/www/system/library/cache.php:53)
  at Cache->set('store', array())
     (/home/newsnike/sniker.ua/www/catalog/model/setting/store.php:11)
  at ModelSettingStore->getStores()
     (/home/newsnike/sniker.ua/storage_sniker/modification/system/engine/loader.php:248)
  at Loader->{closure}(array(), array())
     (/home/newsnike/sniker.ua/www/system/engine/proxy.php:47)
  at Proxy->__call('getStores', array('getStores', array()))
     (/home/newsnike/sniker.ua/www/catalog/controller/record/langmark.php:47)
  at ControllerRecordLangmark->__construct(object(Registry))
     (/home/newsnike/sniker.ua/www/system/helper/seocmsprofunc.php:602)
  at agoo_cont_loading('record/langmark', '/home/newsnike/sniker.ua/www/catalog/controller/record/langmark.php', object(Registry))
     (/home/newsnike/sniker.ua/www/system/helper/seocmsprofunc.php:585)
  at agoo_cont('record/langmark', object(Registry))
     (/home/newsnike/sniker.ua/storage_sniker/modification/catalog/controller/startup/startup.php:128)
  at ControllerStartupStartup->index()
     (/home/newsnike/sniker.ua/storage_sniker/modification/system/engine/action.php:79)
  at Action->execute(object(Registry))
     (/home/newsnike/sniker.ua/www/system/engine/router.php:67)
  at Router->execute(object(Action))
     (/home/newsnike/sniker.ua/www/system/engine/router.php:46)
  at Router->dispatch(object(Action), object(Action))
     (/home/newsnike/sniker.ua/www/system/framework.php:168)
  at require_once('/home/newsnike/sniker.ua/www/system/framework.php')
     (/home/newsnike/sniker.ua/www/system/startup.php:104)
  at start('catalog')
     (/home/newsnike/sniker.ua/www/index.php:19)