CodeIgniter Forums
Are AJAX requests in PHP 8 compatible with CodeIgniter 3? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Are AJAX requests in PHP 8 compatible with CodeIgniter 3? (/showthread.php?tid=88038)



Are AJAX requests in PHP 8 compatible with CodeIgniter 3? - AnjanaTelaney - 07-10-2023

Are AJAX requests in PHP 8 compatible with CodeIgniter 3?

I successfully installed an application using CodeIgniter 3, which has been working flawlessly on PHP 7.4 for quite some time. However, when I attempted to install the same application on another machine running PHP 8.1.2, the AJAX requests stopped functioning properly.


RE: Are AJAX requests in PHP 8 compatible with CodeIgniter 3? - jorge - 07-12-2023

I think you need to check the logs or the server response with an error


RE: Are AJAX requests in PHP 8 compatible with CodeIgniter 3? - brabus - 07-12-2023

What means stopped working properly. ChatGPT: Act as an tester... haha..

Ok, just to make sure it is ajax request, have you send X-Request-With header? What does error/debug logs saying? Web server access response codes? Whatever just follow the white rabbit request chain!


RE: Are AJAX requests in PHP 8 compatible with CodeIgniter 3? - InsiteFX - 07-12-2023

Use your Web Browsers Developer Tools Hit F-12 key on most Web Browsers.

Click on the network tab.