Archive for the ‘php’ Category

This worked immediatly no problems


they got error

An error occurred. Please try again later.


Go to your facebook developer app edit page and disable Sandbox Mode

codeigniter returns SERVER ERROR 500

Posted: April 11, 2013 in php

first, add this code to the first controller called:

ini_set(“display_errors”, “On”);

I had a problem that CURL wasn’t installed (needed by facebook SDK). so I put in the command line:

sudo apt-get install php5-curl

If you want to extend a CI_Controller you need to add an include statement on the Child class php file.

for example, I did a CI_Controller named Loggable which includes login/logout/register functionallity and I want another Controller named webClient to inherit.

So it looks like:


class Loggable extends CI_Controller {



class Webclient extends Loggable {

CAPTCHA solution for codeigniter

Posted: March 25, 2013 in php

tried lots of solutions. The best one so far, which was verrrrrry easy to install is this:

just follow the readme