drupal - PHP unserialize(): Error at offset -


i have problem drupal 6.20.

possibly after php update, site stopped working. get:

notice: unserialize() [function.unserialize]: error @ offset 0 of 22765 bytes in /path/includes/cache.inc on line 33 

this line:

$cache->data = unserialize($cache->data); 

i appreciate help.

this problem happen when have drupal 6.x running on postgresql 9.0 because bytea type modified.
there suggested solutions here: http://postgresql.1045698.n5.nabble.com/bytea-error-in-postgresql-9-0-td3304087.html

running on database should fix it:

alter database databasename set bytea_output='escape'; 

Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -