How can I debug the PHP Script for the Export of Excel.

QuestionsHow can I debug the PHP Script for the Export of Excel.
Faisal Ayub asked 1 week ago

How can I debug the PHP Script for the Export of Excel.

The page is not showing adn not giving any error on php 8.2.
I am using v2.8.1

 

http://localhost/gridphp/demos/appearance/excel-view.php?grid_id=list1&export=1&jqgrid_page=1&export_type=&sidx=1&sord=DESC&rows=20

4 Answers
Faisal Ayub answered 1 week ago

Even the excel-view is not working with php 8.2 on the Latest Free Version.

Abu answered 1 week ago

Hello,

I verified the latest free version excel-view demo on php 8.3 and it runs as expected.

Please check your php error logs. Perhaps, some configuration or extension might be disabled.

Faisal Ayub answered 6 days ago

[Mon Apr 14 10:03:11.413770 2025] [php:error] [pid 2092:tid 1864] [client ::1:52867] PHP Fatal error:  Uncaught TypeError: array_walk_recursive(): Argument #2 ($callback) must be a valid callback, class jqgrid does not have a method \”sanitize_csv_data\” in D:\\\\xampp\\\\htdocs\\\\gridphp-free\\\\lib\\\\inc\\\\jqgrid_dist.php:1258\\nStack trace:\\n#0 D:\\\\xampp\\\\htdocs\\\\gridphp-free\\\\lib\\\\inc\\\\jqgrid_dist.php(1258): array_walk_recursive(Array, Array)\\n#1 D:\\\\xampp\\\\htdocs\\\\gridphp-free\\\\demos\\\\appearance\\\\excel-view.php(176): jqgrid->render(\’list1\’)\\n#2 {main}\\n  thrown in D:\\\\xampp\\\\htdocs\\\\gridphp-free\\\\lib\\\\inc\\\\jqgrid_dist.php on line 1258, referer: http://localhost/gridphp-free/demos/appearance/excel-view.php This is the error I am receiving on PHP 8.2.12 on the latest Free Version of GridPHP

Faisal Ayub answered 4 days ago

above is the error in localhost with 8.2.12 PHP version and below is the error in php 8.3 in cloud version https://imgur.com/a/7b2VJ07

Your Answer

17 + 13 =

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?