Custom Query (299 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (58 - 60 of 299)

Ticket Resolution Summary Owner Reporter
#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

#209 invalid Feature Request for XCache: Cluster/Distributed computing moo ryan14@…
Description

I have a feature request for XCache.

You should have a feature where after XCache is added to PHP, XCache generates an app that the website admin puts on his/her website, then visitors to the website can download and run the app which will mean they will become part of the web server, so when people access the PHP site, some data will be downloaded from the main server and some data and cpu usage will come from anyone who downloaded and is running the app. The app could use 1 kilobit per second of each user's net connection.

This feature will definitely speed up php websites with slow servers, decrease the server load, and reduce bandwidth.

Note: See TracQuery for help on using queries.