Quantcast
Channel: CodeIgniter Forums - All Forums
Browsing all 14114 articles
Browse latest View live

PHP - Session problem in codeigniter framework

Hi, I have a website which has started causing a strange problem from last few days.  It has login protected area. On live server, when I try to login, it fails to create session. and redirects me to...

View Article


Image may be NSFW.
Clik here to view.

Ignition Go updated, works w/ PHP 7.1, Bootstrap 3.3.x, jQuery 3.1.x

Ignition-Go is a CodeIgniter 3.x Modular (HMVC) App Building Framework - to build enterprise class web applications...  Use quickstart branch to skip over bower and npm, and gulp. It's been updated for...

View Article


Debian Development server HMVC not working

Hello, I have a Debian development server with Apache2.4, PHP7 and MySQL 5.7 My project has Application and System outside the public web directory. The codeigniter project is working nice except that...

View Article

Why email inbox to spam using codeigniter

why when I send messages always go into spam, using codeigniter, please enlighten the masters, thanks

View Article

do i need to load the model again and again?

Is there any way to load a model once?  I am experiencing with error: Quote:Message: Undefined property: CI_Loader::$Users_model when call for a view in my controllers. loading the model solve it. but...

View Article


multiple databases connectivity

I have the following code in model to connect to another database. PHP Code:         $db_name = $this->session->userdata('db_name');        $this->anotherDb =...

View Article

depricated features from 1.7 to latest 3.x

hi, I have migrate my project from CI 1.7 to latest stable version.. where can i get the list of depricated features and the alternative for them all..

View Article

Image may be NSFW.
Clik here to view.

PHP error after moving website to another hoster

Dear, For a client of us, we have moved the website to our server. Everything went well with the move except for one page. When you go to this page. I get this error   phperror.png (Size: 12.2 KB /...

View Article


cart with discount option

Hi, How nice is to find this forum. I'm using the cart class ( I know that because of some strange reason is deprecated, but I find it useful). I want to add the option for discount.I add "discount" in...

View Article


How do you access the $this bound data of the controller in the view? Ci3 is...

How do you access the $this bound data of the controller in the view? Ci3 is OK, ci4 doesn't seem to work souch as ci3's get_instance() I can use the global $this anywhere in the controller, model,...

View Article

Error when using Email Library and PHP7

I just spent 2 days trying to get a web app to work, I have it hosted on hostgator and i configured it to use php 7.0, but the app was unable to send emails to the destination until I changed it to...

View Article

header white Data

Hello everybody, I wanted to include a loop in my template header.php. Unfortunately I get with the foreach an error message. What have I done wrong? Controller: PHP Code: <?php    class Warenkorb...

View Article

How prevent hack database

Hello I have many code that inserted in database If hacker can access to database so our codes revealing How protect my database from hacker? And i want to assume the hacker hack my database and can...

View Article


Category tree

Guys I tried to read stackoverflow but to no avail How to make category tree similar to Internet shop. -items --tech ---phones ---pc ---consoles --furniture ---tables ---beds I got that in database...

View Article

[Solved] Autoloading core classes and composer

Well, the title is sorta right. Here's what I'm trying to do: Autoload classes in application/core.  IE: Admin_controller and Public_controller.   I've done this in application/config with the...

View Article


Database Forge Class - COLLATE attribute

is it possible using DBforge - make a new field with 'COLLATE' => 'utf8_bin',?

View Article

timestamp or int in mysql

Which is better?  I am making my own user auth lib - and want to wite last activity. Which is better to use?

View Article


In ci4, does the uri_to_assoc () method exist in the original Ci3?

In ci4, does the uri_to_assoc () method exist in the original Ci3?

View Article

Image may be NSFW.
Clik here to view.

Calculate 2 fields with Active records

I have a table with fields I want to looking for some records expired date in 6days. today - test_time (created date) < duration - 6 days My code don't work Code: $this->db->select("test.*");...

View Article

How to get ip?

Controllers  $this->request->getIPAddress(); Libraries ? CI - [b]protected $request;[/b]

View Article
Browsing all 14114 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>