Unhandled Error!

File_put_contents(): Only 0 of 2743 bytes written, possibly out of free disk space

Document /modules/googleanalytics/classes/googleanalytics_module.php
Document type PHP document
Line 56
Exception class Phpr_PhpException

Code Highlight

			}
 
			$old_ga_stats_files = PATH_APP.'/modules/cms/controllers/cms_settings/stats.htm';
			if(file_exists(@$old_ga_stats_files))
			{
				$new_content = file_get_contents(__DIR__ . '/../partials/stats.htm');
				file_put_contents($old_ga_stats_files,$new_content);
				$new_content = null;
			}
			$old_ga_stats_files = null;
		}
 
		public function grant_oauth2_request_token($params)
# Call Stack Code Document Line
20 file_put_contents('/home/garrattpublishin/public_html/modules/cms/controllers/cms_settings/stats.htm', '<? Phpr_View::beginBlock("head") ?> <link rel="stylesheet" href="modules/cms/resources/css/cms.css?<?= module_build('cms') ?>" type="text/css"/> <? Phpr_View::endBlock() ?> <? Phpr_View::beginBlock("view") ?> <ul class="breadcrumbs"> <li><a href="<?= url('/system/settings') ?>">Settings</a></li> <li><?= $this->app_page_title ?></li> </ul> <div class="form500"> <?= Phpr_Form::openTag(array('id'=>'settings_form')) ?> <? $this->formRender($settings) ?> <?= backend_ajax_button('Save', 'stats_onSave', array(), "update: 'multi', loadIndicator: {hideOnSuccess: true}, preCheckFunction: function(){ if (Number($('prev_pageviews').value) > Number($('Cms_Stats_Settings_keep_pageviews').get('value'))) return confirm('New pageviews number is less than the previous value. Obsolete pageviews data will be deleted. Continue?'); return true; }") ?> <?= backend_button('Cancel', url('system/settings')) ?> <input type="hidden" id="prev_pageviews" value="<?= $settings->keep_pageviews ?>"/> <div class="clear"></div> </form> <script type="text/javascript"> window.addEvent('domready', function(){ $('Cms_Stats_Settings_ga_enabled').addEvent('toggle', function(state){ if (state) $('form_field_ga_enabledCms_Stats_Settings').addClass('separatedField'); else $('form_field_ga_enabledCms_Stats_Settings').removeClass('separatedField'); var fields = ['form_field_ga_siteidCms_Stats_Settings', 'form_field_ga_usernameCms_Stats_Settings', 'form_field_ga_property_idCms_Stats_Settings', 'ga_hint', 'form_field_ga_site_speed_sample_rateCms_Stats_Settings', 'form_field_ga_domain_nameCms_Stats_Settings', 'form_field_ga_enable_doubleclick_remarketingCms_Stats_Settings', 'form_field_ga_client_idCms_Stats_Settings', 'form_field_ga_client_secretCms_Stats_Settings', 'form_field_ga_redirect_urlCms_Stats_Settings','form_field_ga_debugCms_Stats_Settings']; fields.each(function(element){ console.log(element); if (state) $(element).show(); else $(element).hide(); }) }) $('Cms_Stats_Settings_enable_builtin_statistics').addEvent('toggle', function(state){ if (state) $('form_field_enable_builtin_statisticsCms_Stats_Settings').addClass('separatedField'); else $('form_field_enable_builtin_statisticsCms_Stats_Settings').removeClass('separatedField'); var fields = ['form_field_keep_pageviewsCms_Stats_Settings', 'ip_filters']; fields.each(function(element){ if (state) $(element).show(); else $(element).hide(); }); }); }); </script> </div> <? Phpr_View::endBlock() ?>') /modules/googleanalytics/classes/googleanalytics_module.php 56
19 GoogleAnalytics_Module::autoloader('Cms_ActionScope')
18 spl_autoload_call('Cms_ActionScope') /modules/shop/classes/shop_actions.php 6
17 include('/home/garrattpublishin/public_html/modules/shop/classes/shop_actions.php') /phproad/system/classloader.php 57
16 Phpr_ClassLoader->lookup_module('/home/garrattpublishin/public_html/modules/shop', 'Shop_Actions', 'shop_actions') /phproad/system/classloader.php 157
15 Phpr_ClassLoader->load('Shop_Actions') /phproad/system/initialize.php 79
14 Phpr_InternalAutoload('Shop_Actions')
13 spl_autoload_call('Shop_Actions')
12 class_exists('Shop_Actions') /phproad/system/classloader.php 113
11 Phpr_ClassLoader->load('Shop_Actions') /modules/cms/classes/cms_actionmanager.php 64
10 Cms_ActionManager::execAction('shop:category', object(Cms_Controller)) /modules/cms/classes/cms_controller.php 580
9 Cms_Controller->eval_page_content(()) /modules/cms/classes/cms_controller.php 198
8 Cms_Controller->open(object(Cms_Page), array(7) [0 => 'bestsellers', 1 => 'category', 2 => 'michael-mcgirr', 3 => 'category', 4 => 'richard-rohr', 5 => 'category', 6 => 'plenary']) /controllers/application.php 72
7 Application->On404(()) /phproad/modules/phpr/classes/phpr_controller.php 170
6 Phpr_Controller->executeAction('On404', array(0)) /phproad/modules/phpr/classes/phpr_controller.php 84
5 Phpr_Controller->_run('On404', array(0)) /phproad/modules/phpr/classes/phpr_response.php 64
4 Phpr_Response->open404(()) /phproad/modules/phpr/classes/phpr_response.php 37
3 Phpr_Response->open('/category/bestsellers/category/michael-mcgirr/category/richard-rohr/category/plenary') /phproad/system/phproad.php 31
2 include('/home/garrattpublishin/public_html/phproad/system/phproad.php') /boot.php 113
1 require_once('/home/garrattpublishin/public_html/boot.php') /index.php 3