Closed (works as designed)
Project:
Cache Router
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Apr 2008 at 03:53 UTC
Updated:
22 Apr 2008 at 19:08 UTC
Function apc_add() added from version 3.0.13 (changelog)
so all appearances of apc_add() should be replaced by apc_store().
Found at lines 191 & 193 in apc.php
Comments
Comment #1
btmash commentedI posted a potential patch for the lock() function in #245871: Fatal error: Call to undefined function apc_add(). I also noticed that some parts call apc_store() while the lock calls apc_add() - is it so some data is basically locked or is it for some other reason?
Comment #2
slantview commentedapc_add fails if the current lockfile exists. it is a safety mechanism to not allow multiple processes to overwrite each other.
i would say that APC >= 3.0.13 is required to use APC caching then. I will update the docs.