Wedge
Public area => Bug reports => The Pub => Archived fixes => Topic started by: Bunstonious on February 28th, 2014, 08:19 AM
-
I notice that I get a few APC error messages, not sure if they are related to an APC misconfiguration on my server, or if they are Wedge related.
"2: apc_store() expects parameter 3 to be long, array given"
I also get an error every time I purge the cache.
Disclaimer: I haven't updated to the latest just yet, will do when I get home and kids are in bed.
-
It's a bug in APC. Latest version of APC resolved the problem. Can you try to update (pecl upgrade apc)?
If not, try to set apc.write_lock = 1 and apc.slam_defense = 0 in php.ini. This should fix the problem.
-
It's a bug in APC. Latest version of APC resolved the problem. Can you try to update (pecl upgrade apc)?
If not, try to set apc.write_lock = 1 and apc.slam_defense = 0 in php.ini. This should fix the problem.
Thanks bro, will try tonight.
Its latest stable version according to apt
-
It's a bug in APC. Latest version of APC resolved the problem.
Are you sure..?!
This sounds more like the cache_get_data bug that I added last month, and only recently fixed when I actually started to make use of the cache_put_data helper... (I'd inverted the last two parameters.)
-
Out of curiosity, when you purge the cache I always get the below error. Is this by design? I have updated to the latest version.
Bunstonious
Today at 10:39 PM
General
https://forum.awesome.net/do/uncache/
apc_clear_cache() expects exactly 0 parameters, 1 given
/forum/gz/app/Subs-Cache.php
Line: 1701
-
Googling it shows it's a bug in APCu that was fixed last year. Make sure you have a recent version of it!
You could just add a @ before the call but the cache clearing op probably fails anyway.
Or just remove the user parameter but that's not compatible with APC so I can't do that.
Sucks.
-
Fair enough.
Damn ubuntu and their slow updates.
-
14.04 LTS: "Trusty Tahr" Beta is available. :)
-
14.04 LTS: "Trusty Tahr" Beta is available. :)
Might run up my netbook as a web server, with arch
-
Fair enough.
Damn ubuntu and their slow updates.
Try this:
1/ Uninstall Ubuntu's ACPu package.
2/ Do this: pecl install apcu-beta
3/ Restart everything.
If you don't have pecl available, you can install it, I'm pretty sure Ubuntu has an 'automatic' package for it. I remember using it some time ago. (I only tested Ubuntu for a short while.)