Quantcast
Channel: CodeIgniter – digitalwhores.net
Browsing latest articles
Browse All 16 View Live

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 latest articles
Browse All 16 View Live




Latest Images