I'm going nuts here. I have a very important APP running a lot of things on AJAX and out of nowhere some things stopped working (saving data), please keep this in mind: not a single line of code has been changed regarding the data saving script. The biggest problem is: some modules do save data and some others won't. I'm going crazy here.
#1. The pages sending data to the ajax and then to the perl scripts are located at the same level, the data saving script is the same for all the modules, they just send the data. No problems of not locating the url.
#2. What fails, fails 100% of times, it's not random. Let's say pages saving "widget history" don't save while the pages managing the "widget quantities" do save. Why? I don't know.
#3. I just added some lines to one of the scripts not saving data. I verified the URL being called via AJAX and everytime this script runs, it will create a temp file. Well, it does it the first time, but not the second time (so it displays the data but won't save it). The problem is even worse to diagnose than it seems because the scripts IS ACTUALLY CALLED only one time, the rest of times it's not even reached. YES, SAME URL. Makes no sense.
#4. It worked just fine a month ago.
#5. I have the same code on another server, no problems.
#6. One PHP receives data from PERL via Query string with coordinates and data, so it can draw a PDF, it worked but it also stopped working. I sent all the same data via query string and I can read it but nothing happens, it's as if the query string had some weird characters. Already performed char cleaning there and nothing. I ended sending a short query string (10 chars) with the ID of a temp file with the original data.
Sounds to me as some sort of problem with htaccess. My htaccess is THE SAME as usual, everything worked fine! I changed nothing, something changed on the server side (config) any clues? yes I know it sounds a lost battle... I will stay on my other server but would like to know a bit more, who knows, others might "install" what these folks installed.
Thanks in advance.