Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fCache unserialize error #203

Open
olivernagy opened this issue Jan 23, 2014 · 0 comments
Open

fCache unserialize error #203

olivernagy opened this issue Jan 23, 2014 · 0 comments

Comments

@olivernagy
Copy link

I use a file-based cache to store database schema information for fORM, like so:

fORM::enableSchemaCaching(new fCache('file', '/path/to/cache/file'));

The problem is, I'm getting error messages every few minutes about unserialize failing, with a seemingly random offset and size every time:

{doc_root}/Application/App/Libraries/Flourish/fCache.php(192): unserialize('a:6:{s:71:"fSch...')

[internal function]

unserialize(): Error at offset 24573 of 24576 bytes

There are reoccurences of offsets, and the size seem to be a multiply of 1024 in each case. Can you think of a solution to this? I'd rather not put an error suppression operator behind unserialize just to mask the issue.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant