Page 1 of 2

Database services no longer connecting

Posted: Sat Apr 20, 2013 5:01 am
by Andrew5723708

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.


Database services no longer connecting

Posted: Sat Apr 20, 2013 5:06 am
by Igor

Hello,

Do you have any errors in console?


Database services no longer connecting

Posted: Sat Apr 20, 2013 5:07 am
by Andrew5723708

Igor,

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


Database services no longer connecting

Posted: Sat Apr 20, 2013 5:14 am
by Andrew5723708

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.


Database services no longer connecting

Posted: Sat Apr 20, 2013 5:21 am
by Igor

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.


Database services no longer connecting

Posted: Sat Apr 20, 2013 5:24 am
by Andrew5723708

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.


Database services no longer connecting

Posted: Sat Apr 20, 2013 5:37 am
by Igor

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


Database services no longer connecting

Posted: Sat Apr 20, 2013 5:42 am
by Andrew5723708

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


Database services no longer connecting

Posted: Sat Apr 20, 2013 5:57 am
by Igor

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


Database services no longer connecting

Posted: Sat Apr 20, 2013 5:59 am
by Andrew5723708

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