Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
After upgrade 5.0 to 5.1 Error in scheduled downtime
#1
Hi,

Someone else got this problem or a solution to the problem?

When trying to add new scheduled downtime I get the following error message: "Not created. Error during data insertion. Start time is required to be higher than the current time."

Hope there is someone with a solution to my problem.

Thanks in advance.
 Reply
#2
(07-10-2014, 08:08 AM)EasyMan link Wrote: Hi,

Someone else got this problem or a solution to the problem?

When trying to add new scheduled downtime I get the following error message: "Not created. Error during data insertion. Start time is required to be higher than the current time."

Hope there is someone with a solution to my problem.

Thanks in advance.

Hi,

Found out this far, I'm not able to add new periodically down time. But if I go in and create a new scheduled downtime that occur once, I can then edit this one to be periodically.

Suggestions?

Thanks in advance!
 Reply
#3
Hello

Have you executed the migrate scripts for the database schema?

Regards
Ivo
 Reply
#4
Hello,

Yes, all steps performed as in manual for upgrading. As I pointed out in my second post I can create new tasks that should be executed once, and then edit the to periodically. When I had a look at the code for creating scheduled tasks it seems, if I'm not wrong. That the If statement where I get this error is only used when creating periodically tasks. And it then seems as the start time is not fetched correct, but I will look in to this Monday, it seems odd I know.

Regards

Roland
 Reply
#5
Hello

Can you set verbosity to 10 in the server configuration restart the server wait for a couple of minutes and send us a copy of the log file located in  /var/log/pandora/pandora_server.log

Regards
Ivo
 Reply
#6
Hi,

Just got your mail I arrange that if it' still needed after the screendumps I have arranged with today. Sorry, but being new here where do you want me to send it, or do I post the server log here to?

One for showing what changes I done in the PHP code, one for error and one for success. Theres seems to be a datetime issue in the periodically.

Best regards

Roland


Attached Files


.png   PHP_Code_Change.PNG (Size: 18.74 KB / Downloads: 1)
.png   Error_Echo_from_strings.png (Size: 38.54 KB / Downloads: 0)
.png   Success_Echo_from_strings.png (Size: 24.85 KB / Downloads: 0)
 Reply
#7
Found what was wrong in the php code and did an adjustment. The IF statement didn't consider if it was 'once' or 'periodically' when creating new scheduled downtime, so it assumed it was 'once' and in that case '$datetime_from' was not changed.
 Reply


Users browsing this thread: 1 Guest(s)


(c) 2006-2018 Artica Soluciones Tecnológicas. Contents of this wiki are under Create Common Attribution v3 licence. | pandorafms.com | pandorafms.org

Theme © MyBB Themes