/home/2/r/restaurantfauna/craft/app/framework/caching/CCache.php(337)
325 protected function flushValues() 326 { 327 throw new CException(Yii::t('yii','{className} does not support flushValues() functionality.', 328 array('{className}'=>get_class($this)))); 329 } 330 331 /** 332 * Returns whether there is a cache entry with a specified key. 333 * This method is required by the interface ArrayAccess. 334 * @param string $id a key identifying the cached value 335 * @return boolean 336 */ 337 public function offsetExists($id) 338 { 339 return $this->get($id)!==false; 340 } 341 342 /** 343 * Retrieves the value from cache with a specified key. 344 * This method is required by the interface ArrayAccess. 345 * @param string $id a key identifying the cached value 346 * @return mixed the value stored in cache, false if the value is not in the cache or expired. 347 */ 348 public function offsetGet($id) 349 {
#0 |
+
–
/home/2/r/restaurantfauna/craft/app/framework/caching/CCache.php(49): CApplication->handleError(8192, "Return type of CCache::offsetExists($id) should either be compat...", "/home/2/r/restaurantfauna/craft/app/framework/caching/CCache.php", 337) 44 * 45 * @author Qiang Xue <qiang.xue@gmail.com> 46 * @package system.caching 47 * @since 1.0 48 */ 49 abstract class CCache extends CApplicationComponent implements ICache, ArrayAccess 50 { 51 /** 52 * @var string a string prefixed to every cache key so that it is unique. Defaults to null which means 53 * to use the {@link CApplication::getId() application ID}. If different applications need to access the same 54 * pool of cached data, the same prefix should be set for each of the applications explicitly. |
#1 |
+
–
/home/2/r/restaurantfauna/craft/app/framework/YiiBase.php(404): include("/home/2/r/restaurantfauna/craft/app/framework/caching/CCache.php") 399 { 400 // use include so that the error PHP file may appear 401 if(isset(self::$classMap[$className])) 402 include(self::$classMap[$className]); 403 elseif(isset(self::$_coreClasses[$className])) 404 include(YII_PATH.self::$_coreClasses[$className]); 405 else 406 { 407 // include class file relying on include_path 408 if(strpos($className,'\\')===false) // class without namespace 409 { |
#2 |
+
–
/home/2/r/restaurantfauna/craft/app/framework/caching/CFileCache.php(26): YiiBase::autoload("CCache") 21 * when storing a piece of data in the cache. Defaults to 100, meaning 0.01% chance. 22 * 23 * @author Qiang Xue <qiang.xue@gmail.com> 24 * @package system.caching 25 */ 26 class CFileCache extends CCache 27 { 28 /** 29 * @var string the directory to store cache files. Defaults to null, meaning 30 * using 'protected/runtime/cache' as the directory. 31 */ |
#3 |
+
–
/home/2/r/restaurantfauna/craft/app/framework/YiiBase.php(404): include("/home/2/r/restaurantfauna/craft/app/framework/caching/CFileCache...") 399 { 400 // use include so that the error PHP file may appear 401 if(isset(self::$classMap[$className])) 402 include(self::$classMap[$className]); 403 elseif(isset(self::$_coreClasses[$className])) 404 include(YII_PATH.self::$_coreClasses[$className]); 405 else 406 { 407 // include class file relying on include_path 408 if(strpos($className,'\\')===false) // class without namespace 409 { |
#4 |
+
–
/home/2/r/restaurantfauna/craft/app/etc/cache/FileCache.php(17): YiiBase::autoload("CFileCache") 12 */ 13 14 /** 15 * 16 */ 17 class FileCache extends \CFileCache 18 { 19 private $_gced = false; 20 private $_originalKey; 21 22 /** |
#5 |
+
–
/home/2/r/restaurantfauna/craft/app/framework/YiiBase.php(402): include("/home/2/r/restaurantfauna/craft/app/etc/cache/FileCache.php") 397 */ 398 public static function autoload($className) 399 { 400 // use include so that the error PHP file may appear 401 if(isset(self::$classMap[$className])) 402 include(self::$classMap[$className]); 403 elseif(isset(self::$_coreClasses[$className])) 404 include(YII_PATH.self::$_coreClasses[$className]); 405 else 406 { 407 // include class file relying on include_path |
#6 |
+
–
/home/2/r/restaurantfauna/craft/app/services/CacheService.php(51): YiiBase::autoload("Craft\FileCache") 46 break; 47 } 48 49 case CacheMethod::File: 50 { 51 $this->_cacheComponent = new FileCache(); 52 $this->_cacheComponent->cachePath = craft()->config->get('cachePath', ConfigFile::FileCache); 53 $this->_cacheComponent->gCProbability = craft()->config->get('gcProbability', ConfigFile::FileCache); 54 break; 55 } 56 |
#7 |
+
–
/home/2/r/restaurantfauna/craft/app/framework/base/CModule.php(387): Craft\CacheService->init() 382 if(!isset($config['enabled']) || $config['enabled']) 383 { 384 Yii::trace("Loading \"$id\" application component",'system.CModule'); 385 unset($config['enabled']); 386 $component=Yii::createComponent($config); 387 $component->init(); 388 return $this->_components[$id]=$component; 389 } 390 } 391 } 392 |
#8 |
+
–
/home/2/r/restaurantfauna/craft/app/etc/web/WebApp.php(592): CModule->getComponent("cache", true) 587 { 588 $component = parent::getComponent($id, false); 589 590 if (!$component && $createIfNull) 591 { 592 $component = parent::getComponent($id, true); 593 $this->_attachEventListeners($id); 594 } 595 596 return $component; 597 } |
#9 |
+
–
/home/2/r/restaurantfauna/craft/app/etc/web/WebApp.php(105): Craft\WebApp->getComponent("cache") 100 101 // Attach our Craft app behavior. 102 $this->attachBehavior('AppBehavior', new AppBehavior()); 103 104 // Initialize Cache, HttpRequestService and LogRouter right away (order is important) 105 $this->getComponent('cache'); 106 $this->getComponent('request'); 107 $this->getComponent('log'); 108 109 // So we can try to translate Yii framework strings 110 craft()->coreMessages->attachEventHandler('onMissingTranslation', array('Craft\LocalizationHelper', 'findMissingTranslation')); |
#10 |
+
–
/home/2/r/restaurantfauna/craft/app/framework/base/CApplication.php(165): Craft\WebApp->init() 160 161 $this->configure($config); 162 $this->attachBehaviors($this->behaviors); 163 $this->preloadComponents(); 164 165 $this->init(); 166 } 167 168 169 /** 170 * Runs the application. |
#11 |
+
–
/home/2/r/restaurantfauna/craft/app/index.php(194): CApplication->__construct(array("import" => array("application.framework.cli.commands.*", "application.framework.console.*", "application.framework.logging.CLogger", "application.lib.*"), "componentAliases" => array("app.assetsourcetypes.BaseAssetSourceType", "app.assetsourcetypes.GoogleCloudAssetSourceType", "app.assetsourcetypes.LocalAssetSourceType", "app.assetsourcetypes.RackspaceAssetSourceType", ...), "components" => array("db" => array("driverMap" => array("mysql" => "Craft\MysqlSchema"), "class" => "Craft\DbConnection"), "config" => array("class" => "Craft\ConfigService"), "i18n" => array("class" => "Craft\LocalizationService"), "formatter" => array("class" => "CFormatter"), ...), "params" => array("adminEmail" => "admin@website.com"), ...)) 189 // Load the full config 190 $config = require CRAFT_APP_PATH.'etc/config/main.php'; 191 192 // Initialize Craft\WebApp this way so it doesn't cause a syntax error on PHP < 5.3 193 $appClass = '\Craft\WebApp'; 194 $app = new $appClass($config); 195 196 $app->run(); |
#12 |
+
–
/home/2/r/restaurantfauna/public/english/index.php(14): require_once("/home/2/r/restaurantfauna/craft/app/index.php") 09 if (!is_file($path)) 10 { 11 exit('Could not find your craft/ folder. Please ensure that <strong><code>$craftPath</code></strong> is set correctly in '.__FILE__); 12 } 13 14 require_once $path; |