Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
50 views

http.get fails most of the time while file_get_contents doesnt fail. What am I doing wrong with my node script?

I am using node to download data from overpass. I am constantly receiving errors (see far below), however, if I use file_get_contents in codeigniter I never receive any errors and data downloaded ...
spreaderman's user avatar
  • 1,094
0 votes
2 answers
88 views

CSRF token for AJAX call in attached javascript file

I'm working in Codeigniter 4 with CSRF protection enabled. I have an AJAX call in an attached js file, and I can't figure out how to generate the CSRF token. Previously, I have done it in php files ...
xanabobana's user avatar
4 votes
1 answer
114 views

Login Not happening Correctly in Codeignitor 3.1.11 php 7.4

When I click on Login button, 1) then login successfully message appears. 2) I also checked session is created successfully as I put response line $resp = array('status'=>'1','msg'=>$this->...
Muhammad Sarmad Mahmood Malik's user avatar
0 votes
0 answers
65 views

Select2 ajax based results filtering based on regex on client and server side

I have implemented select2 in codeigniter for ajax based results and its working perfectly. But the challenge I am encountering is that the data in database is not sanitized e.g E.C.G Machine ECG ...
Muhammad Asif Raza's user avatar
1 vote
1 answer
96 views

CodeIgniter and Ajax: Dynamic Dependent Dropdown not working

I'm trying to create a Dynamic Dependent Dropdown via Ajax and CodeIgniter 4. However, I could not make it work. Can you help me figure out what's wrong? I'm trying to follow this tutorial online: ...
cjvdg's user avatar
  • 533
-1 votes
1 answer
70 views

Behavior of JavaScript in passing data

when i pass data as a parameter to a function which is gotten by a request and perform nullish coalescing on it does not work, if i want to check its empty then dont assign it to a variable assign ...
Taha's user avatar
  • 1
0 votes
1 answer
48 views

Getting the month difference based on three dates criteria

Here is my code I am using to find out the month difference. loan disbursement date = 05-12-2023, loan collection day = 1st Saturday of each month current date So we need to find out how many 1st ...
deepakparam's user avatar
0 votes
1 answer
84 views

Codeigniter 4 ajax post results in 404 error

I am trying to handle a form submit using the JQuery ajax function on localhost xampp. However, the following always results in a 404 page not found error: $(document).on("click", "....
user837032's user avatar
0 votes
1 answer
70 views

Unexpected HTTP Request to Controller Method Causes 403 Forbidden in Dynamically Generated Form

I have a anchor tag in dashboard_view.php that's designed like a button that redirect to the view_cart controller method. <a class="show_cart" href="<?=base_url('...
Adrian Gaile Singh's user avatar
0 votes
2 answers
103 views

How can I display the number of doctors for each department in this code?

I have a table in the database that I named department, and another that I named doctor. I plan to display the number of doctors for each department. But when I try to display them, I always get the ...
Oli's user avatar
  • 11
0 votes
1 answer
45 views

Codeigniter Downlaod Helper not working for Zip files

I am trying to download a file saved in the server and allow the user to extract it from the front end based on the date selected. The application is built using the codeigniter framework. I am ...
hungry_coder's user avatar
0 votes
0 answers
60 views

CORS CI4 /public folder (kml file) when access from frontend Nuxt JS

i want to access kml file from my backend try { for (const city of this.cities) { if (!city || !city.kml) { continue; } const baseURL = `...
noir's user avatar
  • 1
0 votes
1 answer
63 views

TinyMCE editor unclickable / disabled in Codeigniter 4

I'm working on converting my website from Codeigniter 3 to 4. I'm planning to upgrade TinyMCE after the Codeigniter upgrade is finished, but currently am on TinyMCE version 4.1.7 After converting my ...
xanabobana's user avatar
0 votes
1 answer
85 views

How to solve the error: Call to a member function row() on string?

I set up a web application with a registration form. When I try to insert the data into the database through this form, I get this error: Uncaught Error: Call to a member function row() on string in ...
DELARUELLE LUMBIDI's user avatar
0 votes
1 answer
251 views

how to append zmmtg-root inside meetingSDKElement DOM

I am implementing zoom meeting inside my website. I am using zoom meeting SDK. Everything works well but DOM is appending just above the closing </html> tag. HOwever, In my view, I have defined ...
Rahul Gupta's user avatar

15 30 50 per page
1
2 3 4 5
309