Error parse with Angular and Postgresql

Stimulsoft Reports.JS discussion
Post Reply
nicoladf
Posts: 3
Joined: Thu Nov 07, 2019 9:00 am

Error parse with Angular and Postgresql

Post 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
Attachments
stimulsoft-example.zip
(3.82 MiB) Downloaded 134 times
Lech Kulikowski
Posts: 6247
Joined: Tue Mar 20, 2018 5:34 am

Re: Error parse with Angular and Postgresql

Post 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.
nicoladf
Posts: 3
Joined: Thu Nov 07, 2019 9:00 am

Re: Error parse with Angular and Postgresql

Post by nicoladf »

Hello the query you're mentioning is working fine against the db.
Lech Kulikowski
Posts: 6247
Joined: Tue Mar 20, 2018 5:34 am

Re: Error parse with Angular and Postgresql

Post by Lech Kulikowski »

Hello

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

Thank you.
nicoladf
Posts: 3
Joined: Thu Nov 07, 2019 9:00 am

Re: Error parse with Angular and Postgresql

Post by nicoladf »

Lech, what I was meaning is that unfortunately the problem remains.
Lech Kulikowski
Posts: 6247
Joined: Tue Mar 20, 2018 5:34 am

Re: Error parse with Angular and Postgresql

Post 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.
Post Reply