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
13 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
12 GoogleAnalytics_Module::autoloader('Cms_Router')
11 spl_autoload_call('Cms_Router')
10 uasort(array(136) [/category/professional-learning => object(stdClass), /category-pl => object(stdClass), /blog/category => object(stdClass), /blog/post => object(stdClass), /blog => object(stdClass), / => object(stdClass), /teacher-resources-2-social-justice => object(stdClass), /ordinarytime8 => object(stdClass), /category => object(stdClass), /product => object(stdClass), /cart => object(stdClass), /checkout-start => object(stdClass), /checkout => object(stdClass), /pay => object(stdClass), /receipt => object(stdClass), /logout => object(stdClass), /login-register => object(stdClass), /reset-password => object(stdClass), /change-password => object(stdClass), /404 => object(stdClass), /search => object(stdClass), /order => object(stdClass), /orders => object(stdClass), /order-placed => object(stdClass), /contact-us => object(stdClass), /affiliate-category => object(stdClass), /privacy-policy => object(stdClass), /about => object(stdClass), /our-partners => object(stdClass), /retailers => object(stdClass), /sophia => object(stdClass), /affiliate-program => object(stdClass), /manuscript-submission => object(stdClass), /terms-and-conditions => object(stdClass), /frequently-asked-questions => object(stdClass), /gift-checkout => object(stdClass), /redeem-gift-certificate => object(stdClass), /convert-reward-points => object(stdClass), /gift-pay => object(stdClass), /delayed_payment_beta => object(stdClass), /page-expired => object(stdClass), /bigbooks => object(stdClass), /cyb => object(stdClass), /biblical-literacy => object(stdClass), /static_page => object(stdClass), /helping-teachers => object(stdClass), /current-catalogues => object(stdClass), /static_page_1_test => object(stdClass), /ordinarytime3 => object(stdClass), /ordinarytime4 => object(stdClass), /ordinarytime5 => object(stdClass), /static_page_1 => object(stdClass), /lent1 => object(stdClass), /lent2 => object(stdClass), /lent3 => object(stdClass), /lent4 => object(stdClass), /lent5 => object(stdClass), /lent6 => object(stdClass), /easter1 => object(stdClass), /easter2 => object(stdClass), /easter3 => object(stdClass), /easter4 => object(stdClass), /easter5 => object(stdClass), /easter6 => object(stdClass), /easter7 => object(stdClass), /pentecostsunday => object(stdClass), /mostholytrinity => object(stdClass), /corpuschristinday => object(stdClass), /ordinarytime10 => object(stdClass), /ordinarytime11 => object(stdClass), /ordinarytime12 => object(stdClass), /ordinarytime13 => object(stdClass), /ordinarytime14 => object(stdClass), /ordinarytime15 => object(stdClass), /ordinarytime16 => object(stdClass), /ordinarytime17 => object(stdClass), /ordinarytime18 => object(stdClass), /ordinarytime19 => object(stdClass), /ordinarytime20 => object(stdClass), /ordinarytime21 => object(stdClass), /ordinarytime22 => object(stdClass), /ordinarytime23 => object(stdClass), /ordinarytime24 => object(stdClass), /ordinarytime25 => object(stdClass), /ordinarytime26 => object(stdClass), /ordinarytime27 => object(stdClass), /ordinarytime28 => object(stdClass), /ordinarytime29 => object(stdClass), /ordinarytime30 => object(stdClass), /ordinarytime31 => object(stdClass), /ordinarytime32 => object(stdClass), /ordinarytime33 => object(stdClass), /christtheking => object(stdClass), /advent1 => object(stdClass), /advent2 => object(stdClass), /advent3 => object(stdClass), /advent4 => object(stdClass), /our-catalogue => object(stdClass), /year-of-mercy => object(stdClass), /shipping-information => object(stdClass), /ordinarytime6 => object(stdClass), /ordinarytime7 => object(stdClass), /teacher-resources-1-christmas => object(stdClass), /testing-home-page => object(stdClass), /sslc => object(stdClass), /mccklc => object(stdClass), /ccmlc => object(stdClass), /ylctrial => object(stdClass), /ylcttstrial => object(stdClass), /your-learning-centre => object(stdClass), /ylcswyhtrial => object(stdClass), /sbmslc => object(stdClass), /sbmtlc => object(stdClass), /sbsslc => object(stdClass), /sbstlc => object(stdClass), /smrslc => object(stdClass), /smrstc => object(stdClass), /ylcfgtrial => object(stdClass), /sacswyhtb => object(stdClass), /your-parish-bookstore => object(stdClass), /test1 => object(stdClass), /mievswyh => object(stdClass), /stctsb => object(stdClass), /stcttb => object(stdClass), /stcswyh => object(stdClass), /stcswyhtb => object(stdClass), /mievswyhtb => object(stdClass), /sfxfswyhtb => object(stdClass), /sfxfswyh => object(stdClass), /svdpmswyh => object(stdClass), /svdpmswyhtb => object(stdClass), /test-pariish-bookstore => object(stdClass), /plenary-tracker => object(stdClass), /plenary-tracker-2022 => object(stdClass), /sacswyh => object(stdClass), /catholic-youth-diary => object(stdClass)], array(2) [0 => 'Cms_Router', 1 => 'sort_objects']) /modules/cms/models/cms_page.php 479
9 Cms_Page::findByUrl('/category/bestsellers/category/geoffrey-plant/category/timothy-m-gallager/category/orobator', null) /controllers/application.php 36
8 Application->resolve_page(null) /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/geoffrey-plant/category/timothy-m-gallager/category/orobator') /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