Subgrid not working PHP8

QuestionsSubgrid not working PHP8
Apip Nugraha asked 1 year ago

Hi,

Why doesn’t subgrid work in PHP8 when it has been implemented in CodeIgniter, usually when expanding it will trigger POST and GET, but this is only GET.
Please help.

Thank You

https://ibb.co/fMYKz9v

5 Answers
Abu Ghufran Staff answered 1 year ago

Hi,

It looks like there is some php level error in subgrid code. To check, referring the image:

  • Open this ajax request page in new tab and see the response
  • Click on this request and see the response tab
  • Check php error log for details.
_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Apip Nugraha answered 1 year ago

Hi Abu For the problem above, we only experienced it on the Nginx server, but there was no problem with Apache.

Abu Ghufran Staff answered 1 year ago

Ok, In order to further analyse the issue, Check following and reply back the output:

  • Open this ajax request page in new tab and see the response
  • Click on this request and see the response tab
  • Check php error log for details.

You can also send me email at [email protected]

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Apip Nugraha answered 1 year ago
  1. Uncaught ReferenceError: jQuery is not defined
    fx_create_grid
    grid_init
  2. Blank Json (debug <table id=”list2″></table>)
  3. No errors/warnings log

    Coding subgrid :

    echo $g->render(‘list2’)

    https://imgur.com/a/uUFQF9H

Abu Ghufran Staff answered 1 year ago

It looks like the jquery library is not included or it’s URL is incorrect. “jQuery is not defined” shows the same. If you have any online link, I can review it.

Also check the Debug Console > Network for 404.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

11 + 7 =

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?