Hi there!
I don’t know what is happening, but here’s what I’m facing:
I had developed a site using the usual techs: PHP, SQLite and JavaScript.
On my machine everything works just fine, whether I’m using Linux or Windows, FireFox or Chrome, and on more than one machine as well.
But when I upload my files on the remote server, some JavaScript code doesn’t get executed!! But the code should have nothing to do with the server; it’s executed client-side!!!
I’m at a loss where else to look!!
I would appreciate any suggestion! A million thanks in advance!
Mmmmmmm
I could do that, of course, only the live site is in Arabic, for starters.
Besides, it’s an evaluation system where contestants would be added to the system, and then judges would evaluate them. While doing that, certain fields are dealt with as if they have defaults; this works just fine if I’m using my local server. When using the live server, instead, those aforementioned fields fail to behave as having their default values, and one would need to enter those manually.
Hence, providing you with the link would no good, I’m afraid.
So, for example, the code between double asterisks is the problem:
I would be really surprised if eval were blocked! Because, if it were true, no part of the code would have been executed at all!! As it stands, every other part of the code runs just fine. Except, of course, that part I mentioned above that, somehow, gets skipped.
Well, today, everything went rather smoothly. I hadn’t done any changes. So, no idea what went wrong for two days, and how it went away on the third day. I’m completely baffled…
I’d be surprised if it was… You see, we were nine people on the judging panel, each working on his/her own laptop and browser, and it was the first day to use the programme after the two-year stop due to Covid-19.
Besides, the part of the code that was skipped was indeed there all the time.
Fankly, I am at a complete loss why that happened, why and how it ceased to be, and how I can guard against it happening again!!!