/home/signaturegroup.sterlingagency.com/craft/app/helpers/IOHelper.php(1765)
1753 $flags = 0; 1754 1755 if ($lock) 1756 { 1757 $flags |= LOCK_EX; 1758 } 1759 1760 if ($append) 1761 { 1762 $flags |= FILE_APPEND; 1763 } 1764 1765 if (($suppressErrors ? @file_put_contents($path, $contents, $flags) : file_put_contents($path, $contents, $flags)) !== false) 1766 { 1767 return true; 1768 } 1769 1770 return false; 1771 } 1772 1773 /** 1774 * Used by {@link getFolderSize} to calculate the size of a folder. 1775 * 1776 * @param string $path The path of the folder. 1777 * @param bool $suppressErrors Whether to suppress any PHP Notices/Warnings/Errors (usually permissions related).
#0 |
+
–
/home/signaturegroup.sterlingagency.com/craft/app/etc/web/WebApp.php(693): CApplication->handleError(2, "file_put_contents(): Only 0 of 24 bytes written, possibly out of...", "/home/signaturegroup.sterlingagency.com/craft/app/helpers/IOHelp...", 1765) 688 if (version_compare(PHP_VERSION, '7.1', '>=') && strpos($message, 'Narrowing occurred during type inference. Please file a bug report') !== false) 689 { 690 return; 691 } 692 693 parent::handleError($code, $message, $file, $line); 694 } 695 696 /** 697 * Raised right AFTER the application processes the request. 698 * |
#1 |
unknown(0): Craft\WebApp->handleError(2, "file_put_contents(): Only 0 of 24 bytes written, possibly out of...", "/home/signaturegroup.sterlingagency.com/craft/app/helpers/IOHelp...", 1765, ...)
|
#2 |
+
–
/home/signaturegroup.sterlingagency.com/craft/app/helpers/IOHelper.php(1765): file_put_contents("/home/signaturegroup.sterlingagency.com/craft/storage/runtime/ca...", "a:2:{i:0;s:1:"n";i:1;N;}", 0) 1760 if ($append) 1761 { 1762 $flags |= FILE_APPEND; 1763 } 1764 1765 if (($suppressErrors ? @file_put_contents($path, $contents, $flags) : file_put_contents($path, $contents, $flags)) !== false) 1766 { 1767 return true; 1768 } 1769 1770 return false; |
#3 |
+
–
/home/signaturegroup.sterlingagency.com/craft/app/helpers/IOHelper.php(852): Craft\IOHelper::_writeToFile("/home/signaturegroup.sterlingagency.com/craft/storage/runtime/ca...", "a:2:{i:0;s:1:"n";i:1;N;}", false, false, ...) 847 // Restore here before we attempt to write again. 848 restore_error_handler(); 849 850 // Try again without the lock flag. 851 Craft::log('Trying to write to file at '.$path.' without LOCK_EX.', LogLevel::Info); 852 if (static::_writeToFile($path, $contents, false, $append, $suppressErrors)) 853 { 854 // Cache the file lock info to not use LOCK_EX for 2 months. 855 Craft::log('Successfully wrote to file at '.$path.' without LOCK_EX. Saving in cache.', LogLevel::Info); 856 craft()->cache->set('useWriteFileLock', 'no', 5184000); 857 return true; |
#4 |
+
–
/home/signaturegroup.sterlingagency.com/craft/app/etc/cache/FileCache.php(136): Craft\IOHelper::writeToFile("/home/signaturegroup.sterlingagency.com/craft/storage/runtime/ca...", "a:2:{i:0;s:1:"n";i:1;N;}") 131 return false; 132 } 133 } 134 else 135 { 136 if (IOHelper::writeToFile($cacheFile, $this->embedExpiry ? $expire.$value : $value) !== false) 137 { 138 IOHelper::changePermissions($cacheFile, craft()->config->get('defaultFilePermissions')); 139 return $this->embedExpiry ? true : IOHelper::touch($cacheFile, $expire); 140 } 141 else |
#5 |
+
–
/home/signaturegroup.sterlingagency.com/craft/app/framework/caching/CCache.php(185): Craft\FileCache->setValue("14fcd7428f20eae557eb541d18cd1560", "a:2:{i:0;s:1:"n";i:1;N;}", 1710935839) 180 if ($this->serializer === null) 181 $value = serialize(array($value,$dependency)); 182 elseif ($this->serializer !== false) 183 $value = call_user_func($this->serializer[0], array($value,$dependency)); 184 185 return $this->setValue($this->generateUniqueKey($id), $value, $expire); 186 } 187 188 /** 189 * Stores a value identified by a key into cache if the cache does not contain this key. 190 * Nothing will be done if the cache already contains the key. |
#6 |
+
–
/home/signaturegroup.sterlingagency.com/craft/app/etc/cache/FileCache.php(64): CCache->set("usePathInfo", "a:2:{i:0;s:1:"n";i:1;N;}", "86400", null) 59 */ 60 public function set($id, $value, $expire = null, $dependency = null) 61 { 62 $this->_originalKey = $id; 63 64 return parent::set($id, $value, $expire, $dependency); 65 } 66 67 /** 68 * Stores a value identified by a key into cache if the cache does not contain this key. Nothing will be done if the 69 * cache already contains the key. |
#7 |
+
–
/home/signaturegroup.sterlingagency.com/craft/app/services/CacheService.php(141): Craft\FileCache->set("usePathInfo", "n", "86400", null) 136 if ($expire === null) 137 { 138 $expire = craft()->config->getCacheDuration(); 139 } 140 141 return $this->_cacheComponent->set($id, $value, $expire, $dependency); 142 } 143 144 /** 145 * Stores a value identified by a key into cache if the cache does not contain 146 * this key. Nothing will be done if the cache already contains the key. |
#8 |
+
–
/home/signaturegroup.sterlingagency.com/craft/app/services/ConfigService.php(415): Craft\CacheService->set("usePathInfo", "n") 410 $this->_usePathInfo = 'y'; 411 } 412 else 413 { 414 // Cache it early so the testPathInfo request isn't checking for it too 415 craft()->cache->set('usePathInfo', 'n'); 416 417 // Test the server for it 418 try 419 { 420 $url = craft()->request->getHostInfo().craft()->request->getScriptUrl().'/testPathInfo'; |
#9 |
+
–
/home/signaturegroup.sterlingagency.com/craft/app/services/HttpRequestService.php(1181): Craft\ConfigService->usePathInfo() 1176 * @return string The path. 1177 */ 1178 public function getNormalizedPath() 1179 { 1180 // Get the path 1181 if (craft()->config->usePathInfo()) 1182 { 1183 $pathInfo = $this->getPathInfo(); 1184 $path = $pathInfo ? $pathInfo : $this->_getQueryStringPath(); 1185 } 1186 else |
#10 |
+
–
/home/signaturegroup.sterlingagency.com/craft/app/services/HttpRequestService.php(131): Craft\HttpRequestService->getNormalizedPath() 126 $path = ''; 127 } 128 else 129 { 130 // Get the normalized path. 131 $path = $this->getNormalizedPath(); 132 } 133 134 // Get the path segments 135 $this->_segments = array_values(array_filter(explode('/', $path), function($value) 136 { |
#11 |
+
–
/home/signaturegroup.sterlingagency.com/craft/app/framework/base/CModule.php(394): Craft\HttpRequestService->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 |
#12 |
+
–
/home/signaturegroup.sterlingagency.com/craft/app/etc/web/WebApp.php(595): CModule->getComponent("request", true) 590 { 591 $dbConnection = $this->asa('AppBehavior')->createDbConnection(); 592 $this->setComponent('db', $dbConnection); 593 } 594 595 $component = parent::getComponent($id, true); 596 $this->_attachEventListeners($id); 597 } 598 599 return $component; 600 } |
#13 |
+
–
/home/signaturegroup.sterlingagency.com/craft/app/etc/web/WebApp.php(138): Craft\WebApp->getComponent("request") 133 $this->setId($appId); 134 } 135 136 // Initialize Cache, HttpRequestService and LogRouter right away (order is important) 137 $this->getComponent('cache'); 138 $this->getComponent('request'); 139 $this->getComponent('log'); 140 141 // So we can try to translate Yii framework strings 142 $this->coreMessages->attachEventHandler('onMissingTranslation', array('Craft\LocalizationHelper', 'findMissingTranslation')); 143 |
#14 |
+
–
/home/signaturegroup.sterlingagency.com/craft/app/framework/base/CApplication.php(170): Craft\WebApp->init() 165 166 $this->configure($config); 167 $this->attachBehaviors($this->behaviors); 168 $this->preloadComponents(); 169 170 $this->init(); 171 } 172 173 174 /** 175 * Runs the application. |
#15 |
+
–
/home/signaturegroup.sterlingagency.com/craft/app/bootstrap.php(190): CApplication->__construct(array("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"), "runtimePath" => "/home/signaturegroup.sterlingagency.com/craft/storage/runtime/", ...)) 185 // Load the full config 186 $config = require CRAFT_APP_PATH.'etc/config/main.php'; 187 188 // Initialize Craft\WebApp this way so it doesn't cause a syntax error on PHP < 5.3 189 $appClass = '\Craft\WebApp'; 190 $app = new $appClass($config); 191 192 return $app; |
#16 |
+
–
/home/signaturegroup.sterlingagency.com/craft/app/index.php(61): require("/home/signaturegroup.sterlingagency.com/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(); |
#17 |
+
–
/home/signaturegroup.sterlingagency.com/public_html/index.php(19): require_once("/home/signaturegroup.sterlingagency.com/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; |