"incompatible marshal file format (can't be read) format version 4.8 required: 84.104 given " error

Ronald J Kimball rkimball+memcached at pangeamedia.com
Mon Dec 17 17:35:36 UTC 2007


anul kumar wrote:
> Hi,
> 
> I used memcache in Rails application.
> 
> I am accessing cached content from memcache server by PHP application.
> 
> But I am getting below error.
> 
> *"Incompatible marshal file format (can't read)   
>             format version 4.8 required: 84.104  given"*
> 
> Please give me solotion to fix this problem.
> 

That error message means that it's trying to deserialize a value that 
was not serialized in the first place.  If the value had been serialized 
(aka "marshaled"), then the first two bytes would be the format version. 
  In your value, the first two bytes are 84 and 104, which are the 
letters "Th".

I'm not familiar with the memcache clients for Rails or PHP - perhaps 
someone else on the list can speak to whether this could be an 
incompatibility between the clients or is more likely to be a bug in 
your code.

Ronald


More information about the memcached mailing list