ErrorException

HTTP 500 Whoops, looks like something went wrong.

Warning: fopen(/var/www/footers_com__usr/data/www/footers.com.ua/storage/cache/cache.store.1711630861): failed to open stream: No such file or directory

Exception

ErrorException

  1.     public function get($key) {
  2.         $files glob(DIR_CACHE 'cache.' preg_replace('/[^A-Z0-9\._-]/i'''$key) . '.*');
  3.         if ($files) {
  4.             $handle fopen($files[0], 'r');
  5.             flock($handleLOCK_SH);
  6.             $size filesize($files[0]);
  1.      * @param    string $key    The cache key name
  2.      *
  3.      * @return    string
  4.      */
  5.     public function get($key) {
  6.         return $this->adaptor->get($key);
  7.     }
  8.     
  9.     /**
  10.      * 
  11.      *
  1. <?php
  2. class ModelSettingStore extends Model {
  3.     public function getStores() {
  4.         $store_data $this->cache->get('store');
  5.         if (!$store_data) {
  6.             $query $this->db->query("SELECT * FROM " DB_PREFIX "store ORDER BY url");
  7.             $store_data $query->rows;
  1.                 $jc_args $args;
  2.                 if ($this->registry->get('seocms_cache_status')) {
  3.                        $jetcache_output $this->registry->get('controller_jetcache_jetcache')->model_from_cache($route$method$jc_args);
  4.                 }
  5.                 if ($jetcache_output === false) {
  6.                     $output call_user_func_array($callable$args);
  7.                     $jetcache_from_cache false;
  8.                 } else {
  9.                     $output $jetcache_output;
  10.                     $jetcache_from_cache true;
  11.                 }
  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 /var/www/footers_com__usr/data/www/footers.com.ua/catalog/controller/record/langmark.php (line 48)
  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 /var/www/footers_com__usr/data/www/footers.com.ua/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', '/var/www/footers_com__usr/data/www/footers.com.ua/catalog/controller/record/langmark.php', object(Registry)) in /var/www/footers_com__usr/data/www/footers.com.ua/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. }
  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.         
  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 /var/www/footers_com__usr/data/www/footers.com.ua/system/framework.php (line 169)
  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('/var/www/footers_com__usr/data/www/footers.com.ua/system/framework.php') in /var/www/footers_com__usr/data/www/footers.com.ua/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. }
  1. }
  2. // Startup
  3. require_once(DIR_SYSTEM 'startup.php');
  4. start('catalog');

Stack Trace

ErrorException

ErrorException:
Warning: fopen(/var/www/footers_com__usr/data/www/footers.com.ua/storage/cache/cache.store.1711630861): failed to open stream: No such file or directory

  at /var/www/footers_com__usr/data/www/footers.com.ua/system/library/cache/file.php:28
  at Cache\File->get('store')
     (/var/www/footers_com__usr/data/www/footers.com.ua/storage/modification/system/library/cache.php:41)
  at Cache->get('store')
     (/var/www/footers_com__usr/data/www/footers.com.ua/catalog/model/setting/store.php:4)
  at ModelSettingStore->getStores()
     (/var/www/footers_com__usr/data/www/footers.com.ua/storage/modification/system/engine/loader.php:286)
  at Loader->{closure}(array(), array())
     (/var/www/footers_com__usr/data/www/footers.com.ua/system/engine/proxy.php:47)
  at Proxy->__call('getStores', array('getStores', array()))
     (/var/www/footers_com__usr/data/www/footers.com.ua/catalog/controller/record/langmark.php:48)
  at ControllerRecordLangmark->__construct(object(Registry))
     (/var/www/footers_com__usr/data/www/footers.com.ua/system/helper/seocmsprofunc.php:602)
  at agoo_cont_loading('record/langmark', '/var/www/footers_com__usr/data/www/footers.com.ua/catalog/controller/record/langmark.php', object(Registry))
     (/var/www/footers_com__usr/data/www/footers.com.ua/system/helper/seocmsprofunc.php:585)
  at agoo_cont('record/langmark', object(Registry))
     (/var/www/footers_com__usr/data/www/footers.com.ua/storage/modification/catalog/controller/startup/startup.php:136)
  at ControllerStartupStartup->index()
     (/var/www/footers_com__usr/data/www/footers.com.ua/storage/modification/system/engine/action.php:79)
  at Action->execute(object(Registry))
     (/var/www/footers_com__usr/data/www/footers.com.ua/storage/modification/system/engine/router.php:78)
  at Router->execute(object(Action))
     (/var/www/footers_com__usr/data/www/footers.com.ua/storage/modification/system/engine/router.php:57)
  at Router->dispatch(object(Action), object(Action))
     (/var/www/footers_com__usr/data/www/footers.com.ua/system/framework.php:169)
  at require_once('/var/www/footers_com__usr/data/www/footers.com.ua/system/framework.php')
     (/var/www/footers_com__usr/data/www/footers.com.ua/system/startup.php:104)
  at start('catalog')
     (/var/www/footers_com__usr/data/www/footers.com.ua/index.php:22)