PDA

View Full Version : XCache error


Adam21
06-04-2008, 01:51 PM
XCache 1.21 has been giving me problems or having conflicts with my vb3.7.1 since i enabled it in my config.php
Warning: array_keys() [function.array-keys]: The first argument should be an array in [path]/includes/functions.php on line 4086

Warning: Invalid argument supplied for foreach() in [path]/includes/functions.php on line 4086

While enabling it does reduced 2 queries,after awhile,the above error comes up in every page.Funny thing though,after i do a server reboot,everything goes back to normal.I even tried the method that i searched which says that to upload the tools.php and rebuild the forumcache.But after a few hours,the above error comes up again.

I would like to keep XCache as it really does improves on performance.Anyone had any similiar experiences and may i know how to resolve this please?

Marco van Herwaarden
06-05-2008, 05:51 AM
Does this also happen with all modifications disabled?

Adam21
06-06-2008, 12:00 PM
Will enabling xcache to cache my datastore have any conflicts with modifications?

Marco van Herwaarden
06-06-2008, 12:19 PM
If coded correctly it should not, but this will dependon the modification.

Based on the error it is more likely that you have a modification instaled that doesn't handle PHP 5 well, i doubt (although possible) that this is directly related to XCache.

briansol
06-07-2008, 04:31 AM
i've had nothing but problems with xcache too. i went back to eaccelerator

Dismounted
06-07-2008, 06:32 AM
I've never had any problems with XCache.