![]() |
Admin 1/24/2023 |
How do you know that the script is not executed? |
![]() |
Karlo_from_Germany author 1/24/2023 |
Sorry, a valid question. I actually don't know if the script is running or not. I can only say, that when I enter the same date in a field in my development environment, I get the expected error message. In the production system on the webserver I do not. |
![]() |
Admin 1/24/2023 |
You need to make sure that event actually runs. You need to print values of variables like $values["datum"] and toPHPTime($values["datum"]) to see if it is converted properly to time values etc. This is something that you cannot guess, you need to understand what exactly is happening there. |
![]() |
fhumanes 1/24/2023 |
Hello, You can activate a very simple debug system following the instructions of this article. https://fhumanes.com/blog/guias-desarrollo/guia-34-metodo-basico-para-depuracion-codigo/ With this system you can evaluate the variable content or whether or not it passes through the program. When you no longer want to purify code, you can deactivate it from a single point. I hope and wish that this method serves to find the problem you have in your code. Regards, |
![]() |
Karlo_from_Germany author 1/24/2023 |
Thanks for the ideas and tips. I have passed the problem on to my provider's server department. It seems that the problem is there. |