@jan_blaha Hi , i have a php file with the data. How can i render the JS Report to that php file . I couldn't find any documentation on JS Report with PHP.
Any code snippets that i can use for JS Report with Php.
interesting, thanks for the link, we will try to check what the hummus issue and test it, however we are a little bit busy right so it can take us some time to do it, so if you have the time you can also contribute to the repository https://github.com/jsreport/jsreport-pdf-password, i think the change is not so big so you will be able to do it otherwhise we will take a look soon
We ended up creating the data in the import zip format and posted it using the import api end point as you suggested. We considering adding the reload api as you mentioned, but we were worried there might be errors when generating reports simultaneously. Also didn't want to have to roll our own docker image.
Hi @jan_blaha , Thanks a lot for your recommendations, finally I found the crashes module, that used a postgres without installing it
on this server. You save my life!!! I've completely confused
Thank you. I apologize for the delay.
Great you have the latest jsreport now.
I see from the logs that the timeout comes after 10s. That is typically default value. Please change this to some big value.
If this won't help... How many lines of excel do you produce?
If the rendering doesn't end after some minutes, it must be really big input.
Or there can be another error.
In that case it would help me if you email me the export from jsreport studio and the input data set.
So I can check it out.
Is the jsreport actually properly running? I mean can you reach the jsreport studio through browser?
How is your jsreport hosted? As the windows service, or inside iisnode?
Can you provide the startup logs?
I have to deeply apologize on my end as I finally figured out what was wrong :
the images url list (arround 8k) that was being used was not fully completed during the data generation (arround 4k only)
hence the recipe would call undefined instead of a proper https://link-to-img, which explain why no more
image where shown after a certain point in the PDF.
After fixing the data to contains proper url I could generate correctly the whole PDF with all the images as it should be.
The good point for us in this process is that we could find out about how chrome-pdf would handle this case and we are quite hapy about it since we still get a PDF at the end. The bad point is that it took too much time for both of us and I do apologize again for that.
hi! for sure there is a way to use it without studio, however we don't have docs for use each jsreport extension with just core, however you can do the same that studio does by using the http api that jsreport exposes, and you can check real example of how to do it by checking the studio code of scheduling and see how it executes the POST request to save or run a schedule