3.6 404 error
Hello, I have installed the new ci 3.1.6. My login and main page loads fine but when I click a link I get a 404 error. The pages were loading fine in 3.1.5. I am using routers and controllers to load...
View ArticleHow run a script on host without internet?
Hello I have script that it have to generate 10000 record and save it in database I can open it in browser and it generate theirs and save in database But if when codes is generating and adding to...
View ArticleStatic CSRF
Hello there! I was having some issues with ajax and go forward/back in history and CSRF token. So someone said to me "well maybe you csrf_regenerate to FALSE, you don't need always a new token". My...
View ArticleMessage: Undefined offset: 0
My website displaying below error , Can any one please help me ? Message: Undefined offset: 0 Filename: core/My_front.php Line Number: 49 Backtrace: File:...
View Articleunable to display values from array in a view
Hi all, I am trying to out values using loop from an array, but facing error: Quote:Message: Undefined index: payment_description here my model: PHP Code: public function get_fee_invoice_4class($data){...
View Articlecodeigniter app in wordpress (subdomain) sub folder
I have a main site say http://www.abc.com, with htaccess for the main site I have another domain ww.efd.com hosted on the main site subfolder `/efd.com` (WordPress) it has this htaccess Code:...
View ArticlePagination on homepage
Hi I'm trying to have pagination on index of my default controller. e.g. http://domain.com/ i'm getting 404 error when going to second page on pagination e.g http://domain.com/2 i understand it is...
View ArticleDate Helper
HI im italian , my date format is 'd-m-Y'. For example i want insert 03-12-2017. In db i have a date field ('data_fine') , when i save the date in db i do this :...
View ArticleHow to exchange user data with the same class instance
Hi Team, I am using a controller which has several functions to process multiple steps in a user-process posting data to our server. So we are building up a complete page by letting the user...
View Articlepre_render() event
It would be great if there was a pre_render () event, so you could inject data into the view automatically. As for example, data referring to the session.
View ArticleHow to use ReactJS with Codeigniter?
Hi, I want to implement reactjs view in codeigniter. I can't find a good tutorial how to use reactjs with codeigniter When i issue, npm start, the view is started in http://localhost:8080 But php...
View ArticleExecute unlimit script
Hello friends I have a problem in execute php script for insert many record to database I add 10000 record in database when i run a.php script I redirect page when it create 10000 record and inserted...
View ArticleCodeigniter MYSQL MSSQL SERVER remote connection
Hello CodeIgniter Community. I am having a challenge in connecting to the database. So here is my scenario. My client has an existing database. It is a MS SQL Server database. It is a local database....
View ArticleAudit Trial
Hi All, Does anybody knows about audit logging or audit trail in CI? Any plugin that's already available? I wonder why no plugin available in detail. I need to be able to log all changes from...
View ArticleDetect in app browser by user agent library
Hello everyone, I found following information about detecting in-app browser detection and wondered if it's possible to identify that information also by the user agent library?...
View ArticleUse controller in third-party folder
Hello My project have 2 section (User portal,Admin panel) I want to place admin panel folder in third party folder Example : third_party/admin/controllers third_party/admin/models...
View ArticleCannot modify header information - headers already sent
Hi! I'm using CodeIgniter for quite awhile now..and I'm currently facing an error Code: A PHP Error was encountered Severity: Warning Message: Cannot modify header information - headers already sent by...
View ArticleAdd body to headers http
Hello I programming mobile app that need call delete method in api But i cannot send body to relate method with parameter Is there header key for add parameter into key and send api ?
View ArticleAidez moi
bonjour tout le monde, Je dois votre aide pour transférer les informations d'un fichier de téléchargement vers une base de données. voici la base de donn ées PHP Code: -- phpMyAdmin SQL Dump-- version...
View ArticleUnable to connect to your database server using the provided settings.
PHP Code: public function verversCampagne(){ $config['hostname'] = 'secret'; $config['username'] = 'secret'; $config['password'] = 'secret'; $config['database'] =...
View Article