SQL Injection problem
I'm begginer with CodeIgniter and I stucked on problem with counting. I try to count records in my database using code below: $count = $this->db->where(['title'=>...
View ArticleCannot load Language Files from module
Hi I followed the instructions https://bcit-ci.github.io/CodeIgniter4/g...dules.html but cannot load language . Can you help me Thanks all
View ArticleIs there any way to write union with query builder?
In my project I am using datatables plugin with serverside processing. It works fine untill i do a search or order(sort) operation because it needs active record to do that. My scenario is, i have an...
View ArticleCI Project is not deploying on hosting server
Untitled.png (Size: 84.69 KB / Downloads: 13) Hello friends, I am creating a new CI application and hosted on big rock server. But it showing an error:
View ArticleAdvice on writing Daemon in PHP/CI or ?
I have finished my setup program which uses CI and Grocery_Crud to populate some tables. I am also 90% done with my Chrome Extension. I need to write a daemon that will run on the server and has two...
View Articleskin for backend
Hello guys, I'm working on the backend of my application and now it's only black and white, so I'm looking for a skin for the backend. Do you know of any site on the internet to get skins?
View ArticleHaving issue adding new field to insert into database
Hi, I have the following which is working just fine atm. in view Code: <div class="modal fade"> <div class="modal-dialog"> <div class="modal-content">...
View ArticleMany session files (112k in 3 days)(admin accessed only by me)
Hi! I use CI 3.1.2 The system is a private admin that is only accessed by me. I think the config it is ok.... The system is creating many many session files, look my config: Code:...
View ArticleJavascript doesn't work after moving installation
I've installed CodeIgniter on a shared hosting without ssl certificate, which worked perfectly fine. Today I've moved the installation to the private_html directory. This works as one would expect, all...
View Article[split] How to echo an array
Masters could you solve this, how to echo this array using <?php foreach ($data as $rows): ?> <?php end foreach: ?> i got this array from a var_dump in my model... my model.... Code:...
View ArticleDelpoying error on hosted server
Warning: Uncaught Exception: Session: Configured save path 'C:\Windows\Temp' is not writable by the PHP process. in...
View ArticleHow to redirect page using community auth
once login is successful I required redirecting another page instead of header/footer of community auth I checked same thread but did not got the answer .... code sample might going to help .... I...
View Articlebest way to do cross-site request?
I am in a chrome extension background page. I want to query my CI app, cross-site for some info. What is the best way to do this? XMLHttpRequest? $.post? some other way? I tried using...
View ArticleSession Validation before come to controller
I need Valid is user login form enter below company controller. Please help me to do this session validate. Company controller and login model are below here. Controller Code: <?php...
View ArticleImage lib watermark strange behavior
Not sure if I found a bug or if I'm using the image lib class wrong but I am making a thumb from an uploaded image and then creating another image from that thumb with a watermark and the watermark...
View ArticleConvert timestamp to tick
Hello guys In my database,I have record that contain timestamp field Example 2018-12-1 12:12:1 Now i need use it in my app and get elapsed time from this date When i use FROM_UNIXTIME,it return invalid...
View ArticleUpgrading from 3.0.4 to 3.1.7
Hi Is there a shortcut for upgrading from 3.0.4 to 3.1.7 ? Or should I follow each procedure as stated in the user guide and download every version, upgrade, download, upgrade, and so ? Thanks
View ArticleCan't set customer form error
Hello, I want to set a customer error message. Can anyone tell me why this doesn't it appear? Thanks, James PHP Code: $this->form_validation->set_rules('username', 'Username',...
View Article