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

Hours spent on computer?

I'm just curious. How many hours you guys spent everyday programming, working and studying in front of your computer? Do you also work in saturday and sundays? Thans in advance.

View Article


How can I hide content id on URL

Hi Everyone. Firstly Sorry for my bad engelish.  Firstly my url : explame.com/olmos/id/content-title/ So I want to hide /id/ from the URL. So my routes.php like :  "olmos/([0-9]+)/(.*)"] =...

View Article


Building API via Codeigniter

Hi guys! I build API, and I need that access url was like: http://api.site.local/controller.method[.xml|.json]?param1=value1&param2=value2 ([.xml|.json] - optional, json will be default) I set next...

View Article

Image may be NSFW.
Clik here to view.

Bootstrap Dynamic Modal Form with Ajax

Hi everyone, I'm using codeigniter v3 with bootstrap v3. I have a grid of products with a modal popup related in view. All is charged with the  view Code: <div class="row">        <?php...

View Article

[Solved] Work out a percentage of a item set in array

On my codeigniter project I have a user profile page I can not work out the correct percentage there are 11 items in my list but only 10 items are set. Question: How can I work out the correct...

View Article


Image may be NSFW.
Clik here to view.

Unable to load the requested file: helpers/form_helper.php

am getting this error when i try to load 'form' helper i tried all the other helpers also,,, smiler message  please advice  check attached   Screenshot_1.png (Size: 19.4 KB / Downloads: 6)

View Article

Codeigniter API code for MPESA

Any one who has an API for interfacing codeigniter to MPESA?

View Article

QB Addition and subtraction in SELECT

It would be nice to make some totally custom select string. Now we can't make simply operations such addition or subtraction. PHP Code: ->select($this->first_table .'.value - '....

View Article


When i change sub-domain in url session id changed

Hi please help me about when i changed subdomain like test.domain.com, new.domain.com, domain.com,  then session id changed automatically and I'm not able to set the one session for all subdomains .

View Article


Image may be NSFW.
Clik here to view.

Multi domain in CodeIgniter with http/https

Hi all, I have been used CI for 4 years. Today I will share my config for multi domain + http/https The environment: CI 2.x/3.x + nginx web server - In server side (nginx), you should config normal...

View Article

Session files keep being created

For the same user browsing the site, I keep seeing many session files being generated. The session config I have is Code: $config['sess_driver'] = 'files'; $config['sess_save_path'] =...

View Article

Session file - Message touch error

I am using the files driver and session files are getting created in APPPATH/sessions directory httpd is running as user apache. On some pages, I get this error Message touch: unable to create file...

View Article

Image may be NSFW.
Clik here to view.

Extra commas in my admin panel

Hello, When I view an order and look at the accessories section, it will always have an extra comma at the end: Charger, Box, Instead of: Charger, Box This is what my code is, please let me know what I...

View Article


Image may be NSFW.
Clik here to view.

some hooks request page twice

good day! when i use post_controller_constructor, post_controller or display_override hooks, pages requested twice, so all of requests to db also requested twice, and because of the code below which...

View Article

Image may be NSFW.
Clik here to view.

Searching Query

I am creating a search query. When I submit my form and if I search for a category lets say codeigniter then should get all questions within that category or if I search for a question it will just...

View Article


token based Authentification with LDAP

Hello everybody, I hope, somebody can help me. For my past projects I always used Ion-Auth for the authentification. Now I start an new android webapp project. For the web-views I use Codeigniter and I...

View Article

Re Enable Transactions after using trans_off()

To disable database transactions at run-time you can call PHP Code: $this->db->trans_off();  Maybe I am missing something but I don't see any way to reverse this call to allow transaction...

View Article


Undefined property: Api::$format

I downloaded CodeIgnier 3.1 and incorporated the updated API version of ivancholakov. Now I'm getting error message below, Code: A PHP Error was encountered Severity: Notice Message: Undefined...

View Article

CodeIgniter 3.1.1 Released

CodeIgniter 3.1.1 was released today, with some security fixes, bug fixes and enhancements. Security: Fixed a flaw in the Security library, for PHP 5.3. Enhancements: to the inflector_helper and common...

View Article

Data from forms with enctype="multipart/form-data" not reaching controller

I have made an application using codeigniter, and everything was working fine few day ago. But suddenly, yesterday, when I ran the application, I am getting error, when I am submitting data from the...

View Article
Browsing all 14114 articles
Browse latest View live