Ajax & Class Output
I'm trying to give data through an output class PHP Code: $this->output ->set_content_type('application/json', 'UTF-8') ->set_output(json_encode($my_array)); As a result I get problems with...
View Articlehow to call function in different module?
I have a system written in PHP/CI that needs to interact with Google Charts. If you know of another org chart tool that runs in PHP that would be great, BTW. So I have my controller and a user clicks...
View ArticleAdd index_by() method to Query Builder
Hello! How about adding index_by() method to DB Query Builder or DB result (maybe in 3.2 release)? It will be helpful functionality and does not break the old code. Example of implementation: PHP Code:...
View ArticleHow to remove public/index.php/ from url
I want normal URL like http://www.sample.com/controller not http://www.sample.com/public/index.php/controller. .htaccess :- RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond...
View ArticleLooking for Help
Hello, I have some big but also small jobs that I would like to add to / improve on my website. But would like to know how much that would cost in each case or what this will cost. Write me a PN with...
View ArticleConnection TIMEOUT
Bonjour , S'il vous plait j'ai un problème il m'a vraiment bloqué voilà le message d'erreur This request takes too long to process, it is timed out by the server. If it should not be timed out, please...
View ArticleSQL Server 2012 (11.0.*) OFFSET NOT supported on mssql_driver LIMIT
Hi, My first post on this forum! I'm using CI + FlexiGrid + MySQL for a web app. This works very well. Now I'm converting it to use MS SQL Server 2012 and the pagination don't works anymore... After...
View ArticleDump big rows using CI return error memory limit
PHP Code: <?phpdefined('BASEPATH') OR exit('No direct script access allowed');class Migration extends CI_Controller { function test_ci() { ini_set('memory_limit', '2048M'); //i even...
View ArticleCI3.1.7 Upload Image Sometime Failed
Hello, I found some strange thing. I have two images, but I can only upload one of them. https://ibb.co/j1U0yb I can upload 456.jpg, but I can't upload 123.jpg (it will upload noimage.jpg instead) This...
View ArticleProblem with Images /myimage.jpgtmp
for some reason some image are adding to the extension of the images a letter and in others not for example. /mymagen.jpgtmp I have no idea why these letters are being added to the end of the extension...
View ArticleHow to get different user info when logged in.
Hello I'm working in a comment section in which I need to get the info of the current logged in user who commented in a specific post. So far I've been able to display their username and what they just...
View ArticleUpdating CodeIgniter 1.7.3 to CodeIgniter 3.1.7
I am trying to upgrade from CI version 1.7.3 to CI Version 3.1.7. The problem I have is for some unknown reason the User Guide for 3.1.7 DOES NOT even mention upgrading from version 1.7.3 to version...
View ArticleEncryption
Hi, I have checked the code in Github, I realize you have built a lot of featured, but the Encryption is not built in. I expect it is built as soon as possible. Because, in basic site, we still need...
View ArticleInternalisation with gettext
Is codeigniter going to use the old way of array files to implement internationalisation, If so, can I suggest using gettext?
View Articlelanguage subdomains - session gets lost
I have apache configured to host a single CodeIgniter project from different language subdomains. I.e., all these domains point to a single directory with a single CI codebase inside it. My code sniffs...
View Article[Apache/PHP5] Accessing controllers throws an 404 error
Hey! I'm rather new to CodeIgniter, but I want to use it to implement a RESTful API server for a project at work. I downloaded a fresh copy of version 3.1.7, unpacked it, installed the dependencies via...
View Articlecheck the time when session is automotically destroy
Hello world! i begin with codeigniter and i would like to know how can'i check the time when the session is automatically destroy and update my database with this time.
View ArticleInvalid CSRF token when submitting a form
Hey guys, I am really hoping you can help me get to the bottom of this, I have messed around with CI before but this is the first time I am actually trying to build a site with it. I have had some...
View Articleget_compiled_insert_batch
Hi, I did not found way to get compiled sql for batch insert. PHP Code: $this->db->set_insert_batch($insert_data);$this->db->get_compiled_insert('purchase'); I tried this way but it is not...
View Article