/www/htdocs/v037272/mbender/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 |
+
–
/www/htdocs/v037272/mbender/craft/app/etc/web/WebApp.php(675): CApplication->handleError(8192, "Return type of CCache::offsetExists($id) should either be compat...", "/www/htdocs/v037272/mbender/craft/app/framework/caching/CCache.p...", 337) 670 if (version_compare(PHP_VERSION, '7', '>=') && $code === 2 && strpos($message, 'should be compatible with') !== false) 671 { 672 return; 673 } 674 675 parent::handleError($code, $message, $file, $line); 676 } 677 678 // Private Methods 679 // ========================================================================= 680 |
#1 |
+
–
/www/htdocs/v037272/mbender/craft/app/framework/caching/CCache.php(49): Craft\WebApp->handleError(8192, "Return type of CCache::offsetExists($id) should either be compat...", "/www/htdocs/v037272/mbender/craft/app/framework/caching/CCache.p...", 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. |
#2 |
+
–
/www/htdocs/v037272/mbender/craft/app/framework/YiiBase.php(407): include("/www/htdocs/v037272/mbender/craft/app/framework/caching/CCache.p...") 402 { 403 // use include so that the error PHP file may appear 404 if(isset(self::$classMap[$className])) 405 include(self::$classMap[$className]); 406 elseif(isset(self::$_coreClasses[$className])) 407 include(YII_PATH.self::$_coreClasses[$className]); 408 elseif($classMapOnly) 409 return false; 410 else 411 { 412 // include class file relying on include_path |
#3 |
+
–
/www/htdocs/v037272/mbender/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 */ |
#4 |
+
–
/www/htdocs/v037272/mbender/craft/app/framework/YiiBase.php(407): include("/www/htdocs/v037272/mbender/craft/app/framework/caching/CFileCac...") 402 { 403 // use include so that the error PHP file may appear 404 if(isset(self::$classMap[$className])) 405 include(self::$classMap[$className]); 406 elseif(isset(self::$_coreClasses[$className])) 407 include(YII_PATH.self::$_coreClasses[$className]); 408 elseif($classMapOnly) 409 return false; 410 else 411 { 412 // include class file relying on include_path |
#5 |
+
–
/www/htdocs/v037272/mbender/craft/app/etc/cache/FileCache.php(14): YiiBase::autoload("CFileCache") 09 * @license http://buildwithcraft.com/license Craft License Agreement 10 * @see http://buildwithcraft.com 11 * @package craft.app.etc.cache 12 * @since 1.0 13 */ 14 class FileCache extends \CFileCache 15 { 16 // Properties 17 // ========================================================================= 18 19 /** |
#6 |
+
–
/www/htdocs/v037272/mbender/craft/app/framework/YiiBase.php(405): include("/www/htdocs/v037272/mbender/craft/app/etc/cache/FileCache.php") 400 */ 401 public static function autoload($className,$classMapOnly=false) 402 { 403 // use include so that the error PHP file may appear 404 if(isset(self::$classMap[$className])) 405 include(self::$classMap[$className]); 406 elseif(isset(self::$_coreClasses[$className])) 407 include(YII_PATH.self::$_coreClasses[$className]); 408 elseif($classMapOnly) 409 return false; 410 else |
#7 |
+
–
/www/htdocs/v037272/mbender/craft/app/services/CacheService.php(59): YiiBase::autoload("Craft\FileCache") 54 break; 55 } 56 57 case CacheMethod::File: 58 { 59 $this->_cacheComponent = new FileCache(); 60 $this->_cacheComponent->cachePath = craft()->config->get('cachePath', ConfigFile::FileCache); 61 $this->_cacheComponent->gCProbability = craft()->config->get('gcProbability', ConfigFile::FileCache); 62 break; 63 } 64 |
#8 |
+
–
/www/htdocs/v037272/mbender/craft/app/framework/base/CModule.php(394): Craft\CacheService->init() 389 if(!isset($config['enabled']) || $config['enabled']) 390 { 391 Yii::trace("Loading \"$id\" application component",'system.CModule'); 392 unset($config['enabled']); 393 $component=Yii::createComponent($config); 394 $component->init(); 395 return $this->_components[$id]=$component; 396 } 397 } 398 } 399 |
#9 |
+
–
/www/htdocs/v037272/mbender/craft/app/etc/web/WebApp.php(583): CModule->getComponent("cache", true) 578 { 579 $dbConnection = $this->asa('AppBehavior')->createDbConnection(); 580 $this->setComponent('db', $dbConnection); 581 } 582 583 $component = parent::getComponent($id, true); 584 $this->_attachEventListeners($id); 585 } 586 587 return $component; 588 } |
#10 |
+
–
/www/htdocs/v037272/mbender/craft/app/etc/web/WebApp.php(121): Craft\WebApp->getComponent("cache") 116 117 // Attach our own custom Logger 118 Craft::setLogger(new Logger()); 119 120 // Initialize Cache, HttpRequestService and LogRouter right away (order is important) 121 $this->getComponent('cache'); 122 $this->getComponent('request'); 123 $this->getComponent('log'); 124 125 // So we can try to translate Yii framework strings 126 $this->coreMessages->attachEventHandler('onMissingTranslation', array('Craft\LocalizationHelper', 'findMissingTranslation')); |
#11 |
+
–
/www/htdocs/v037272/mbender/craft/app/framework/base/CApplication.php(169): Craft\WebApp->init() 164 165 $this->configure($config); 166 $this->attachBehaviors($this->behaviors); 167 $this->preloadComponents(); 168 169 $this->init(); 170 } 171 172 173 /** 174 * Runs the application. |
#12 |
+
–
/www/htdocs/v037272/mbender/craft/app/bootstrap.php(189): 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("class" => "Craft\DbConnection"), "config" => array("class" => "Craft\ConfigService"), "i18n" => array("class" => "Craft\LocalizationService"), "formatter" => array("class" => "CFormatter"), ...), "params" => array("adminEmail" => "admin@website.com"), ...)) 184 // Load the full config 185 $config = require CRAFT_APP_PATH.'etc/config/main.php'; 186 187 // Initialize Craft\WebApp this way so it doesn't cause a syntax error on PHP < 5.3 188 $appClass = '\Craft\WebApp'; 189 $app = new $appClass($config); 190 191 return $app; |
#13 |
+
–
/www/htdocs/v037272/mbender/craft/app/index.php(61): require("/www/htdocs/v037272/mbender/craft/app/bootstrap.php") 56 date_default_timezone_set('UTC'); 57 58 // Load and run Craft 59 // ----------------------------------------------------------------------------- 60 61 $app = require 'bootstrap.php'; 62 $app->run(); |
#14 |
+
–
/www/htdocs/v037272/mbender/index.php(19): require_once("/www/htdocs/v037272/mbender/craft/app/index.php") 14 } 15 16 exit('Could not find your craft/ folder. Please ensure that <strong><code>$craftPath</code></strong> is set correctly in '.__FILE__); 17 } 18 19 require_once $path; |