Export excel, csv.

QuestionsExport excel, csv.
Igor Girao asked 4 months ago

Hi Abu,

When activating the export to excel, csv action, the error message is displayed.
The error also appears in the sql server connection and in the json that I am sending the files to.

[14-Mar-2024 16:32:44 America/Fortaleza] PHP Fatal error: Uncaught JSMinException: Unterminated string literal. in /var/www/html/atendti/lib/inc/jsmin.php:128
Stack trace:
#0 /var/www/html/atendti/lib/inc/jsmin.php(315): JSMin->action()
#1 /var/www/html/atendti/lib/inc/jsmin.php(76): JSMin->min()
#2 /var/www/html/atendti/lib/inc/jqgrid_dist.php(6056): JSMin::minify()
#3 /var/www/html/atendti/atendti/listagem_pedido/relatorio_json.php(618): jqgrid->render()
#4 {main}
thrown in /var/www/html/atendti/lib/inc/jsmin.php on line 128

file: https://stylomisscris.com.br/arquivo.zip

Sincerely, Igor GirĂ£o

2 Answers
Abu answered 4 months ago

Hi,

To disable JSMin, you can either remove or rename the file lib/inc/jsmin.php to jsmin-tmp.php

This will disable the code minification feature.

Igor Girao answered 4 months ago

Hi Abu,

Is there a way to disable it without renaming the file?
As the problem is only found in one source, everything works in the other sources.

Your Answer

17 + 15 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?