Quantcast
Channel: CodeIgniter – digitalwhores.net
Browsing all 16 articles
Browse latest View live

Facebook Ion Auth

In a startup project that i’m developing with a friend we are using CodeIgniter and Ion Auth to manage users. We wanted users to login with their facebook accounts to make easier for them to register...

View Article


Image may be NSFW.
Clik here to view.

Codeigniter – remove index.php

Bootstrap & Apache! you can see the .htaccess nginx Add the following lines on your /etc/nginx/sites-enable/domain.com or default. # removes trailing "index" from all controllers if ($request_uri...

View Article


Image may be NSFW.
Clik here to view.

Codeigniter, Ion Auth and Facebook Ion Auth – Tutorial

I’v recently posted an article mentioning Facebook Ion Auth, and a visitor from France asked me how did I installed it. Please notice that you are at your own risk using this! Please post a comment if...

View Article

Facebook’s HipHop and CodeIgniter – tutorial

Facebook’s HipHop Engine, When to Use it, and Getting it to Work with CodeIgniter Read it...

View Article

Fatal error: Call to a member function get() on a non-object

Opsss! We have to load the database library! Open your application/config/autoload.php and on $autoload[‘libraries’] add  database.

View Article


10 Reasons Why Laravel is Better Than CodeIgniter

Eloquent ORM Routing REST Artisan Migrations Composer Templating Authentication Facades Mail Read all points at http://www.websanova.com/blog/laravel/10-reasons-why-laravel-is-better-than-codeigniter

View Article

Image may be NSFW.
Clik here to view.

“MySQL server has gone away” with CodeIgniter and MySQL

I’v stopped using CodeIgniter for 7 months, but I maintaining a product that was developed under CI. Today I’v got a error saying  “MySQL server has gone away” after a long time PHP execution. I’v...

View Article

Codeigniter – Message: Only variable references should be returned by reference

On a new deployment of a Codeigniter tool that I’v made, I got the following error, after installed it in more than 10 different servers… my own servers and clients… Severity: Notice Message: Only...

View Article


500 Internal Server Error while uploading files

I was having a 500 Internal Server Error… nginx logs were showing me the following 2016/03/17 12:09:32 [crit] 31488#0: *11192 open() "/var/lib/nginx/tmp/client_body/0000000005" failed (13: Permission...

View Article


codeigniter – sql with multiple like’s with OR

This is kinda it! $this->db->or_like(array('sender' => $k, 'msg' => $k)); As seen on http://stackoverflow.com/questions/23254305/multiple-like-clause-codeigniter

View Article

codeigniter + php + mysql – emojis 😉

This is how… On mysql set your table(s)’s filed(s) to utf8mb4_general_ci. codeigniter config/database.php $db['default']['char_set'] = 'utf8mb4'; $db['default']['dbcollat'] = 'utf8mb4_general_ci';...

View Article

Severity: Notice Message: Undefined property: Welcome::$db

Try to load the database library! On your application/config/autoload.php$autoload[‘libraries’] = array(‘database’,’session’);

View Article

Image may be NSFW.
Clik here to view.

codeigniter Message: __autoload() is deprecated, use spl_autoload_register()...

A CI application was returning me the following error, after the PHP been updated to 7.3.I had to change a few lines at config/config.php function __autoload($class) { if(strpos($class, 'CI_') !== 0)...

View Article


Your server does not support the GD function required to process this type of...

This is how I’v solved this issue, in a loop…. FROM $this->load->library('image_lib', $resize_config); if ( ! $this->image_lib->resize() ) { echo $this->image_lib->display_errors();...

View Article

codeigniter – weird Message: syntax error, unexpected end of file

An uncaught Exception was encountered Type: ParseError Message: syntax error, unexpected end of file I had a closing condition with <?}?> had to change to <?php }?>

View Article


Codeigniter – The each() function is deprecated. This message will be...

This is in fact an PHP 7.3 upgrade compatibility with older PHP scripts.This is a quick fix for CodeIgniter. Message: The each() function is deprecated. This message will be suppressed on further...

View Article
Browsing all 16 articles
Browse latest View live