Hi
I have a problem with a table when trying to export to csv or excel
if i try export to csv i getting the error
SyntaxError: Unexpected non-whitespace character after JSON at position 4
I have filtered it down to just one record with the same error,
it exports fine when in view modethere is noting in the logs eitherany ideas
thanks
Which PHPMaker version are you using?
That probably means you have PHP errors so the response is not JSON, you should enable Debug and check the LOG FILE.
Using latest 2023. There is no error in the debug or log file.
There should be, the error clearly said: SyntaxError: Unexpected non-whitespace character after JSON at position 4.As the doc says:
In addition, make sure you have also configured your php.ini to display errors (and log errors if necessary):
error_reporting (int) - set it to E_ALL
display_errors (string) - set it to On
Also read Check HTTP Response.