error-404

Questionserror-404
Marco Blom asked 8 months ago

I have tried to test the sample code but I do get the following error: Can\’t find a route for \’get: gridphp/index.php\’. I really would like to buy and use your framework to add to a Codeigniter4 project. I have added the printscreens 3 times using below links but does not seem to attach to this message? Thanks in advance

5 Answers
Abu Ghufran Staff answered 8 months ago

Hello,

Use following steps:

Download the archive.
Move the “lib” folder in the public folder of codeigniter
Use the attached Home.php as controller and View as default view.
Adjust the db configuration in Home.php controller.

This should be the output: https://i.imgur.com/gLpwIPb.png

PS: This is just to log and help others. You can continue discussion on direct email.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Abu Ghufran Staff replied 8 months ago

Here is the refered code:

https://gist.github.com/gridphp/e2634bf95e3681181c6f4d6692df9942

Marco Blom answered 7 months ago

Great -the views are working now! Fast and efficient! Only Insert/add is not working yet…. I assume I have to add methods to the controller, but how do I know the grip picks up the corresponding method.? Thanks

Abu Ghufran Staff answered 7 months ago

By-default grid does not use CI model OR data layer functions. It generates and executes insert or update query internally. And I verified with CI4, both operations are working as expected.

To debug further, Please check the browser debug console Ctrl+Shift+C and then the network tab and locate the add ajax request. Then click on the response tab and check the actual error message.

Error details can also be checked in php error log file.

If you still wish to use the CI4 model functions for data processing, this can be done using custom events.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Marco Blom answered 7 months ago

Error: https://imgur.com/a/rLV0RGz location check jquery: https://imgur.com/a/FYabPrh Do not see reason why it could found Jquery?

Abu answered 7 months ago

In the screenshots, the error and the reason is still not clear. Both does not look to be the same file. The 404 error means the url/path of inclusion is incorrect. I can help in a quick remote session if you wish.

You can message me your feasible time and timezone at [email protected].

Your Answer

16 + 8 =

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?