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

Image may be NSFW.
Clik here to view.

Stuck at tutorial - "Adding logic to the controller"

Hello, I wanted to learn a PHP framework and started with CI today, but I got stuck at the tutorial about static pages. The subchapter "Adding logic to the controller" wants me to add a check - I...

View Article


or_group_start Problem

I have a query as PHP Code: $this->db->or_group_start()->where('X',$x)->where('Y',$y)->group_end()->where('Z',false)->from('TABLE')->count_all_results()  and this results Code:...

View Article


Too many connections with pconnect turn off

Hi guys! I have a CMS that is used by more customers. One of these, encounters a problem of "Too many connections". As the title suggests, in the configurations pconnect is set to FALSE. How can I fix?...

View Article

Someone likes us

An outside look at the framework ... http://www.webreciter.com/blog/post/php/...-framework

View Article

Videos are not displayed in live server

I use video background in my project while it works perfactly in localhost while put in live wont display any video while checking develooper tool in firexox show this error but  i wont able to...

View Article


.htaccess issues with CI3 inside Wordpress directory

I have Wordpress installed in my web root and also have a directory inside that web root with Codeigniter 3 installed.  Code: /www       /wp-admin       /wp-content       /wp-includes       ......

View Article

Image may be NSFW.
Clik here to view.

TRANSFER CI from live host to my PC using WAMP

I keep having these errors while transferring my live website to my pc for offline and backup purposes. I've successfully transferred my data and database and also read a previous thread and it's...

View Article

stock management

i am inserting data into purchase field now i want the stock table ,later when i am sale product from sales table i want to update stock, can u please help me with the database structure and the...

View Article


calling class PHPExcel_Calculation_DateTime

hi I trying to call PHPExcel_Calculation_DateTime class which is one class of library called PHPExcel but it is not working is is there is special  way to call  ?? this is the library...

View Article


Image may be NSFW.
Clik here to view.

Database Library - ODBC not working in CI 3.1.3

Hi Guys! I'm trying to use the ODBC drive of CI to connect to DB2. And I can connect successfully, however the problem is I can't use the Active Record. I've tried switching to MySQL, and it's working...

View Article

Switch Language

I'm turning my current english only site to a multi-lingual site (currently LtR only, but RtL comming at a later date), but i hit one small snag. My current language switching method is using a route....

View Article

Image may be NSFW.
Clik here to view.

Urls with special characters like apostrophe and question mark

On my url link if the user click on a like some times the person who post question may use apostrophe Code: http://project.com/questions/2/What's-you-all-on-the-forum-doing? And answer link Code:...

View Article

Tutorial code not working for site_url and some inconsistencies in site_url

I started CodeIgniter recently and found few inconsistencies which I could not understand: In this page: https://www.codeigniter.com/user_guide/t...ction.html# It says to use code:...

View Article


Image may be NSFW.
Clik here to view.

Trying to get rid of index.php from address on my ubuntu system

Hi all, I have setup a laptop with ubuntu on it and I have setup LAMP and everything is working (connects to database and site show up) I have installed Webmin too so I can access things.  I now have a...

View Article

catching missing or invalid argument(segment) error

Hi,  I want to show 404 page when segment lacks or invalid. what is best way to do it?

View Article


Form Validation

I have a form on an index page (controllername/) That form does a POST to controllername/create The form validation is in the index method of the controllername class. When the form is submitted, the...

View Article

Image may be NSFW.
Clik here to view.

A confirm about a SQL query

Hi there. I have a sql query perfectly working, however I'd like to know if it could be write in a better way or in a more efficient way. I have this scenario: in a database I have 4 tables, brands,...

View Article


Codeigniter 3.X session lost

Hello Sir, i will used Codeigniter3.x. and autoload session lib. but when form data post in controller that time session can not retrive. my config below Code: $config['uri_protocol']    =...

View Article

Multi-region databases

Does anyone know of an extension to the database class that supports multi-region read/write clusters? I searched around a bit and wasn't able to find one. Figured I'd ask before I write one myself. If...

View Article

PhpStorm Throws Error in welcome_message

PhpStorm throws an Error on the font tag in the .application/views/welcome_message PHP Code: body {    background-color: #fff;    margin: 40px auto;    max-width: 1024px;    font: 16px/24px normal...

View Article
Browsing all 14348 articles
Browse latest View live


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