OCI_COMMIT_ON_SUCCESS

I received the following error in my CodeIgniter web application today: Notice: Use of undefined constant OCI_COMMIT_ON_SUCCESS – assumed ‘OCI_COMMIT_ON_SUCCESS’ in … today. It turns out that, in MEPIS at least, you need the packages bc, libaio, even if you’ve compiled support for oci8. I re-added the packages, restarted Apache and it worked, once again. […]

Read More OCI_COMMIT_ON_SUCCESS

Back to CI

Yes, as above. I’ve taken on a new position at a new company, and my lead developer has decided that we go with CodeIgniter, so I will switch back to this. Wish me luck!

Read More Back to CI

CodeIgniter: Controller::view() results in a "404 not found" error in PHP v4.4.2

If you have a controller “Blah” and a method “view”, accessing it via the browser like: http://path/to/ci/index.php/blah/view results in a “404 not found” error if your PHP installation is PHP v4.4.2. Not verified for any other 4.x versions. The same code works in PHP 5.2.0-8+etch5, so I believe it is a bug, possibly in system/codeigniter/Base4.php. […]

Read More CodeIgniter: Controller::view() results in a "404 not found" error in PHP v4.4.2

CodeIgniter: jQuery $.ajax goodness

I’ve been using the jQuery JavaScript library for sometime now. It actually makes writing client-side programming fun, wow! The AJAX functionality is a joy to use; you can submit requests as POST instead of GET since the former is not available in the CodeIgniter PHP framework. Say you have a controller user.php and a view […]

Read More CodeIgniter: jQuery $.ajax goodness