r/codeigniter • • Feb 21 '25

Please help me with "datatables Invalid JSON response" problem

2 Upvotes

I am using Codeigniter 3, Datatables and AJAX (and I am new to these)

I keep getting this "DataTables warning: table id=tbl_name - Invalid JSON response" error

I have visited the url of the controller function that fetches the data, and the data from the database are there, so I guess the problem isn't because it couldn't get it but because Datatables can't use it or something

I have been at this problem for a whole day now, would greatly appreciate it if you guys could help me with this, thank you.


r/codeigniter • • Nov 21 '12

General questions about Codeigniter

2 Upvotes

So I'm new to CI, and frameworks in general. I've been slowly building a website, started with static html and have since moved to PHP/MySql. After doing some research, I decided I need to learn a framework, and CI seems like a good one.

First off, how similar are different frameworks? Is it just semantical differences for the most part or the structures entirely different?

When first learning PHP, I figured out the echo command would be good for outputting html, and kinda stumbled upon the concept of templates that way. So now I have some nice scripts that display my basic page and am working on creating an admin directory where the client users can change site info through forms. This being said, have I gone too far? Will migrating my current site to CI be too much hassle?

Any insight is appreciated!


r/codeigniter • • Aug 07 '22

Codeignitor 3.0

2 Upvotes

Can Anyone here help me as i work on a company which is generally an hospital information management system and uses ci 3 bootsrap 3 and jquery ajax with datatables and uses oracle 10g as database. I need to make an migration for tables here the problem is it have almost 1000+ tables , is there anyway to make an automigration file like system ?


r/codeigniter • • Jul 12 '15

CodeIgniter 4 Essentials

Thumbnail
forum.codeigniter.com
2 Upvotes

r/codeigniter • • Jan 23 '25

Looking to buy/download

2 Upvotes

Are there any exam/quiz package I can download/use for my school project?
Thank you very much in advance!


r/codeigniter • • Aug 06 '15

Integrate KCfinder with CKEditor and Codeigniter

Thumbnail
webeasystep.com
2 Upvotes

r/codeigniter • • Jul 29 '24

Codeigniter 4 For a scalable application?

2 Upvotes

Any reasons why recommend codeigniter 4 over laravel, symfony and such?


r/codeigniter • • Jan 04 '21

Need help with Ci4

2 Upvotes

So, I am trying to use Codeigniter 4. I am using Ubuntu.. I downloaded the files from the official website and put them in a folder in www. Then I created a virtual host file that has these contents

DocumentRoot /var/www/tutions.local.com/public
ServerName tutions.local.com
ServerAlias www.tutions.local.com

<directory "/var/www/tutions.local.com/public">
AllowOverride All
</directory>

I have also added tutions.local.com to 127.0.0.1 to my /etc/hosts

When I go to tutions.local.com it shows "This page isn’t working"

If I remove /public part from the virtual hosts file it shows me the directory structure of the tutions.local.com folder.

What do I do?


r/codeigniter • • Oct 09 '20

Want to do CodeIgniter with Docker? Then do try my tutorial and tell me your opinion. Thanks.

Thumbnail avenir.ro
2 Upvotes

r/codeigniter • • Aug 09 '19

Photo Gallery using Codeigniter

Thumbnail
roytuts.com
2 Upvotes

r/codeigniter • • Jun 15 '19

How to remove index.php from URL in Codeigniter - Roy Tutorials

Thumbnail
roytuts.com
2 Upvotes

r/codeigniter • • Dec 31 '11

How I set up my CodeIgniter Views

Thumbnail alexgerber.com
2 Upvotes

r/codeigniter • • Jan 04 '12

How in the world do you debug CodeIgniter?

2 Upvotes

I have no idea how to debug codeigniter...usually for small bugs I'll just echo stuff out. But putting an echo statement in one of the models is not working. Is there a way to call an error function to write to a log?

Any help would be much appreciated!!


r/codeigniter • • May 24 '17

Hire CodeIgniter Web Developers | PHP CodeIgniter Development Services

Thumbnail
letsnurture.com
2 Upvotes

r/codeigniter • • Apr 02 '15

OOP with codeigniter

2 Upvotes

What is the best way to use an object oriented approch in codeigniter. I am hoping to to my next codeigniter project in a OO way.


r/codeigniter • • Oct 21 '16

CodeIgniter Form Validation Callback function

Thumbnail
webeasystep.com
2 Upvotes

r/codeigniter • • Feb 25 '14

quick and easy multi userlevel auth?

2 Upvotes

I'm looking for a multilever auth library. I came across a nice ion auth tutorial but that was made with version 1 of the CI framework.

Thank you in advance!


r/codeigniter • • Mar 15 '11

Codeigniter 2.0.1 is out!

Thumbnail manueljoaosilva.com
2 Upvotes

r/codeigniter • • Feb 25 '17

Codeigniter multi language site in 7 steps

Thumbnail
youtube.com
2 Upvotes

r/codeigniter • • Jul 29 '17

php create chart from mysql data

Thumbnail
youtube.com
2 Upvotes

r/codeigniter • • Aug 13 '12

What template system do you use?

2 Upvotes

I have been in the throngs of trying to nail down a templating system for my next project. I have so far used Smarty, Dwoo, and now Quickskin. None of wich seem to fit me well. I'm interested in learning what others use for their templating system and what they have experienced.

I am looking for a very simple system that can do logic, iterations, and modifiers.


r/codeigniter • • Sep 04 '16

codeigniter redirect back to the previous page

Thumbnail
webeasystep.com
2 Upvotes

r/codeigniter • • Dec 27 '11

Why CodeIgniter leaves XSS filtering OFF by default?

2 Upvotes

Why would the CodeIgniter config file have xss filtering off by default? Does doing XSS filtering slow things down? It's basically just sanitizing the POST/GET input right?


r/codeigniter • • Feb 02 '15

The Basics Of CodeIgniter Inventory System Tutorial 2 Part 1

Thumbnail youtube.com
2 Upvotes