<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/turck-mmcache/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/turck-mmcache/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Tue, 08 Aug 2006 10:06:05 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/turck-mmcache/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>PHP conflicts with Turck MMCache</title><link>https://sourceforge.net/p/turck-mmcache/bugs/124/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This case applies to the KnowledgeTree DMS newest&lt;br /&gt;
version 3.1.0 that can be downloaded from&lt;br /&gt;
&lt;a href="http://sourceforge.net/project/showfiles.php?group_id=107851."&gt;http://sourceforge.net/project/showfiles.php?group_id=107851.&lt;/a&gt;&lt;br /&gt;
The used server is Linux SuSe 10.0 with Apache/2.0.54&lt;br /&gt;
(Linux/SUSE), PHP 4.4.0 (SUSE Package) and Turck&lt;br /&gt;
MMCache 2.4.6. &lt;/p&gt;
&lt;p&gt;If Turck MMCache is used with KT 3.1.0 I have found the&lt;br /&gt;
following phenomenon to take place:&lt;br /&gt;
1.When cache does not contain any KT scripts or it is&lt;br /&gt;
disabled, KT login page loads OK and it is possible to&lt;br /&gt;
make login without problems. This is true also&lt;br /&gt;
afterwards although cache now contains KT scripts&lt;br /&gt;
provided that Apache is not restarted meanwhile. &lt;br /&gt;
2.If Apache is then restarted and one tries to open KT,&lt;br /&gt;
Firefox 1.5 shows in Linux a popup window that tells&lt;br /&gt;
that you are opening the page control.php and the&lt;br /&gt;
browser asks if it can download (!) the page. In&lt;br /&gt;
Windows XP  Firefox 1.5 simply stops loading the login&lt;br /&gt;
page. This is the case also with MS IE in Windows.  If&lt;br /&gt;
one tries to reload an open login page, browser tries&lt;br /&gt;
to download the page login.php.&lt;br /&gt;
3.One can get over this behavior if he clears the cache&lt;br /&gt;
(with the 'Clear' button in mmcache.php control page.).&lt;br /&gt;
Then everything goes fine until Apache is again&lt;br /&gt;
restarted for some reason. Another solution is to&lt;br /&gt;
disable cache for instance with the 'Disable' button in&lt;br /&gt;
mmcache.php control page.&lt;/p&gt;
&lt;p&gt;Obviously there are some other chains of events that&lt;br /&gt;
may trigger this conflict but I have not managed to&lt;br /&gt;
reproduce them. This seems to envolve use of at least&lt;br /&gt;
several KT urls on the same server (possibly with&lt;br /&gt;
different versions of KT).&lt;/p&gt;
&lt;p&gt;Turck MMCache has proved to be useful with KT: It seems&lt;br /&gt;
to shorten the server request handling time about to 50&lt;br /&gt;
%. I have not either observed any problems using it&lt;br /&gt;
with KT versions prior to 3.1.0.&lt;br /&gt;
If I set in config/config.ini phpErrorLogFile = true,&lt;br /&gt;
the last two lines in var/log/php_error_log read:&lt;br /&gt;
Aug 08 08:57:25 KT [warning] dl() [&amp;lt;a&lt;br /&gt;
href='function.dl'&amp;gt;function.dl&amp;lt;/a&amp;gt;]: Unable to load&lt;br /&gt;
dynamic library '/usr/lib/php/extensions/fileinfo.so' -&lt;br /&gt;
/usr/lib/php/extensions/fileinfo.so: cannot open shared&lt;br /&gt;
object file: No such file or directory in&lt;br /&gt;
/srv/www/htdocs/kt310/lib/documentmanagement/PhysicalDocumentManager.inc&lt;br /&gt;
at line 35&lt;br /&gt;
Aug 08 08:57:25 KT [warning] dl() [&amp;lt;a&lt;br /&gt;
href='function.dl'&amp;gt;function.dl&amp;lt;/a&amp;gt;]: Unable to load&lt;br /&gt;
dynamic library '/usr/lib/php/extensions/fileinfo.so' -&lt;br /&gt;
/usr/lib/php/extensions/fileinfo.so: cannot open shared&lt;br /&gt;
object file: No such file or directory in&lt;br /&gt;
/srv/www/htdocs/kt310/lib/storage/ondiskpathstoragemanager.inc.php&lt;br /&gt;
at line 47&lt;br /&gt;
These are the only warnings in that file.&lt;/p&gt;
&lt;p&gt;This same behavior has also occurred on another SuSe&lt;br /&gt;
9.0 server. &lt;/p&gt;
&lt;p&gt;I have reported this to KT developers, see&lt;br /&gt;
&lt;a href="http://issues.ktdms.com/browse/KTS-1251." rel="nofollow"&gt;http://issues.ktdms.com/browse/KTS-1251.&lt;/a&gt; Developers&lt;br /&gt;
have also observed the same phenomenon but it seems&lt;br /&gt;
that there may be something wrong in mmcache or in any&lt;br /&gt;
case resolving this problem may need a deeper&lt;br /&gt;
understanding about turck-mmcache (see comment for&lt;br /&gt;
KTS-1251).&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">amp</dc:creator><pubDate>Tue, 08 Aug 2006 10:06:05 -0000</pubDate><guid>https://sourceforge.net1925de26eabf927f3d34272563361b1459716123</guid></item><item><title>code that does compile, but that doesnt work when encoded</title><link>https://sourceforge.net/p/turck-mmcache/bugs/123/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The attached piece of code works with caching enabled&lt;br /&gt;
on the server, however, not when the file is compiled&lt;br /&gt;
with  turck-encode.&lt;/p&gt;
&lt;p&gt;turck-version 2.4.6-12 (debian unstable dist) sorry,&lt;br /&gt;
but cant test on anything else for the moment.&lt;/p&gt;
&lt;p&gt;Submitted by: &lt;br /&gt;
btd@apario.net&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 26 Dec 2005 15:30:56 -0000</pubDate><guid>https://sourceforge.net1f9e71eb12de8954e363e17aeb459c685ada0775</guid></item><item><title>eAccelerator cross open_basedir restriction.</title><link>https://sourceforge.net/p/turck-mmcache/bugs/122/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Scenario:&lt;/p&gt;
&lt;p&gt;RH ES3, Apache (httpd-2.0.46-44.ent), php&lt;br /&gt;
(php-4.3.2-23.ent)&lt;br /&gt;
All from RPM&lt;/p&gt;
&lt;p&gt;Vhost1:&lt;br /&gt;
root /www/site1/&lt;br /&gt;
open_basedir /www/site1&lt;/p&gt;
&lt;p&gt;Vhost2:&lt;/p&gt;
&lt;p&gt;root /www/site2/&lt;br /&gt;
open_basedir /www/site2&lt;/p&gt;
&lt;p&gt;----------------------&lt;br /&gt;
The problem:&lt;/p&gt;
&lt;p&gt;Let's take any php, for example&lt;br /&gt;
/www/site1/includes/mysql.php with mysql conection data&lt;br /&gt;
(User, pass, server) used by Vhost1.&lt;br /&gt;
IF i make an include from vhost2 of that .php (located&lt;br /&gt;
in vhost1 dir and with open_basedir restriction) the&lt;br /&gt;
include is done, latter y can print out tha data in the&lt;br /&gt;
variables exposing user,pass and server.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 30 Aug 2005 13:35:52 -0000</pubDate><guid>https://sourceforge.net35d78053bf222102f291d16a7c1eb8d1468cf2e2</guid></item><item><title>Have a look at eaccelerator</title><link>https://sourceforge.net/p/turck-mmcache/bugs/121/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;mmCache seems to be history, habe a look at the&lt;br /&gt;
eaccelerator fork @&lt;br /&gt;
&lt;a href="http://eaccelerator.net/HomeUk" rel="nofollow"&gt;http://eaccelerator.net/HomeUk&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 17 Jun 2005 01:21:16 -0000</pubDate><guid>https://sourceforge.net015389cfd4b8dd777a71c3c9844dad8c0fb008ee</guid></item><item><title>constructor of class named upper case didn't get call</title><link>https://sourceforge.net/p/turck-mmcache/bugs/120/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I wrote a small test case and found that if I name my&lt;br /&gt;
PHP class that first letter is Upper case, after the&lt;br /&gt;
MMCache cashed that page, the constructor of that PHP&lt;br /&gt;
class will not get call.  It works fine for lower case&lt;br /&gt;
PHP class. &lt;/p&gt;
&lt;p&gt;this is my test case:&lt;br /&gt;
/*********&lt;br /&gt;
begin myobjtest.php&lt;br /&gt;
*********/&lt;br /&gt;
&amp;lt;?php&lt;/p&gt;
&lt;p&gt;class myobj&lt;br /&gt;
{&lt;br /&gt;
var $fileName;&lt;/p&gt;
&lt;p&gt;function myobj($arg)&lt;br /&gt;
{&lt;br /&gt;
$this-&amp;gt;fileName = $arg;&lt;br /&gt;
echo "in constructor of myobj, file name is&lt;br /&gt;
".$this-&amp;gt;fileName."&amp;lt;br&amp;gt;";&lt;br /&gt;
}&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;class Myobj1&lt;br /&gt;
{&lt;br /&gt;
var $fileName;&lt;/p&gt;
&lt;p&gt;function Myobj1($arg)&lt;br /&gt;
{&lt;br /&gt;
$this-&amp;gt;fileName = $arg;&lt;br /&gt;
echo "in constructor of Myobj1, file name is&lt;br /&gt;
".$this-&amp;gt;fileName."&amp;lt;br&amp;gt;";&lt;br /&gt;
}&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;$temp = new myobj("myfile123");&lt;br /&gt;
echo "mytest object is $temp&amp;lt;br&amp;gt;";&lt;br /&gt;
print_r($temp);&lt;br /&gt;
echo "&amp;lt;p&amp;gt;";&lt;/p&gt;
&lt;p&gt;$temp1 = new Myobj1("myfile123");&lt;br /&gt;
echo "Myobj1 object is $temp1&amp;lt;br&amp;gt;";&lt;br /&gt;
print_r($temp1);&lt;br /&gt;
echo "&amp;lt;p&amp;gt;";&lt;br /&gt;
?&amp;gt;&lt;/p&gt;
&lt;p&gt;//end myobjtest.php&lt;/p&gt;
&lt;p&gt;/***************************************************&lt;br /&gt;
this is the output&lt;br /&gt;
***********************************************/&lt;br /&gt;
/*****&lt;br /&gt;
enabled MMCache&lt;br /&gt;
******/&lt;/p&gt;
&lt;p&gt;first time running: (no problem)&lt;br /&gt;
-------------------------------------------------&lt;br /&gt;
in constructor of myobj, file name is myfile123&lt;br /&gt;
mytest object is Object id #2&lt;br /&gt;
myobj Object ( [fileName] =&amp;gt; myfile123 )&lt;/p&gt;
&lt;p&gt;in constructor of MyObj1, file name is myfile123&lt;br /&gt;
MyObj1 object is Object id #3&lt;br /&gt;
MyObj1 Object ( [fileName] =&amp;gt; myfile123 )&lt;br /&gt;
-------------------------------------------------&lt;/p&gt;
&lt;p&gt;second time: ( HAS Problem *_* )&lt;br /&gt;
--------------------------------------------------&lt;br /&gt;
in constructor of myobj, file name is myfile123&lt;br /&gt;
mytest object is Object id #2&lt;br /&gt;
myobj Object ( [fileName] =&amp;gt; myfile123 )&lt;/p&gt;
&lt;p&gt;MyObj1 object is Object id #3&lt;br /&gt;
MyObj1 Object ( [fileName] =&amp;gt; ) &lt;br /&gt;
----------------------------------------------------&lt;/p&gt;
&lt;p&gt;in second time, class MyObj1's constructor didn't get&lt;br /&gt;
called&lt;/p&gt;
&lt;p&gt;/*******&lt;br /&gt;
disabled MMCache&lt;br /&gt;
********/&lt;/p&gt;
&lt;p&gt;first time, second time running are the same: (no&lt;br /&gt;
problem)&lt;br /&gt;
---------------------------------------------------&lt;br /&gt;
in constructor of myobj, file name is myfile123&lt;br /&gt;
mytest object is Object id #2&lt;br /&gt;
myobj Object ( [fileName] =&amp;gt; myfile123 )&lt;/p&gt;
&lt;p&gt;in constructor of MyObj1, file name is myfile123&lt;br /&gt;
MyObj1 object is Object id #3&lt;br /&gt;
MyObj1 Object ( [fileName] =&amp;gt; myfile123 ) &lt;br /&gt;
---------------------------------------------------&lt;/p&gt;
&lt;p&gt;as you can see, if enabled MMCache, in the second time&lt;br /&gt;
running which MMcache has cached the page, the output&lt;br /&gt;
statement from the constructor of Myobj1 is missing,&lt;br /&gt;
and also the filename object of Myobj1 is empty.  So&lt;br /&gt;
my conclusion is the explicit constructor of Myobj1&lt;br /&gt;
didn't get calling.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pigkeeper</dc:creator><pubDate>Tue, 24 May 2005 00:03:18 -0000</pubDate><guid>https://sourceforge.neta65171c3f132065c1831d2f05fad7417d1fc83ec</guid></item><item><title>Foreach php4.3 - mmcache 2.4.6</title><link>https://sourceforge.net/p/turck-mmcache/bugs/119/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;marceloehernandez@hotmail.com&lt;/p&gt;
&lt;p&gt;$sArr[0]="Aqui";&lt;br /&gt;
$sArr[1]="donde";&lt;br /&gt;
foreach ($sArr as $idar =&amp;gt; $element) {&lt;br /&gt;
echo "&amp;lt;br&amp;gt;element $element";&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;not work correct.&lt;/p&gt;
&lt;p&gt;On version php4.3.8-2.1 and mmcache 2.4.6 it's correct.&lt;/p&gt;
&lt;p&gt;Please help!&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 16 Mar 2005 14:17:47 -0000</pubDate><guid>https://sourceforge.net536d2725d5944d817f815a3817ffe5d66c288683</guid></item><item><title>mmcache 2.4.7, php 4.3.10  imcompatible</title><link>https://sourceforge.net/p/turck-mmcache/bugs/118/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Some problems with mmcache 2.4.7-CVS and php 4.3.10 &lt;/p&gt;
&lt;p&gt;&amp;lt;?php&lt;br /&gt;
echo dirname(__FILE__) . "my.php";&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;you always get a dot: "."&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;that should return for my:&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;/home/myuser/include/&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;Any ideas or a patch?? the problem appears with &lt;br /&gt;
encoded files.. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lyle Arnot</dc:creator><pubDate>Thu, 23 Dec 2004 01:43:22 -0000</pubDate><guid>https://sourceforge.net95bcf65dc120a42ea959bb9a619b5d249d86f439</guid></item><item><title>php5.0.2 - Access to undeclared static property</title><link>https://sourceforge.net/p/turck-mmcache/bugs/117/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Always, after first "recompiling" php file, I have this&lt;br /&gt;
error:&lt;/p&gt;
&lt;p&gt;Fatal error: Access to undeclared static property:&lt;br /&gt;
test::$test in  on line 12&lt;/p&gt;
&lt;p&gt;&amp;lt;code&amp;gt; &amp;lt;?php&lt;br /&gt;
class Test&lt;br /&gt;
{&lt;br /&gt;
static private $Test;&lt;br /&gt;
private $sInfo = 'text';&lt;/p&gt;
&lt;p&gt;static public function getTest()&lt;br /&gt;
{&lt;br /&gt;
if( empty( self::$Test ) )&lt;br /&gt;
{&lt;br /&gt;
self::$Test = new Test;&lt;br /&gt;
}&lt;br /&gt;
return self::$Test;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;public function fun1()&lt;br /&gt;
{&lt;br /&gt;
echo 'fun1: '. $this-&amp;gt;sInfo ;&lt;br /&gt;
}&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;$T1 = Test::getTest();&lt;br /&gt;
$T1-&amp;gt;fun1();&lt;/p&gt;
&lt;p&gt;?&amp;gt;&amp;lt;/code&amp;gt;&lt;/p&gt;
&lt;p&gt;Windows Xp, apache 2.0 , PHP 5.0.2 ,&lt;br /&gt;
Turck_MMCache_v2.4.7-CVS_for_PHP_v5.0.2.dll (downloaded&lt;br /&gt;
from&lt;br /&gt;
&lt;a href="http://localfoo.info/modules/ipboard/index.php?showtopic=364&amp;amp;st=0" rel="nofollow"&gt;http://localfoo.info/modules/ipboard/index.php?showtopic=364&amp;amp;st=0&lt;/a&gt;&lt;br /&gt;
)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dawid Polak</dc:creator><pubDate>Wed, 24 Nov 2004 22:02:53 -0000</pubDate><guid>https://sourceforge.net8de3ee7898b09c7e9d4abd0555897259b5b207cf</guid></item><item><title>Exception extends segfault</title><link>https://sourceforge.net/p/turck-mmcache/bugs/116/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;&amp;lt;? &lt;br /&gt;
class ParserFatal_Exception extends Exception {} &lt;br /&gt;
?&amp;gt; &lt;/p&gt;
&lt;p&gt;cause a apache segfault &lt;br /&gt;
Apache2/49,php 5.0.2,2.4.7-cvs &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sky2k4</dc:creator><pubDate>Wed, 20 Oct 2004 22:16:21 -0000</pubDate><guid>https://sourceforge.netc2892285015ea19f9e82a4a4f758ebc8d8db06e2</guid></item><item><title>mmcache.dll (4.3.4) - Error of memory on WXP</title><link>https://sourceforge.net/p/turck-mmcache/bugs/115/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;When de extension mmcahe.ddl is enabled in php.ini file, &lt;br /&gt;
occour the next message: "The instruction #0x7c901010 &lt;br /&gt;
done reference to de memory #0x00000014. The &lt;br /&gt;
memory didn´t be read. Clcik 'OK to finish the program."&lt;/p&gt;
&lt;p&gt;When the button OK is clicked, the program run normally.&lt;br /&gt;
But the message is unconvenience.&lt;/p&gt;
&lt;p&gt;Any body know how to solve this problem?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 15 Oct 2004 12:56:47 -0000</pubDate><guid>https://sourceforge.netde9c889c5e838194a16e13dee9032282ad556197</guid></item></channel></rss>