Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
0 answers
11 views

CodeIgniter 3: Fatal Error. Uncaught error: Class 'CI_Controller' not found

So this is a kinda old project running CI3 and we're facing this issue. It's very sporadic, it seems like it happens when requesting Ajax routes and the temporary fix testers have found is to "...
Santiago Cuartas Arango's user avatar
2 votes
1 answer
58 views

Clear WooCommerce Custom Fees on shipping method change

I'm implementing some additional fields and fees on the Woocommerce Checkout Page depending on the chosen shipping method. I'm stuck when I try to clear all fees when user changes the chosen shipping ...
user520300's user avatar
  • 1,527
0 votes
0 answers
51 views

TYPO3 object is undefined in the JavaScript file

I am trying to make an Ajax request to the backend, but I get the error Uncaught ReferenceError: TYPO3 is not defined which is caused by this line : const url = TYPO3.settings.ajaxUrls['...
pixilatedDev's user avatar
0 votes
1 answer
30 views

Issues Implementing AJAX Autocomplete in WordPress Admin with Select2

I'm trying to implement an autocomplete feature in my WordPress admin area using Select2 and AJAX. However, I'm having trouble getting the AJAX requests to work correctly. PHP Code to Handle the AJAX ...
Matteo Didonè's user avatar
-1 votes
0 answers
40 views

Empty cache and weird first page loads on symfony 7.1

In my symfony 7.1 (php 8.3) application, on the registration page, the first attempt to submit the form always results in a console error message "turbo.index-810f44ef1a202a441e4866b7a4c72d11.js:...
RoZx93's user avatar
  • 1
1 vote
0 answers
67 views

Multiple requests being made from a single click

There is a duplicate request issue that affects staff members at our company. I am unable to replicate it in our development environment (or in production for that matter, but I work from home so ...
Antonio Agiste's user avatar
0 votes
2 answers
50 views

Post raw HTML data via AJAX to server with ModSecurity

I have a website that uses jQuery ajax $.post to save html data to a PHP script. The data for $.post is serialized textarea form data (where the user edits css, javascript & html). All works well ...
Jsp's user avatar
  • 176
0 votes
0 answers
23 views

javascript and php handling when form submits [duplicate]

Im new to web development, im trying to create a to do list. How to include this javascript function when form submits. I tried doing onClick(addTask(event)) it ignores javascript,page reloads and ...
Les Jetskii's user avatar
1 vote
1 answer
53 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
0 answers
19 views

Ajax Jquery append dropdown only populating once [duplicate]

When choosing a state, the user can also filter by city. However, the cities only populate once on their dropdown. All of the data for the new state selection(the cities) is being sent and logged. But ...
Sovereign Vapor's user avatar
0 votes
1 answer
27 views

Wordpress / Elementor How to pass data from one site to another

I have a problem. I have one page that has a slider and a button. On the second page, I would like to read what value the user sent. I tried to do it using cookies and session, but the problem occurs ...
Ownedds's user avatar
  • 27
0 votes
1 answer
38 views

Cannot retrieve serialized checkbox array data in PHP from ajax send

I am having difficulty retrieving my checkbox array data in my called PHP from an ajax send of a serialized form. I can call up all of the other form fields, but not the checkbox array. Can anyone ...
Barry Beach's user avatar
1 vote
1 answer
54 views

Import an Excel file using AJAX and Laravel

I'm trying to import an Excel file using AJAX and Laravel in my application. the form of excel import is an inner form (form inside another form) The error handling seems to be working partially, but ...
khaled amoudi's user avatar
2 votes
1 answer
47 views

response handling in Js/AJAX

I created a function to update data using AJAX. On xhr.onload, this.responseText is not displaying any value in the console log, and only the else part of the condition is executing, even though the ...
Mujtaba Ahmed's user avatar
2 votes
1 answer
56 views

Custom WooCommerce Admin notice with a dynamic message

I cannot display an admin message by sending an argument to the function. It was suggested I use a closure function but this does not appear to work. Here is the code function ...
mrslope's user avatar
  • 47

15 30 50 per page
1
2 3 4 5
4403