Tuesday, June 1, 2010

Cache / file.php / unserialize() error

Hello,

I installed CakePHP 1.3.1 and a CMS app named Croogo on my Solaris
server. Loading pages produces errors like this one:

<pre>
Notice (8): unserialize() [function.unserialize]: Error at offset 5 of
602 bytes [CORE/cake/libs/cache/file.php, line 176]
Code | Context

$key = "cake_core_file_map"
$time = 1275420867
$cachetime = 1275420872
$data = "a:3:{s:4:\"Core\";a:3:{s:6:\"Router\";s:32:\"/www/croogo/cake/
libs/router.php\";s:13:\"ClassRegistry\";s:40:\"/www/croogo/cake/libs/
class_registry.php\";s:12:\"Overloadable\";s:38:\"/www/croogo/cake/
libs/overloadable.php\";}s:10:\"Controller\";a:2:{s:9:\"Component\";s:
46:\"/www/croogo/cake/libs/controller/component.php\";s:10:\"Controller
\";s:47:\"/www/croogo/cake/libs/controller/controller.php\";}s:4:\"View
\";a:3:{s:6:\"Helper\";s:37:\"/www/croogo/cake/libs/view/helper.php
\";s:4:\"View\";s:35:\"/www/croogo/cake/libs/view/view.php\";s:
5:\"Media\";s:36:\"/www/croogo/cake/libs/view/media.php\";}}
"

unserialize - [internal], line ??
FileEngine::read() - CORE/cake/libs/cache/file.php, line 176
Cache::read() - CORE/cake/libs/cache.php, line 347
App::getInstance() - CORE/cake/libs/configure.php, line 967
App::build() - CORE/cake/libs/configure.php, line 650
Configure::__loadBootstrap() - CORE/cake/libs/configure.php, line 431
Configure::getInstance() - CORE/cake/libs/configure.php, line 52
include - CORE/cake/bootstrap.php, line 38
[main] - APP/webroot/index.php, line 76
</pre>

What can I do to fix it?

Many thanks,
Brent

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: