Skip to content
This repository has been archived by the owner on Oct 23, 2019. It is now read-only.

Update bayes - apc error #5

Closed
noose opened this issue Oct 14, 2010 · 1 comment
Closed

Update bayes - apc error #5

noose opened this issue Oct 14, 2010 · 1 comment

Comments

@noose
Copy link

noose commented Oct 14, 2010

On http://[...]/admin/updatebayes click to "Quick test"

Result:

Warning: apc_store() [function.apc-store]: Potential cache slam averted for key 'update_active' in /[...]/sblam/admin/updatebayes.php on line 26

Warning: Division by zero in /[...]/sblam/admin/updatebayes.php on line 126

Warning: Cannot modify header information - headers already sent by (output started at /[...]/sblam/admin/updatebayes.php:26) in /[...]/sblam/admin/index.php on line 142

@kornelski
Copy link
Owner

This is stupid misfeature in APC. I need to "slam" the cache.

Set:

apc.slam_defense = Off;

or use older/newer APC version that doesn't complain.

You should disable display_errors and use error logging anyway.

A patch that replaces APC with memcached would be welcome…

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

No branches or pull requests

2 participants