CakePHP 2.0: AjaxHelper does not implement a link() method, it is incompatible with PaginatorHelper error message

Upgrading Nouchi.Mobi from 1.3 to 2.0, i got this error on my page and spent quite a few moments trying to debug. I narrowed it down to this call I was making:

$this->helpers[‘Paginator’] = array(‘ajax’ => ‘Ajax’);

This sets up Ajax pagination in CakePHP 1.3 by using the AjaxHelper class but in 2.0, this functionality has been delegated to the JsHelper. I removed that line from the code and was on my way from then on. Refer to this link in the official documentation to properly set up Ajax Pagination in CakePHP 2.0; all that is needed is the RequestHandler component, and the Js Helper.

African Tech News Tidbits – Week of August 12th 2012

Google Africa
Google Africa

As usual don’t forget to check out the podcast of the African Tech Weekly over at Coders4Africa Radio. We are now available on iTunes and soon in the Zune store. If you are doing something interesting in technology in Africa and you want the world to know about it, reach out!

That is all for the week!

African Tech News Tidbits – Week of August 5th 2012

Nigerian Game Studio Maliyo Games
Nigerian Game Studio Maliyo Games

Here are your tidbits for this week.Enjoy!