_read_cache_file unserialize(): Error

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
hboc
New Member
New Member
Posts: 3
Joined: Wed Jun 18, 2014 8:29 am

_read_cache_file unserialize(): Error

Post by hboc »

Initial Problem seen by users was "Internal Server Error".
Only seen on the CMSMS side of our domain (hborienteering.com), not on pages outside CMSMS.

Error reported to our ISP Support and the
following Error message came up.

[08-Jun-2018 22:33:04 America/Los_Angeles] PHP Notice: unserialize(): Error at offset 47936 of 49138 bytes in /home/hborient/public_html/club/lib/classes/class.cms_filecache_driver.php on line 301

---------------------------------------------
Action taken by ISP (Hoopla) support.

Commented out the _read_cache_file functions "return $data" line.

if( startswith($data,self::KEY_SERIALIZED) ) {
$data = unserialize(substr($data,strlen(self::KEY_SERIALIZED)));
}
# return $data;
----------------------------------------------

Cms Version: 2.2.7

Installed Modules:

AdminSearch: 1.0.4
CGExtensions: 1.60.4
CGSimpleSmarty: 2.1.8
CGSmartImage: 1.22.2
CMSContentManager: 1.1.6
CMSMailer: 6.2.14
Cataloger: 1.0.2
CmsJobManager: 0.1.2
DesignManager: 1.1.4
FileManager: 1.6.6
FilePicker: 1.0.2
Fixtures: 0.1
FormBuilder: 0.8.1.6
Gallery: 2.3.2
HBOCFixtures: 3.20
MenuManager: 1.50.3
MicroTiny: 2.2.2
ModuleManager: 2.1.3
Navigator: 1.0.8
News: 2.51.3
Quotations: 0.1
Search: 1.51.4
ThemeManager: 1.1.8
TinyMCE: 3.2-beta5


Config Information:

php_memory_limit:
max_upload_size: 128000000
url_rewriting: none
page_extension:
query_var: page
auto_alias_content: true
locale:
set_names: true
timezone: America/Los_Angeles
permissive_smarty: false


Php Information:

phpversion: 5.6.36
md5_function: On (True)
json_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_ALL: 32759
E_STRICT: 2048
E_DEPRECATED: 8192
test_file_timedifference: No time difference found
test_db_timedifference: No time difference found
create_dir_and_file: 1
memory_limit: 128M
max_execution_time: 30
register_globals: Off (False)
output_buffering: 0
disable_functions:
open_basedir:
test_remote_url: Success
file_uploads: On (True)
post_max_size: 8M
upload_max_filesize: 128M
session_save_path: /var/cpanel/php/sessions/ea-php56 (1733)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
check_ini_set: On (True)
curl: On


Performance Information:

allow_browser_cache: Off (False)
browser_cache_expiry: 0
php_opcache: Off (False)
smarty_cache: Off (False)
smarty_compilecheck: Off (False)
auto_clear_cache_age: On (True)

Server Information:

Server Software: Apache/2.4.33 (cPanel) OpenSSL/1.0.2o mod_bwlimited/1.4
Server Api: cgi-fcgi
Server Os: Linux 2.6.32-896.16.1.lve1.4.49.el6.x86_64 On x86_64
Server Db Type: MySQL (mysqli)
Server Db Version: 10.0.35
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable


Permission Information:

tmp: /home/hborient/public_html/club/tmp (0755)
tmp_cache: /home/hborient/public_html/club/tmp/cache (0755)
templates_c: /home/hborient/public_html/club/tmp/templates_c (0755)
modules: /home/hborient/public_html/club/modules (0755)
uploads: /home/hborient/public_html/club/uploads (0755)
File Creation Mask (umask): /home/hborient/public_html/club/tmp/cache (0755)
config_file: 0644

----------------------------------------------
Post Reply

Return to “CMSMS Core”