Skip to main content

Questions tagged [codeigniter-4]

CodeIgniter 4.x is the latest major version tree of the popular PHP-based framework. CodeIgniter is an Application Development Framework - a toolkit - primarily for people who build websites using PHP. Please refer to the [codeigniter] tag for more information.

codeigniter-4
0 votes
1 answer
25 views

CodeIgniter 4-Nginx Server 404

I'm trying to make a website with VTiger using CodeIgniter 4, Composer with MySQL database I made the installation following the instructions in CodeIgniter documentation, but I can't find the error. ...
Brayan Martinez Espinosa's user avatar
-2 votes
0 answers
20 views

javascript 403 forbidden wilayah codeigniter 4

Mohon bantuannya untuk mengatasi javascript wilayah View: <select name="prov" class="form-control" id="provinsi"> <option value=""><?= $prov ?...
Daarud Dhiyaafah's user avatar
0 votes
0 answers
13 views

CORB (Cross-Origin Read Blocking) issue on codeigniter4 and vue3

I use codeigniter4 for backend and vue3 for frontend. In displaying the image in vue3 this issue appears: Response was blocked by CORB (Cross-Origin Read Blocking) Cross-Origin Read Blocking (CORB) ...
Russel Dodon's user avatar
0 votes
0 answers
16 views

Unable to import csv in codeigniter 4

I am trying to import a CSV file into MySQL using CodeIgniter 4, but I'm facing an issue. When I printed my query, I noticed some dummy text before the column names, like: INSERT INTO tbl_user (....
Vipul's user avatar
  • 1
0 votes
0 answers
38 views

Unable to send email using SMTP. Your server might not be configured to send mail using this method.(CI version 4.5.3)

I am getting an error when I try to send mail using the codeigniter email service(using CI version 4.5.3). I have used the same email configuration for successfully sending emails with previous ...
DXB-DEV's user avatar
  • 569
0 votes
0 answers
19 views

finfo_file(C:\Users\acer\AppData\Local\Temp\phpAD40.tmp): Failed to open stream: No such file or directory

i got this error when i try to save uploaded file into model. i'm using codeigniter 4.5.2, what should i do to fix it? public function store() { $getImage = $this->request->getFile('...
Ziyad Alwafie's user avatar
1 vote
2 answers
51 views

How to load css files in code igniter 4, but not from public folder

I want to load css file from app/asset/css/tes.css This is my css file This is my controller This is my route This is my view I tried many ways but still couldn't. Please help me I want to access the ...
Rifkhy Charisma's user avatar
-5 votes
1 answer
71 views

how to retrieve a file using php

I want to retrieve a file/image from specific path in php, I was tried different ways like file_get_contents and opendir and readdir like etc , but unable to find any solutions, Can you please help on ...
Niranajan C's user avatar
-2 votes
0 answers
92 views

This "system/bootstrap.php" is no longer used

I'm encountering an issue while reopening my old project in CodeIgniter. When I run the spark command, I'm seeing the error message: 'This "system/bootstrap.php" is no longer used. If you ...
Fadjrin's user avatar
0 votes
0 answers
20 views

How to include condition of generated select to where parameter in Codeigniter 4? [duplicate]

My code in COdeigniter 4 model is as following: public function check_header($id){ $where_params = [ 'a.id' => $id, 'fee_status' => 'applied' ]; return $this->db-&...
Bonifacius Sarumpaet's user avatar
0 votes
0 answers
29 views

How to use HAVING condition in CodeIgniter mySQL query that is grouping data from three tables with specific values

I've been using CodeIgniter v4 query builder for most of my database needs and all is fine as it's a very readable way to structure queries, but I've come across a query that is quite complex to write,...
Andrew S's user avatar
0 votes
0 answers
35 views

google login implementation not working in codeIgnite 4 framework

Here, I have implemented in a function name googlelogin: not getting code back from the OAuth 2.0 flow `public function googlelogin() { require_once APPPATH . 'Glibraries/vendor/autoload.php'; ...
Prem Murmu's user avatar
1 vote
0 answers
27 views

CodeIgniter 4 does not send attachment

helper('inflector'); $pdfFileName = underscore(WRITEPATH.'uploads\invoice '.$invoice_number.'.pdf'); file_put_contents($pdfFileName, $dompdf->output()); if (file_exists($pdfFileName) &...
Steve Arnold's user avatar
1 vote
1 answer
35 views

Codeigniter Date comparison - Less than 24 Hours inside Models [duplicate]

I have the following queries in CodeIgniter to find any data in which the date_created field is less than 24 hours. Here is my code in Models public function checkDeposit($preOrder) { ...
user23186421's user avatar
0 votes
1 answer
61 views

Apache2.4 with two versions of php session sharing

I have seen many articles regarding session sharing between subdomains, and I can't quite make things work. Setup: Localhost - Apache2.4 with vhosts - 2 domains (one of which is top level domain, and ...
Robert's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
88