Andrew5723708
Posts: 0
Joined: Thu Apr 04, 2013 10:12 pm

Database services no longer connecting

Greetings,

Seems that the services I had in place before the switch-over are no longer functioning. I can't get POST or LIST services I had in place working. Is this a bug or did the syntax / method for connecting change?

This was for a class project that we need to have in by Sunday, so any help is appreciated!

This may be affecting my other team project as well, though I won't be able to check that one thoroughly tell Monday.

Image

Service links to database

Image

Service is invoked by button press, but nothing is added to the database.

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Database services no longer connecting

Hello,

Do you have any errors in console?

Andrew5723708
Posts: 0
Joined: Thu Apr 04, 2013 10:12 pm

Database services no longer connecting

Igor,

I'm still a tiggzi / appery noob, where can I find the debug console?

Andrew5723708
Posts: 0
Joined: Thu Apr 04, 2013 10:12 pm

Database services no longer connecting

Well I couldn't find the appery debug console, but I remembered I had firebug installed. Here's the error that's coming up:

Image

Image

Looks like something to do with the formatting of the dates? Did that get changed in the move from tiggzi to appery? It was working before.

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Database services no longer connecting

In chrome browser look at: https://developers.google.com/chrome-...
In firefox http://getfirebug.com/logging
You can share app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a I'll look.

Andrew5723708
Posts: 0
Joined: Thu Apr 04, 2013 10:12 pm

Database services no longer connecting

Yep forgot I had firebug, see my post below. Something to do with the date format. I changed it though and it didn't fix the issue, still getting the same error. I'll try sharing the app.

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Database services no longer connecting

Try to do service Test. Next tutorial should help you
http://docs.appery.io/tutorials/build...

Andrew5723708
Posts: 0
Joined: Thu Apr 04, 2013 10:12 pm

Database services no longer connecting

It's definitely the date that's the issue. If I put in the date manually in the service test I get a success message. The panel on the design screen won't let me match this date format though. Any ideas for fixing that? It wants it as yyyy-mm-dd but the design panel forces it to yy-mm-dd

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Database services no longer connecting

Change date format in pet_birth component from yy-mm-dd to mm/dd/yy

Andrew5723708
Posts: 0
Joined: Thu Apr 04, 2013 10:12 pm

Database services no longer connecting

I think that's what it was before I tried fixing it. I'll try switching it back and test again.

Return to “Issues”