Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 9    Views: 109

Badblueheeler
Aspiring developer
Profile
Posts: 61
Reg: Jan 27, 2012
Pender island
1,660
04/16/12 11:05 PM (13 years ago)

Quiz issue

I'm getting no love from the quiz plug in. "Oops, a PHP error was trapped. File: /home/mysite/public_html/BT-server/bt_v15/bt_includes/inc_quizScoreboard.php Line: 14 Message: Undefined variable: controlPanelDataURL" I assume it is not connecting to the control panel. Any ideas?
 
Badblueheeler
Aspiring developer
Profile
Posts: 61
Reg: Jan 27, 2012
Pender island
1,660
like
04/16/12 11:08 PM (13 years ago)
Should have mentioned 2.0
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
04/16/12 11:38 PM (13 years ago)
And iOS ?
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
04/17/12 01:10 AM (13 years ago)
Hi Badblueheeler, you can send me a pm if you want some help. But first try to delete line 14 in mentioned file and let me know if that helped. Best Regards, Danny
 
Badblueheeler
Aspiring developer
Profile
Posts: 61
Reg: Jan 27, 2012
Pender island
1,660
like
04/17/12 03:52 PM (13 years ago)
pm sent
 
Badblueheeler
Aspiring developer
Profile
Posts: 61
Reg: Jan 27, 2012
Pender island
1,660
like
04/17/12 07:54 PM (13 years ago)
this is what returns if i enter this in my browser. Object not found! The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again. If you think this is a server error, please contact the webmaster. Error 404
 
Badblueheeler
Aspiring developer
Profile
Posts: 61
Reg: Jan 27, 2012
Pender island
1,660
like
04/17/12 08:21 PM (13 years ago)
ok i have been reading my instructions a bit closer and made a few adjustments. I did remove line 14 "<!--<a href='#' onClick="document.forms[0].dataURL.value='<?php echo $controlPanelDataURL;?>';return false;">Connect to control panel</a>--><br/>" and it isnt throwing an error but then it isnt working either. i just get a blank screen when i go to my quiz and the is no back button either.
 
Badblueheeler
Aspiring developer
Profile
Posts: 61
Reg: Jan 27, 2012
Pender island
1,660
like
04/17/12 08:23 PM (13 years ago)
this is the socorboard url. http://www.xxxxxxxxxxx.ca/public_html/score.php?command=getQuizScoreboardData&appGuid=[buzztouchAppId]&apiKey=[buzztouchAPIKey]&screenId=[screenId]&deviceModel=[deviceModel]&deviceLatitude=[deviceLatitude]&deviceLongitude=[deviceLongitude]
 
Badblueheeler
Aspiring developer
Profile
Posts: 61
Reg: Jan 27, 2012
Pender island
1,660
like
04/17/12 08:23 PM (13 years ago)
could it be read/write permissions?
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
04/17/12 11:36 PM (13 years ago)
Ok error is gone, that's the first thing. Most common mistake is that there is no database setup. Make sure you have a database. Please read the first lines of score.php. To test if the score.php is working use the direct url and see if json output is correct: use this url and fill in your domain: http://www.xxxxxxxxxxx.ca/public_html/score.php?command=getQuizScoreboardData&appGuid=1234&apiKey=1234&screenId=1234&deviceModel=iphone&deviceLatitude=5.0000&deviceLongitude=-5.00 Best Regards, Danny
 

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.