Custom Query (312 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (61 - 63 of 312)

Ticket Resolution Summary Owner Reporter
#234 duplicate Fatal Error with conditional class definition. moo tuccen
Description

With Zend Framework the class definition of the Zend_Exception takes care of the php version and so php < 5.3 triggers an Fatal Error beacause both defnitions are in the same file. Please have a look at ZF-8984

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

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: http://www.youtube.com/watch?v=VcNLoDvRLDc&feature=youtu.be

index.php

<?php
include('debug1.php');
include('debug2.php');

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

debug1 & debug2 are duplicate files:

<?php
if(class_exists('SomeClass')) return;
class SomeClass {
    var $someVar = "test";
}
#158 invalid Fatal error: Cannot redeclare function() with xcache 1.2.2 moo ctribe
Description

I've just installed Xcache to optimize vbulletin board but it's causing me some problems with website code.

Fatal error: Cannot redeclare manipulatetextforie() in /home/blabla/public_html/psp/functions.php on line 14

http://psp.console-tribe.com/archivio-news.php

http://ps3.console-tribe.com/archivio-news.php

I'm using te latest 1.2.2 xcache

Note: See TracQuery for help on using queries.