Tried error_reporting with no results.

Found it tho, lil odd.....

if (!isset($this->params['url']['hasflv'])) {
        $this->params['url']['hasflv'] = 0;
} else if ($this->params['url']['hasflv']=='1') {
        $this->params['url']['hasflv'] = 1;
}

Later I had....

if (isset($this->params['url']['hasflv'])) {

Added...

else {
        $this->params['url']['hasflv'] = 0;
}

Changed....

if ($this->params['url']['hasflv']=='1') {

Stange as that statement should have worked and detected it as isset
even if 0.
Extra strange in that simply adding another element to a totally
different array would trigger the bug.
I think that was the but anyway..... Who can say.... It works now.

-Ben


On Dec 13, 2:08 pm, "Jon Bennett" <[EMAIL PROTECTED]> wrote:
> > $arrWhere = array();
> > $arrWhere['DATE(Pack.PackDate)'] = '<= -!CURDATE()';
> > $arrWhere['Pack.Flag_Pub'] = 1;
> > $arrWhere['Pack.Flag_HasFLV'] = 1;
> > $arrWhere['Flag_SMailOut'] = 1;
> > $arrWhere['Flag_SMailRec'] = 1;
> > //$arrWhere['Flag_Clipped'] = 1;
> > //$arrWhere['Flag_Creative'] = 1;
> > //$arrWhere['Flag_AutoBan'] = 1;
> > //$arrWhere['Flag_Rdy'] = 1;
> > //$arrWhere['Flag_Pub'] = 1;
> > //$arrWhere['Flag_Email'] = 1;
>
> > These aren't my actually conditions, simplier ones for testing.
>
> > Soon as I go over 5 conditions Cake1.2 responds with a blank page.
>
> do you have debug set above 0? what do your server logs say?
>
> cheers,
>
> jb
>
> --
>
> jon bennett
> w:http://www.jben.net/
> iChat (AIM): jbendotnet Skype: jon-bennett- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to