Skip to main content
Filter by
Sorted by
Tagged with
2 votes
1 answer
70 views

Running PHP 8. I have just upgraded CodeIgniter from 3.0.4 to 3.1.13. Before the upgrade, the affected_rows() worked fine and gave me the correct quantity. Now it just gives me a TypeError. This is a ...
Conny Olsson's user avatar
  • 1,599
0 votes
1 answer
83 views

I'm working on a project upgrading our website- jquery/datatables/codeigniter. In the previous version, I had no problem with this datatable. But now, for some reason the pagination isn't working. ...
xanabobana's user avatar
0 votes
0 answers
134 views

I'm integrating Google OAuth login in my CodeIgniter project, but I'm encountering an issue with the redirect URI after successfully authenticating with Google. Here's a summary of the problem: My ...
Vishnu S N's user avatar
1 vote
2 answers
114 views

I'm displaying Expired Items using this (codeigniter 3) $qs6="SELECT a.item_name,a.item_code,b.category_name,a.expire_date from db_items as a,db_category as b where b.id=a.category_id and a....
user81244's user avatar
  • 103
2 votes
0 answers
122 views

Getting next clue/socket-raw vendored error (Socket\Raw\Exception) when trying to launch Puppeteer browser: Socket operation failed: Resource temporarily unavailable (SOCKET_EAGAIN) Socket\Raw\...
Ivan Voznyuk's user avatar
0 votes
1 answer
93 views

My website was developed in PHP using the CodeIgniter framework. On the development server, everything worked perfectly, but after migrating the site to Prohoster, the email sending feature stopped ...
Amell12's user avatar
1 vote
1 answer
63 views

I am really new to Codeigniter, and just learning from scratch. I use CI3. in native PHP I have a function like this ( to calculate the number of days between two dates) : function dateDiff($date1, $...
diki-drezto's user avatar
0 votes
0 answers
52 views

Models: Ngetest.phpp <?php defined('BASEPATH') or exit('No direct script access allowed'); class Ngetest extends CI_Model { public function showEcho() { return "naisu"; ...
Syraxes's user avatar
-1 votes
2 answers
117 views

I am trying to upload an image to the server but the request will not end. In DevTools, the request shows as pending while, in the backend, php is continuously writing to an ever growing file until I ...
RisingSun's user avatar
  • 1,731
1 vote
1 answer
99 views

Flow: User fills a form with an email and gets a passcode. I generate and store this passcode (checksum_code) in the session using session()->set(...). Then I redirect() the user to a ...
Manish's user avatar
  • 23
0 votes
1 answer
75 views

I'm getting the following error: <b>Fatal error</b>: Uncaught CodeIgniter\Format\Exceptions\FormatException: Falha ao analisar a string json, erro: &quot;Malformed UTF-8 characters, ...
dotNeto's user avatar
0 votes
1 answer
73 views

I ran into a problem where I don't know how to check the uniqueness of some fields in the database, I don't have a field where only 1 element is unique, of course, except for the id, but I can't ...
qboshenkiy0_ Shirufietto's user avatar
2 votes
1 answer
78 views

I can't add fields to the profile, user_id seems to work, the values ​​are correct, but it doesn't add to the field, but if I change it manually in mysql, it changes the value without errors, what ...
qboshenkiy0_ Shirufietto's user avatar
0 votes
1 answer
58 views

After Upgrading to the latest Codeigniter 4 version, when I am trying to run the command php spark publish Then I am getting an error failed to publish to and more specifically for the reason: fails ...
John Skoubourdis's user avatar
0 votes
1 answer
176 views

I'm working on a CodeIgniter 4 project and trying to use a custom validation rule for my form. However, the rule doesn't seem to trigger, and I get no validation errors, even when the input should ...
Jayson Sarino's user avatar
0 votes
1 answer
76 views

I'm experiencing a strange issue where the page at https://customsportswears.com/ibc52/custom-afl-uniforms-high-quality-australian-football-league-gear.html loads fine in the browser, but when checked ...
user3430354's user avatar
1 vote
0 answers
54 views

I'm trying to save a mapped associative array from a JSON extracted with GPT-4 to a DB. The $datosPromptData array correctly contains all key-value pairs, and my DatosPromptModel model has the exact ...
Hugo Jiménez's user avatar
0 votes
0 answers
39 views

error description This error occurred when I uploaded an image file with the rules I wrote in the model. The image is still uploaded into a path that I have specified even though this error appears. ...
wafy's user avatar
  • 1
0 votes
0 answers
64 views

Good folk, a small tale of woe. I have taken on the upgrade of Codeigniter3 to version 4 (4.6.0). My app was working fine in CI3 but I have hit an issue with one aspect of my site with CI4. My Ubuntu ...
pcla56's user avatar
  • 11
1 vote
1 answer
98 views

I am using codeigniter 4 model for a an application which I work. I would like to get the filtered record count for a query as shown. My code is a shown below: $model = new LocationModel(); $builder = ...
CodersWorld's user avatar
0 votes
1 answer
64 views

I've installed a CodeIgniter app on an OpenLiteSpeed server, and although the script installation went smoothly, there appears to be a problem with the .htaccess redirects. Pages only seem to work ...
NotACoder's user avatar
4 votes
1 answer
112 views

I'm working on a CodeIgniter 4 project (CI: 4.4.3 production mode | PHP: 8.1.32), and I'm running into a strange issue where my finally block never executes if a database error happens during ...
Dejan Dozet's user avatar
  • 1,077
-1 votes
1 answer
109 views

I have a problem in displaying or getting the data from Excel File. Every time i run the route it gives me the error of "Failed to load resource: the server responded with a status of 500 (...
Rams's user avatar
  • 3
0 votes
0 answers
82 views

Hi I'm facing an issue during a technical challenge for a PHP internship using PHP 8.1 and CodeIgniter 3 (with HMVC structure using MX_Controller). The company sent me the repository already set up — ...
Jean Claro's user avatar
0 votes
2 answers
204 views

I have been running into the same issue for over the past 3 hours. I have uploaded my codeigniter4 project (my first one) to my namecheap shared hosting provider, and unfortunately I have ran into ...
Tygo Iedema's user avatar
1 vote
2 answers
77 views

I'm facing an issue with toast notifications in my CodeIgniter app. After a failed login attempt, the error message is displayed correctly using Toastr. However, this message keeps appearing on every ...
Shahreyar Habibi's user avatar
0 votes
1 answer
78 views

I’ve been working with CodeIgniter for a while, and it's been great so far. However, I’m having trouble understanding how base_url works. For instance, I’ve set the base_url like this: $config['...
Vic Zoren Abucot's user avatar
0 votes
1 answer
76 views

So I have been trying to create a Azure graph subscription API , the publicly accessible endpoint is https://omstest.shiplogiq.dev/webhook/graph_listener POST API URL: https://graph.microsoft.com/v1....
Vishal Dubey's user avatar
0 votes
0 answers
27 views

We are unable to get ci_session in React with a Node.js application from the CodeIgniter application. We currently have a running CodeIgniter portal and want to revamp a single page with React and ...
Rishabh's user avatar
  • 187
0 votes
3 answers
79 views

I would like to validate the following json in CI4: { "field1": "some value", "array1": { "2876": "4358", "9904": &...
ChrisG's user avatar
  • 73
0 votes
0 answers
127 views

I'm using CodeIgniter 4 and having an issue with my model. I'm using first() and findAll() to retrieve data as objects or arrays, but for some functions, I get this error: Unknown column '...
Steven Marchive's user avatar
-1 votes
1 answer
107 views

I have an function that tries to synchronize data of the API to the system and the system data needs to be synchronized with the API. As you can imagine this can take a little while, definitely when ...
oelimoe's user avatar
  • 445
-1 votes
1 answer
151 views

A PHP Error was encountered Severity: Deprecated Notice Message: str_replace(): Passing null to parameter #1 ($search) of type array|string is deprecated Filename: MX/Controller.php Line Number: 46 ...
Oscar Mgaya's user avatar
1 vote
2 answers
122 views

I have different custom Module paths/ Namespaces in my CodeIgniter4 project, and I just recently upgraded to version 4.4.0. in this upgrade the route settings will move from Config/Routes.php to ...
Olisa Agbafor's user avatar
0 votes
1 answer
54 views

I have implemented RabbitMQ in my CodeIgniter project to handle a file upload system. Users can upload multiple files at once. After uploading the files, the IDs of the uploaded files are added to a ...
vinod's user avatar
  • 21
0 votes
1 answer
82 views

I have an issue that I've been troubleshooting for days that just doesn't make any sense to me. I'm hoping someone has any idea to help! I'm working on a page where you need to be logged in. The ...
xanabobana's user avatar
1 vote
1 answer
97 views

I have a project with a GET route included in the ‘Routes.php’ file and the rest of the routes generated by autorouting, that is, access to the methods of the controllers from the URL. These ...
raulizbu's user avatar
0 votes
0 answers
46 views

I am working on translating a page from Codeigniter 3 to Codeigniter 4, and have session based CSRF protection enabled in CI4. For some reason, even though I can see the CSRF name and CSRF hash in ...
xanabobana's user avatar
1 vote
0 answers
69 views

I am using GD library to combine two or more than two images in code igniter. The combining part is working fine. But if I open any image in my system and rotate the image and then try to combine the ...
user3189881's user avatar
1 vote
2 answers
73 views

I have a library in my CodeIgniter4 project, now I want to make my lib with lots of functions more clear. For that I want to know if its possible to group the functions inside the class-definition by ...
4Usol's user avatar
  • 63
0 votes
3 answers
108 views

I have a library with lot of functions which I need all around the controllers, helper, models etc. Also I want to reduce the code inside each part of them. So I try to init the library once and have ...
relo80's user avatar
  • 31
0 votes
1 answer
411 views

I’m trying to set up a Docker-based environment for my PHP 7.4.33 application, but I’m unable to install the mysqli and pdo_mysql extensions. Despite following several tutorials and rebuilding the ...
Jasogu's user avatar
  • 1
0 votes
1 answer
62 views

I'm trying to rewrite a page from CI3 to CI4.  In CI3, the validation rule took a parameter from the controller. But now that I've rewritten the code, that parameter (projectid) is coming through as ...
xanabobana's user avatar
1 vote
1 answer
76 views

So, I am working on simple website for my office using codeigniter 4 and it's really different with the one I tried during my university days. My problem is a button which link to our form page. But ...
ahb97's user avatar
  • 13
0 votes
1 answer
93 views

I am trying to create a new site under xampp (php 8.2) with CodeIgniter 4.6(the latest). Here are what I did: run cmd: composer create-project codeigniter4/appstarter c46 under folder htdocs update ...
Alan shen's user avatar
0 votes
3 answers
81 views

I'm currently facing an issue with profile image access in my CodeIgniter 4 (ci4) application. After a user logs in, they can access the "Match Profile" and "View Profile" pages, ...
maulik's user avatar
  • 1
0 votes
1 answer
89 views

I've been trying for hours to figure out this error in CodeIgniter 4 (PHP 8.2), and I think someone else might notice what I'm missing. I have a Model with an update function. When I use it as is, I ...
ADF's user avatar
  • 11
0 votes
0 answers
47 views

Title: 502 Bad Gateway Error when Configuring base_url in CodeIgniter with Nginx and Docker Description: I have a legacy CodeIgniter application running in a Dockerized environment with PHP-FPM, ...
Sandeep pradeep's user avatar
-1 votes
1 answer
33 views

VIEW: <form method='post' action="<?php echo base_url('Reg_form/save')?>" enctype="multipart/form-data" name="reg_form"> <div class="form-row"&...
Muhammed Uzair KIM's user avatar
1 vote
2 answers
61 views

I am upgrading a page from CI3 to CI4. The page has a button to open a new tab which displays XML data. For some reason the CI4 version is showing the XML as plain text. I copied the source of each ...
xanabobana's user avatar

1
2 3 4 5
1402