Warning: file_put_contents(): Only 0 of 2743 bytes written, possibly out of free disk space in /home/garrattpublishin/public_html/modules/googleanalytics/classes/googleanalytics_module.php on line 56
Unhandled Exception

Unhandled Error!

Class 'Phpr_SecurityFramework' not found

Document /phproad/modules/phpr/classes/phpr_errorlog.php
Document type PHP document
Line 37
Exception class Error

Code Highlight

		public function __construct()
		{
			$this->loadConfiguration();
		}
 
		public static function encode_error_details($value) {
			$security = Phpr_SecurityFramework::create();
			list($key_1, $key_2) = Phpr::$config->get('ADDITIONAL_ENCRYPTION_KEYS', array('jd$5ka#1', '9ao@!d4k'));
 
			return base64_encode($security->encrypt(json_encode($value), $key_1, $key_2));
		}
 
		public static function decode_error_details($value) {
# Call Stack Code Document Line
28 Phpr_ErrorLog::encode_error_details(object(stdClass)) /phproad/modules/phpr/classes/phpr_errorlog.php 188
27 Phpr_ErrorLog->logException(object(Phpr_PhpException)) /phproad/system/exceptions.php 35
26 Phpr_Exception->__construct('file_put_contents(): Only 0 of 2743 bytes written, possibly out of free disk space', 2) /phproad/system/exceptions.php 307
25 Phpr_PhpException->__construct('file_put_contents(): Only 0 of 2743 bytes written, possibly out of free disk space', 2, '/home/garrattpublishin/public_html/modules/googleanalytics/classes/googleanalytics_module.php', 56) /phproad/system/exceptions.php 341
23 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
22 GoogleAnalytics_Module::autoloader('Phpr_SecurityFramework')
21 spl_autoload_call('Phpr_SecurityFramework') /phproad/modules/db/classes/db_securesettings.php 7
20 Db_SecureSettings::get(()) /phproad/modules/db/classes/db_driver.php 18
19 Db_Driver->connect(()) /phproad/modules/db/classes/db_mysqlidriver.php 27
18 Db_MySQLiDriver->connect(()) /phproad/modules/db/classes/db_mysqlidriver.php 94
17 Db_MySQLiDriver->execute('DESCRIBE core_configuration_records') /phproad/modules/db/classes/db_mysqlidriver.php 212
16 Db_MySQLiDriver->fetchAll('DESCRIBE core_configuration_records') /phproad/modules/db/classes/db_mysqlidriver.php 188
15 Db_MySQLiDriver->describe_table('core_configuration_records') /phproad/modules/db/classes/db_sqlbase.php 466
14 Db_SqlBase->describe_table('core_configuration_records') /phproad/modules/db/classes/db_activerecord.php 1333
13 Db_ActiveRecord->fields(()) /phproad/modules/db/classes/db_activerecord.php 399
12 Db_ActiveRecord->initialize(()) /phproad/modules/db/classes/db_activerecord.php 352
11 Db_ActiveRecord->__construct(()) /modules/core/classes/core_configuration_model.php 25
10 Core_Configuration_Model->__construct(()) /modules/cms/models/cms_maintenanceparams.php 9
9 Cms_MaintenanceParams::create(()) /controllers/application.php 10
8 Application->resolve_page(array(0)) /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/chris-lowney/category/jean-vanier/category/geoffrey-plant') /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