Forum BigDB BigDB not showing any elements

Discussion and help relating to the PlayerIO database solution, BigDB.

BigDB not showing any elements

Postby UnknownGuardian » July 3rd, 2010, 11:02 pm

It doesn't seem to be showing any objects inside my database, yet it exports fine.

http://www.youtube.com/watch?v=PURD0bPIq3Y
UnknownGuardian
 
Posts: 94
Joined: May 25th, 2010, 5:11 am

Re: BigDB not showing any elements

Postby Oliver » July 9th, 2010, 6:30 pm

Hey UG,

Thanks for the report -- it looks like it's a javascript error: Do you have firebug or similar so you can see if there is an error message in the console?

- Oliver
User avatar
Oliver
.IO
 
Posts: 1159
Joined: January 12th, 2010, 8:29 am

Re: BigDB not showing any elements

Postby UnknownGuardian » July 9th, 2010, 7:03 pm

The error I am getting is:

UnknownGuardian
 
Posts: 94
Joined: May 25th, 2010, 5:11 am

Re: BigDB not showing any elements

Postby Oliver » July 9th, 2010, 7:18 pm

this is when the page loads right?

Could you tell me what's in the response that firefox is making to the url that contains "/admin/bigdb/searchkey/....." ?

It should be a JSON version of some of your bigdb objects -- you can PM me the JSON if it's sensitive data :)

- Oliver
User avatar
Oliver
.IO
 
Posts: 1159
Joined: January 12th, 2010, 8:29 am

Re: BigDB not showing any elements

Postby UnknownGuardian » July 9th, 2010, 8:13 pm

I'm not sure which JSON feed you mean. I don't see a JSON. If you want, I could open the JS and look for the JSON in there, if there is one, and get that one, if that is what you want.


Also: the errors don't stop. They just keep going. I'm at 3700 errors in 20 seconds. Roughly 300 errors are added every second or so...

Give me a sec to look around for a feed, or post if you have direct instructions to a url I could get. And its not sensitive data at all. Just user times + Actionscript code stored in a database. (up to 10,000 errors when finishing typing this)



EDIT:* I think I know what you mean. You mean the HTTP request. The response was this:

Code: Select all
[
{key:"1134calc-Reg",creator:"1134calc-Reg", deleteUrl:"/admin/bigdb/deleteobject/chat/PlayerObjects/644/1134calc-Reg", changeUrl:"/admin/bigdb/changeobject/chat/PlayerObjects/644/1134calc-Reg/144731", properties:[
   {name:"Data",type:10,value:[
      {name:"Time",type:1,value:70}
   ]}
]}
,
{key:"887711222-Reg",creator:"887711222-Reg", deleteUrl:"/admin/bigdb/deleteobject/chat/PlayerObjects/644/887711222-Reg", changeUrl:"/admin/bigdb/changeobject/chat/PlayerObjects/644/887711222-Reg/148468", properties:[
   {name:"Data",type:10,value:[
      {name:"Time",type:1,value:15}
   ]}
]}
,
{key:"97Henry-Reg",creator:"97Henry-Reg", deleteUrl:"/admin/bigdb/deleteobject/chat/PlayerObjects/644/97Henry-Reg", changeUrl:"/admin/bigdb/changeobject/chat/PlayerObjects/644/97Henry-Reg/149584", properties:[
   {name:"Data",type:10,value:[
      {name:"Time",type:1,value:15}
   ]}
]}
,
{key:"@asgerregsa104077",creator:"asgerregsa-Dev", deleteUrl:"/admin/bigdb/deleteobject/chat/PlayerObjects/644/%40asgerregsa104077", changeUrl:"/admin/bigdb/changeobject/chat/PlayerObjects/644/%40asgerregsa104077/149620", properties:[
   {name:"data",type:0,value:"Here?"}
]}
,
{key:"@austinb131232399",creator:"austinb13-Reg", deleteUrl:"/admin/bigdb/deleteobject/chat/PlayerObjects/644/%40austinb131232399", changeUrl:"/admin/bigdb/changeobject/chat/PlayerObjects/644/%40austinb131232399/141913", properties:[
   {name:"data",type:0,value:"package
   public class Main extends Sprite {      
      public var enemy:Enemy;
      public function Main():void
      {   enemy = new Enemy();
         addChild(enemy)   
      }
      
      function init(e:Event = null):void
      {
         removeEventListener(Event.ADDED_TO_STAGE, init);
         // entry point
      }
      
   }
   
}"}
]}
,
{key:"@austinb1341502",creator:"austinb13-Reg", deleteUrl:"/admin/bigdb/deleteobject/chat/PlayerObjects/644/%40austinb1341502", changeUrl:"/admin/bigdb/changeobject/chat/PlayerObjects/644/%40austinb1341502/141913", properties:[
   {name:"data",type:0,value:"C:\\Documents and Settings\\Austin Bellamy\\My Documents\\New Project\\src\\Main.as(2): col: 1 Errorpackage
import package enemies.as
   public class Main extends Sprite {      
      public var enemy:Enemy;
      public function Main():void
      {   enemy = new Enemy();
         addChild(enemy)   
      }
      
      function init(e:Event = null):void
      {
         removeEventListener(Event.ADDED_TO_STAGE, init);
         // entry point
      }
      
   }
   
}"}
]}
]
UnknownGuardian
 
Posts: 94
Joined: May 25th, 2010, 5:11 am

Re: BigDB not showing any elements

Postby UnknownGuardian » July 25th, 2010, 12:09 am

Is this going to be fixed?
UnknownGuardian
 
Posts: 94
Joined: May 25th, 2010, 5:11 am

Re: BigDB not showing any elements

Postby Oliver » July 26th, 2010, 12:08 pm

Hey UG,

The issue was the multi-line strings -- they're perfectly acceptable in BigDB objects, but the javascript editor didn't really know how to deal with them.

It's fixed now so it doesn't give an error at least.

However, the UI was never really designed for long multiline strings, so the text is currently just put into one line in the input field. I'm not sure that newlines will get saved correctly if you make changes in that input field.

Let me know.

- Oliver
User avatar
Oliver
.IO
 
Posts: 1159
Joined: January 12th, 2010, 8:29 am

Re: BigDB not showing any elements

Postby UnknownGuardian » July 26th, 2010, 6:29 pm

Great! Its working. I don't plan on editing anything so, its not much of a worry. Thanks.
UnknownGuardian
 
Posts: 94
Joined: May 25th, 2010, 5:11 am


Return to BigDB