Custom Query (313 matches)


Show under each result:

Results (43 - 45 of 313)

Ticket Resolution Summary Owner Reporter
#300 wontfix Error on PHP files containing multiple namespaces when XCache is enabled moo adrienlabelle

This was first reported over there: but it seems to be a problem with XCache, not this specific library.

If I enable xcache on my apache server, Predis throws the following error: "Fatal error: Class 'Predis\CommunicationException?' not found in..."

I am using the one-file version of Predis (not really my choice, the application I use Predis with is a bit rigid). It should be noted this has been reproduced on two different machines. Disabling XCache as an extension or disabling the caching engine fix the issue.

The issue is present in XCache 3.0.1 too.

PHP version:

PHP 5.3.10-1ubuntu3.2 with Suhosin-Patch (cli) (built: Jun 13 2012 17:19:58) Copyright (c) 1997-2012 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies with XCache v1.3.2, Copyright (c) 2005-2011, by mOo

OS: Distributor ID: Ubuntu Description: Ubuntu 12.04.1 LTS Release: 12.04 Codename: precise

Apache: Server version: Apache/2.2.22 (Ubuntu) Server built: Feb 13 2012 01:51:50

Predis Client version is 0.7.4-dev

Thank you very much for your time.

#314 wontfix Fatal error class redeclaration after return statement moo afxdesign

Hello, I have experienced a problem where xcache loads a class incorrectly before a validating if statement which would otherwise return/exit the script. Wrapping the class in else brackets resolves this issue, however I have seen this syntax in use in a number of Wordpress plugins which might mean its worth looking into this.

The code works as expected with xcache disabled and with APC. You can view a youtube video demonstrating this at:



$test = new SomeClass();
echo $test->someVar;

debug1 & debug2 are duplicate files:

if(class_exists('SomeClass')) return;
class SomeClass {
    var $someVar = "test";
#230 invalid Call to undefined function xcache_unset_by_prefix() moo ahmednuaman

Is there a special setting, maybe in the INI, that turns on the function xcache_unset_by_prefix?

Note: See TracQuery for help on using queries.