Re: Fatal error: Unable to initialize a new token cache

From: Date: Tue, 13 Jun 2000 20:54:53 +0000
Subject: Re: Fatal error: Unable to initialize a new token cache
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-1756@lists.php.net to get a copy of this message
Nick, why are you using eval() at all? wouldn't be $amount_this += $dummy["$i"]; do the same? I cannot for sure say what the execution of eval() implies, but I belived it would imply more overhaed than just plain code. But no, I have no clue what the error means. Ben On Tue, 13 Jun 2000, Nick Riemondi wrote: > Does anyone know what could possibly be causing this? > > Fatal error: Unable to initialize a new token cache in > /www/htdocs/category.php3 on > line 119 > > This line is nothing special, its just assigning some values: > > 118: for ($i = 4; $i < $count_subcats + 4; $i++) { > 119: eval("\$amount_this += \$dummy[$i];"); > 120: }; > > I first thought maybe I was out of memory (this is dealing with a large > amount of data), but I bumped the memory from 8MB to 16MB and I still > got the same problem in the same spot. It works for around 289 of these > invoices I'm processing, but it fails at 293 everytime for this one. I > was just wondering if anyone knew what this meant before I look for more > memory efficient ways of accomplishing what I'm after (if it's even > possible to get more memory efficient). > > Thanks! > Nick Riemondi > outerscape.net > > > -- Benjamin Peter Zentropy Partners GmbH ph. +49-69-96244-395 pax +49-69-96244-244 http://www.zentropypartners.com "Integrate the building and marketing of digital businesses"

« previous php.general (#1756) next »