Page 1 of 1

Error parse with Angular and Postgresql

Posted: Thu Nov 07, 2019 9:33 am
by nicoladf
Hello, I'm trying to use the Angular 5 demo with a Postgresql database even if indeed I need it to work with Angular 4. At the moment I can connect from the Designer infact I can see the table and the fields. The problem begins when I hit "Preview", I get a modal message reading "Error parse" repeated twice. It seems the line responsible for this is the one setting the php handler

Code: Select all

StiOptions.WebServer.url="http://gs2017.local.com/stimulsoft-js/DataAdapters/PHP/handler.php";
But if I comment that then I get a message saying pure Javascript can't connect to the database.

I've attached the code. Could you please help me?

Thank you.
Nicola

Re: Error parse with Angular and Postgresql

Posted: Thu Nov 07, 2019 10:03 pm
by Lech Kulikowski
Hello,

Please try to check the following query:
select * from public."contatti"

Also, please try to check the last release version 2019.4.1

Thank you.

Re: Error parse with Angular and Postgresql

Posted: Tue Nov 12, 2019 10:31 pm
by nicoladf
Hello the query you're mentioning is working fine against the db.

Re: Error parse with Angular and Postgresql

Posted: Tue Nov 12, 2019 10:39 pm
by Lech Kulikowski
Hello

We are always glad to help you!
Please let us know if you need any additional help.

Thank you.

Re: Error parse with Angular and Postgresql

Posted: Tue Nov 12, 2019 11:46 pm
by nicoladf
Lech, what I was meaning is that unfortunately the problem remains.

Re: Error parse with Angular and Postgresql

Posted: Tue Nov 19, 2019 11:09 am
by Lech Kulikowski
Hello,

We couldn't reproduce the issue on our database.

Please send us a test data (as a way, scripts for creating) for analysis.

Thank you.