... dropped connection even without Zend Optimizer. Maybe I try Xampp instead of MAMP to see if it's my field or MAMP.
On Mar 19, 2:21 pm, Markus <[email protected]> wrote: > Great that you were able make the search forms accept fmt. > > On Mar 19, 1:47 pm, The Editor <[email protected]> wrote: > > > > > > > On Wed, Mar 17, 2010 at 8:05 PM, Markus <[email protected]> > > wrote: > > > On Mar 18, 12:50 am, Markus <[email protected]> wrote: > > >> This has happened for several version but now I was able to track it > > >> down. I mentioned before that I get seemingly random timeouts on > > >> certain pages. This is the code causing it: > > > >> [(search group=lotsofpages.* exclude=$$non_content fmt="{(breadcrumb > > >> {+p} offset=1 name=link)}")] > > > > {( )} must be <( )>. > > > Correct. You can't put anything in a fmt parameter that is processed > > before the actual search function. {( )} is processed before [( )], so > > by the search function gets the template it's messed up. And > > breadcrumb gets the {+p} parameter before it is ever set. > > > However... It does work. kind of, for a really weird reason: > > > [(search group=test* fmt="{(breadcrumb {+p} offset=1 name=link)}")] > > > First the markup table runs over the breadcrumb function as it is {( > > )}. {+p} fails the test of being a proper page name so the function > > returns NULL. When search does it's thing next, it things the fmt is > > '', so it uses the default template which is the breadcrumb function! > > However the offset is not set there so you see all the {p1}'s. If you > > change it to <( )> you get the proper offsets. > > > Of course why this was causing timeouts I have no idea.... I don't > > know anything aboutZend, but if it is commonly used, it would be nice > > to get to the bottom of things soZendand BoltWire can play nice > > together... > > I have no idea ifZendis commonly used. Wikipedia says: "Despite the > name,ZendOptimizer is not a code accelerator. Rather, is a free, > closed source PHP extension byZendthat enables PHP to run files > encoded byZendGuard." The German Wikipedia says it's commonly > installed by web hosts. But as you don't use it until you consciously > decide to, it's at least not a default problem. Exception is MAMP of > course. At least one can turn it off. > > Unfortunately the most important message that I wrote didn't come > through: > > 1) It's not timeout, it's a dropped connection by the server. > > 2) After hitting reload a zillion times, I noticed this would even > happen with [(search group=biggroup.*)]. > > Markus -- You received this message because you are subscribed to the Google Groups "BoltWire" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/boltwire?hl=en.
