I found the Bug:

When inside the template a <img wioth an EMPTY src occurrs, it it rendered 2
times?!

<img src=""> makes ZF behave like repeating the render?
(in the session using number++:

page1 -> page2 (last -> current)
page3 -> page4 (last -> current)

dunno why.

regards
vishap

2007/10/12, ViShap <[EMAIL PROTECTED]>:
>
> I will look through my code once again - there must be an error when it
> works a Terre“s system.
>
> perhaps only my fault  :(
> but its strange...... :/
>
> regards
>
> 2007/10/12, Ralph Schindler < [EMAIL PROTECTED]>:
> >
> > Hey, I was at zendcon all this week, as soon as I get back in town (on
> > sunday) ill look into your problem and have an answer.
> >
> > -ralph
> >
> > ViShap wrote:
> > > Today I installed a fresh XAMPP with PHP 5.2.4
> > >
> > > SAME PROBLEM!
> > >
> > > The Session-values do whatever the like - be random as hell  :(
> > > It realls looks like the session saves the command and executes it
> > > before output :(
> > >
> > > that suxx  :( :(
> > >
> > > What can I do?
> > > I dunno wht I do wrong?
> > >
> > > regards
> > >
> > > 2007/10/11, Kevin McArthur <[EMAIL PROTECTED]
> > > <mailto:[EMAIL PROTECTED]>>:
> > >
> > >     Check your php version. Zend_Session is incompatible with php v =
> > 5.2.0
> > >
> > >         ----- Original Message -----
> > >         *From:* ViShap <mailto:[EMAIL PROTECTED]>
> > >         *To:* Zend Framework General <mailto:
> > [email protected]>
> > >         *Sent:* Thursday, October 11, 2007 10:13 AM
> > >         *Subject:* [fw-general] Zebd_Session bugs me :(
> > >
> > >         Hi all readers!
> > >
> > >         Following code:
> > >
> > >         ||$sez  = new  Zend_Session_Namespace('rex');
> > >         $x  = $sez-> ass ;
> > >         $aff = (int) rand( 1,20);
> > >         echo 'new: ' . $aff .'  -  old: '.  $x;
> > >         $sez->unlock ();
> > >         $sez->ass =  $aff;
> > >         $sez->lock ();
> > >
> > >         Now i expect to happen that when reloading the page:
> > >
> > >         ||new 1 old 4
> > >         new 5 old 1
> > >         new 7 old 5
> > >         new ... old 7 ....
> > >
> > >         But the value in the Session changes RANDOMLY - It makes what
> > IT
> > >         wants :(
> > >         for example:
> > >
> > >         new 3 old 6
> > >         new 5 old 1
> > >         new 9 old 2
> > >         ||...
> > >
> > >         :(
> > >
> > >         Is it my great stupidity or is it a bug?
> > >         Dunno - But if you could help me...
> > >
> > >         reagrds
> > >         ViShap
> > >
> > >
> > >         ||
> > >
> > >
> >
> >
>

Reply via email to