Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#109 php 5.0.0. cache enabled crash server

open
nobody
None
9
2004-08-13
2004-08-13
Roberto Spadim
No

MMCACHE VERSION: 2.4.6

Cache crashed my script when i ugrade php4.3.3 -> php5.0.0
the problem was...
i have a class
class Banco_do_Brasil extends Bancos{
}
and into a function
function abrir_template(){
}
was a fopen($arquivo,'r'

when the cache on mmturck was enabled the script runned
just the first time, the
other fopen couldn't open resource
when i disabled "mmcache.enabled='0'" on php.ini, the
script didn't stop working :)
but now i don't have a cache! :'(

ok, thanks, maybe we will have some problems with
php5... ;)

Discussion

  • Roberto Spadim
    Roberto Spadim
    2004-08-13

    • priority: 5 --> 9
     
  • warwick Shaw
    warwick Shaw
    2004-08-16

    Logged In: YES
    user_id=53069

    Hello,

    What happens when
    mmcache.enabled=1
    mmcache.optimizer=0

    Warwick Shaw

     
  • Logged In: NO

    I can confirm on 5.0.1.

    mmcache.enabled=1
    mmcache.optimizer=1
    results in "disconnect from server" error message.

    mmcache.enabled=1
    mmcache.optimizer=0
    results in "disconnect from server" error message.

    mmcache.enabled=0
    mmcache.optimizer=1
    is OK.

    mmcache.enabled=0
    mmcache.optimizer=0
    is OK.