Discussion Forums  >  Uncategorized

Replies: 2    Views: 216

Alejandra
Apple Fan
Profile
Posts: 71
Reg: Oct 05, 2011
Miami
710
11/04/11 07:53 PM (14 years ago)

BT Server 2.0 Beta v-2.0.5 : Undefined Variables

I have the latest version and still seeing some error messages: Notice: Undefined variable: backgroundColor Notice: Undefined variable: backgroundColorOpacity Notice: Undefined variable: backgroundColorGradientTop Notice: Undefined variable: backgroundColorGradientBottom Notice: Undefined variable: backgroundImageNameSmallDevice Notice: Undefined variable: backgroundImageURLSmallDevice Notice: Undefined variable: backgroundImageNameLargeDevice Notice: Undefined variable: backgroundImageURLLargeDevice Notice: Undefined variable: backgroundImageOpacity Notice: Undefined variable: backgroundImageScale This is just a few of them. I see undefined variables pretty much all over the place. Has anyone been able to address this? Thanks M.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
11/05/11 04:20 AM (14 years ago)
Yup, totally. I set PHP to E_ALL to show notices during the last few days of testing. Holly cow - loads of syntax warnings. PHP warns about every variable that's not literally defined in advance. In other words, you can't do $myvariable = 'david' without first doing $myvariable = '' This is only the case if E_ALL is on and it was by default so everyone was seeing boatloads of info. Crazy. Anyway, fixed it up, changed hundreds of variable declarations so E_ALL should'nt show any issues if you're running in that mode. 2.0.6 is available (link in your control panel). Have a go, should work great.
 
stoneypointe
Apple Fan
Profile
Posts: 162
Reg: Jul 30, 2011
Miami, Florida
1,620
like
11/05/11 06:44 AM (14 years ago)
Thanks David Undefined variables gone for good. M
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.