CI-Theme - Theme Library
Greetings everyone, After many modifications and commits, I finally got to version 1.0.0 of my CodeIgniter Theme Library. Here is what's about (read more on github). CodeIgniter Theme Library There are...
View ArticleCI runs slow with Nginx + PHP 7.1 + MariaDB
Problem I am running a CentOS 7 machine with Nginx 1.10.2 + PHP 7.1.10 (php-fpm) + MariaDB 10.1.28. Using this machine I am serving the following applications: 4x Laravel 5.x 10x MODx Revo 2.5.8 2x CI...
View ArticlePop-up
hello . I need help . I inserted the script. but it does not work correctly. help me please . which container or block I click it's opening just the same thing but it should open the element that was...
View ArticleCommunity Auth: Limitation for classes
Hi friends! I started to learn CodeIgniter few days ago, and first library that I plugged in was Community Auth. The way in which this library serves Authentication functions is a little bit confusing...
View ArticleMemcached session storage driver error
Hello. Thanks for your Work. I tried to use Memcached instead of database for Session storage (on CodeIgniter 3.1.6): PHP Code: $config['sess_driver'] = 'memcached';$config['sess_cookie_name'] =...
View ArticleDelete data by a form field
I want to delete email addresses from my database via a form field. If the email address in the field equals to the email address in the database, it (the row) gets deleted. I'm a bit confused how to...
View Article[split] mcrypt deprecated
(09-25-2017, 11:32 AM)jlp Wrote: CodeIgniter 3.1.6 was released today, with some changes and some bug fixes. Changes: Updated the 'redis' and 'memcached' session drivers to reduce the potential for...
View ArticleCodeigniter 3.1.6 with PHP7.1 and Nginx
Thanks for the continuous updates. Last week I have installed php7.1 on my development machine in order to upgrade all the company's websites. Every think is seems fixed now except the following...
View ArticleUsing JSON in data attributes with JS
I don't know if it's considered bad practice, or if it's the way everyone does it, but I find myself inserting JSON data into HTML element attributes all the time. So, for instance: PHP Code: foreach(...
View ArticleForm field generator, bootstrap dependent
i made this small library while working on a project. It generates form field html. https://github.com/JhulFramework/ci_bootstrap
View Articlenarrowed down error to call_hook('post_system')
I am not sure why this is happening. If I run my code with xdebug enabled, apache crashes at line 559 of codeigniter.php. Since this is the codeigniter code and not in phpStorm not Apache, I figured...
View ArticleStore Notification Messages
Hi, Not sure if this is the best place to post this, but here goes. I'd like to keep all of my applications notification messages in one spot for easier maintenance. Right now I've created a library...
View Articlectype_digit() won't work on a VPS server
I recently finished building my site using code igniter on WAMP local server and tested it on a shared hosting server (from Namecheap). Then I got VPS hosting plan (from iPage) and uploaded the files...
View ArticleMultiple table joins
To make maintenance easier and possibly get better performance I have split a large table 'widgets' with many columns into 4 smaller tables; widgets, tags, links and notes. For each widget row there...
View ArticleSome functions in Controller
hi, I have any controllers with some functions PHP Code: class Foo extends CI_Controller{ private function _bar() { // something }} I need function _bar use in other controllers. Now I useing...
View ArticleUpdate and Flash-data messages not working
It's been a long time since I logged in here. I do not want to bother that much so I'm not going to be writing a lot instead I'm just going to tell my problem and ask for help. Here is my problem I'm...
View ArticleCodeigniter 3 + HMVC (sub-direcotry in modules)
I use HMVC wiredesignz third party to use modular structure for Codeigniter. I there a way to create a subfolder in the modules directory ? I want something : Code: modules module1 controllers...
View ArticleCSRF and Browser Cookie Settings
I am using codeigniter 3 and I use database settings for cookies and CRSF is active. My site is using SSL as well. I have been having issue where sometimes my forms and AJAX work fine and sometimes I...
View Article_shutdown_handler() getting called
I am having a problem where _shutdown_handler() in common.php is getting called whenever I start up my program under xdebug. I need to know why? There is a call to error_get_last() at the top of it,...
View ArticleTutorial - Use new table
I am trying to use a second table in my 'news' database as setup in the CI Tutorial. It might be helpful if the Tutorial entries for database and table were not called the same thing - news. Anyway, I...
View Article