Discussion Forums  >  Grunts, Groans, Complaints

Replies: 10    Views: 99

Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
08/23/12 03:44 PM (13 years ago)

Buzztouch.com reporting errors in my browser

Hi All, When I am trying to edit a menu option in BT2.0, it will not save, instead at the bottom of the page I am getting this error: Oops, an error occurred trying to access a resource.File: /var/www/vhosts/buzztouch-demo/public_html/files/plugins/bt_screen_menuButtons/itemProperties.php Line: 128 Message: Undefined variable: soundEffectFileName Here is a picture of the error: http://jworldhosting.com/Uploads/Images/23458784.png Thanks, Jake
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
08/23/12 04:29 PM (13 years ago)
Is that section commented out? It is on mine by default. I guess if yours is too you could just remove it.
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
08/23/12 04:37 PM (13 years ago)
It looks to me, but I'm often wrong, that the commenting hasn't disabled the php code (if yours is commented out?). It may be caused by how your hosting server is processing the php file.
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
08/23/12 05:29 PM (13 years ago)
How would I fix this if it is on Buzztouch.com?
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
08/23/12 05:42 PM (13 years ago)
Ah. Dunno. Is that on BT?
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
08/23/12 05:43 PM (13 years ago)
Yes, BT2.0
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
08/23/12 05:52 PM (13 years ago)
buzztouch-demo??? No idea, sorry. Just noticed the post title... duh. Long day...
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
08/23/12 05:52 PM (13 years ago)
Who do you think could resolve this issue. Do your V2.0 apps on Buzztouch.com do this?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
08/23/12 08:20 PM (13 years ago)
Yes, this was a syntax error on the BT.com site. We have a way to "hide and show" syntax and other PHP warnings. We generally sleuth these out and fix them before anyone sees them. In this case, we missed one :-) This simple PHP warning is fixed on BT.com. However, if you're running the button plugin on a self hosted server, you may see the warning on your self hosted control panel. It depends on how your PHP configuration is setup to "show" or "hide" warnings. If you're seeing this, the issue was a commented out line on about line 56 of the itemProperties.php file in the BT_screen_menuButtons plugin folder. This... //$soundEffectFileName = ""; needs to be uncommented to this... $soundEffectFileName = ""; to make the warning go away. Great find!
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
08/23/12 08:21 PM (13 years ago)
So, should the saving issue be resolved?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
08/23/12 09:26 PM (13 years ago)
Yes. "Saving" seems to be working fine on the button item properties screen. Just tested it :-)
 

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.