codeigniter Questions

4

Solved

This is my first php framework. I have a php file in my controller which is posts.php but when I tried to run it localhost/codeigniter/index.php/posts, it displays error 404 .htaccess inside appl...
Quamash asked 17/7, 2015 at 14:18

4

Solved

I want to create a website where the main pages will be served from CodeIgniter. I will use Wordpress in the /blog/ sub-directory to host the blog. Thats it! I want nothing else. Just to make sure ...
Fascinator asked 24/3, 2010 at 18:38

5

Solved

In Ci, I've got the following function. How do I test that the query successfully inserted without error's? public function postToWall() { $entryData = $this->input->post('entryData'); $my...
Silassilastic asked 15/3, 2012 at 22:39

5

Solved

My website hosting server is hostmonster.com. My application uses codeigniter framework. I have a code which sends emails to my users and I want to make it automatic. I have used the cpanel of t...
Mythology asked 5/10, 2013 at 15:12

9

Solved

I have a code for form validating in my CodeIgniter app: $this->load->library('form_validation'); $this->form_validation->set_rules('message', 'Message', 'trim|xss_clean|required'); $...
Interracial asked 13/1, 2011 at 4:55

15

Solved

I have been using CI just fine using the MySQL driver. I want to use the MySQL driver instead, but as soon as I change it (just add the ‘i’ at the end of MySQL, and added the port number) I get the...
Colt asked 31/8, 2011 at 7:52

12

I am using Codeigniter 2.1.4 and I have facing some issues with flashdata. When I successfully submit record I can display the flashdata message. But if go to the other page from the page where fla...
Effrontery asked 17/9, 2013 at 9:44

6

Solved

I just downloaded CodeIgniter 4 from their official GitHub. They changed a lot from CodeIgniter 3. I want to use base_url() function in the view and for that, you need to load URL helper and in Cod...
Letitialetizia asked 21/1, 2017 at 8:30

3

I have an application running on Postgres database, sometimes when I have about 8-10 people working on the application, the CPU usage soars high to something between 99-100%, The application was bu...
Jarodjarosite asked 24/8, 2015 at 5:52

2

Solved

I'm integrating Stripe Payment Intent API and it's working well where 3D secure is not required, 3D secure authorization is popping up but I think I'm missing return_url to confirm the payment. Whe...
Houston asked 25/4, 2019 at 23:13

11

Solved

I'm using mPDF library for generating PDF files from HTML page. It is working nice in firefox but it is not display PDF file in chrome browser. I'm getting following error while generate PDF in ch...
Ruvolo asked 12/1, 2016 at 7:10

6

Solved

How can CodeIgniter and WordPress be integrated such that the look and feel/template of the WordPress blog is carried over to the CodeIgniter-created pages?
Sherellsherer asked 10/8, 2009 at 9:26

2

I'm running codeigniter 4.1.5 and php 8.1.0 and when i try to input data this is the error i got Uncaught ErrorException: strtolower(): Passing null to parameter #1 ($string) of type string is depr...
Congregationalism asked 9/12, 2021 at 5:24

11

I have a PHP application written using the Codeigniter framework. When I am trying to run this application on Windows Machine then I am getting below error: An Error Was Encountered The Encrypt...
Wakeup asked 26/5, 2018 at 10:4

8

Solved

I have a page with links to reports. Whenever somebody clicks on one report, they can download the excel file. However, sometimes there are no fields to make a report; in that case, I want to displ...
Metternich asked 8/8, 2012 at 17:9

4

Solved

I'm looking for help to know which route my Codeigniter application goes through. In my application folder in config/routes.php i got some database generated routes, could look like this: $route[...
Adela asked 19/7, 2014 at 20:9

19

Solved

I enabled the csrf_protection option in codeigniter's config file, and used form_open() function to create my forms. But when I submit the form, this error occurs: The action you have requested ...
Emigrant asked 19/1, 2014 at 8:23

12

Solved

How can I retrieve data from the database by querying records between two dates using CodeIgniter's activerecord?
Exenterate asked 2/2, 2011 at 14:35

7

Solved

Iam using codeigniter I exicuted the code on live server. got the following error using print_debugger() Unable to send email using PHP SMTP. Your server might not be configured to send mail u...
Chrysostom asked 22/7, 2017 at 8:45

14

On a codeigniter installation, I am trying to use the inbuilt $this->input->post('some_data') function, however $this->input->post() is an empty array. A print_r($_POST) gives all the ...
Photograph asked 11/9, 2012 at 19:2

4

Solved

I'm trying to set up Codeigniter4 with Xampp but when calling the public address http://localhost/projectfolder/public/index.php as stated in the README.md file of the CodeIgniter4 framework, the n...
Lucielucien asked 11/3, 2022 at 7:15

13

Solved

I downloaded a PHP script written using CodeIgniter. when I run it from the localhost, on going to the admin folder, it shows localhost again. Also when running from my web host, it shows a 500 Int...
Livvi asked 11/9, 2011 at 11:22

8

Solved

I just started learning Codeigniter 4. My query always generates NULL and I don't know why. How can I see the generated SQL Select command just like Codeigniter 3? In Codeigniter 3 this command do...
Stotts asked 31/1, 2020 at 8:44

2

Solved

I'm trying to use traits in CodeIgniter. I put the Trait in the libraries directory and then loaded the library in the controller. Then I used the trait in the model, but it didn't work and I recei...
Tore asked 18/12, 2017 at 15:4

6

Solved

I'm writing a RESTful API. I'm having trouble with uploading images using the different verbs. Consider: I have an object which can be created/modified/deleted/viewed via a post/put/delete/get re...
Sammie asked 27/2, 2012 at 12:21

© 2022 - 2024 — McMap. All rights reserved.