Web based family history software

Question Errors related to Calendar Code Changes in Git

  • KosherJava
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
9 years 6 months ago #1 by KosherJava
Here are the errors from my logs related to the recent calendar code chnages in Git. There were many of them, but this is the list of the unique log entries
Code:
PHP Fatal error: Call to undefined function utf8_substr() in /wt/includes/functions/functions_print.php on line 442 PHP Fatal error: Call to undefined method WT_Date_Gregorian::convert_to_cal() in /wt/library/WT/Controller/Timeline.php on line 102 PHP Fatal error: Call to undefined method WT_Date_Gregorian::convert_to_cal() in /wt/library/WT/Controller/Timeline.php on line 80 PHP Notice: Undefined offset: -3 in /wt/library/fisharebest/ext-calendar/src/JewishCalendar.php on line 258 PHP Notice: Undefined offset: -5 in /wt/library/fisharebest/ext-calendar/src/JewishCalendar.php on line 258 PHP Notice: Undefined offset: 14 in /wt/library/fisharebest/ext-calendar/src/JewishCalendar.php on line 273 PHP Warning: invalid date. in /wt/library/fisharebest/ext-calendar/src/JewishCalendar.php on line 351

Please Log in or Create an account to join the conversation.

More
9 years 6 months ago #2 by fisharebest
Replied by fisharebest on topic Errors related to Calendar Code Changes in Git
1) fixed

2) do you have any jewish dates with negative years?

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

  • KosherJava
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
9 years 6 months ago #3 by KosherJava
Replied by KosherJava on topic Errors related to Calendar Code Changes in Git
There is no concept of negative years in the Jewish calendar. All of my data is stored in Gregorian calendar dates with on the fly conversion by webtrees. The earliest date in my GEDCOM is ABT 1496.

Please Log in or Create an account to join the conversation.

  • KosherJava
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
9 years 6 months ago #4 by KosherJava
Replied by KosherJava on topic Errors related to Calendar Code Changes in Git
I ran admin_trees_check.php and it found no real errors. I also loaded the pages for the early people in my tree (I found an ABT 1408), and it generated no errors.

Please Log in or Create an account to join the conversation.

  • KosherJava
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
9 years 6 months ago #5 by KosherJava
Replied by KosherJava on topic Errors related to Calendar Code Changes in Git
The URL was triggered by a BOT. I allow bots in via the admin center

calendar.php?cal=%40%23DFRENCH R%40&day=11&month=NIVO&year=3&filterev=bdm&filterof=all&action=calendar
Code:
ERROR 8: Undefined offset: -3 0 Error occurred on line 258 of file JewishCalendar.php in function yToJd 1 called from line 200 of file JewishCalendar.php in function jdToY 2 called from line 216 of file JewishCalendar.php in function jdToYmd 3 called from line 58 of file Calendar.php in function __construct 4 called from line 44 of file Jewish.php in function __construct 5 called from line 867 of file functions_db.php in function get_anniversary_events 6 called from line 346 of file calendar.php ERROR 8: Undefined offset: -3 0 Error occurred on line 258 of file JewishCalendar.php in function yToJd 1 called from line 220 of file JewishCalendar.php in function jdToYmd 2 called from line 58 of file Calendar.php in function __construct 3 called from line 44 of file Jewish.php in function __construct 4 called from line 867 of file functions_db.php in function get_anniversary_events 5 called from line 346 of file calendar.php ERROR 8: Undefined offset: -5 0 Error occurred on line 258 of file JewishCalendar.php in function yToJd 1 called from line 285 of file JewishCalendar.php in function yearType 2 called from line 304 of file JewishCalendar.php in function daysInMonthHeshvan 3 called from line 353 of file JewishCalendar.php in function daysInMonth 4 called from line 222 of file JewishCalendar.php in function jdToYmd 5 called from line 58 of file Calendar.php in function __construct 6 called from line 44 of file Jewish.php in function __construct 7 called from line 867 of file functions_db.php in function get_anniversary_events 8 called from line 346 of file calendar.php ERROR 8: Undefined offset: -3 0 Error occurred on line 258 of file JewishCalendar.php in function yToJd 1 called from line 285 of file JewishCalendar.php in function yearType 2 called from line 304 of file JewishCalendar.php in function daysInMonthHeshvan 3 called from line 353 of file JewishCalendar.php in function daysInMonth 4 called from line 222 of file JewishCalendar.php in function jdToYmd 5 called from line 58 of file Calendar.php in function __construct 6 called from line 44 of file Jewish.php in function __construct 7 called from line 867 of file functions_db.php in function get_anniversary_events 8 called from line 346 of file calendar.php ERROR 8: Undefined offset: -5 0 Error occurred on line 258 of file JewishCalendar.php in function yToJd 1 called from line 285 of file JewishCalendar.php in function yearType 2 called from line 304 of file JewishCalendar.php in function daysInMonthHeshvan 3 called from line 353 of file JewishCalendar.php in function daysInMonth 4 called from line 223 of file JewishCalendar.php in function jdToYmd 5 called from line 58 of file Calendar.php in function __construct 6 called from line 44 of file Jewish.php in function __construct 7 called from line 867 of file functions_db.php in function get_anniversary_events 8 called from line 346 of file calendar.php ERROR 8: Undefined offset: -3 0 Error occurred on line 258 of file JewishCalendar.php in function yToJd 1 called from line 285 of file JewishCalendar.php in function yearType 2 called from line 304 of file JewishCalendar.php in function daysInMonthHeshvan 3 called from line 353 of file JewishCalendar.php in function daysInMonth 4 called from line 223 of file JewishCalendar.php in function jdToYmd 5 called from line 58 of file Calendar.php in function __construct 6 called from line 44 of file Jewish.php in function __construct 7 called from line 867 of file functions_db.php in function get_anniversary_events 8 called from line 346 of file calendar.php ERROR 8: Undefined offset: -5 0 Error occurred on line 258 of file JewishCalendar.php in function yToJd 1 called from line 285 of file JewishCalendar.php in function yearType 2 called from line 319 of file JewishCalendar.php in function daysInMonthKislev 3 called from line 355 of file JewishCalendar.php in function daysInMonth 4 called from line 222 of file JewishCalendar.php in function jdToYmd 5 called from line 58 of file Calendar.php in function __construct 6 called from line 44 of file Jewish.php in function __construct 7 called from line 867 of file functions_db.php in function get_anniversary_events 8 called from line 346 of file calendar.php ERROR 8: Undefined offset: -3 0 Error occurred on line 258 of file JewishCalendar.php in function yToJd 1 called from line 285 of file JewishCalendar.php in function yearType 2 called from line 319 of file JewishCalendar.php in function daysInMonthKislev 3 called from line 355 of file JewishCalendar.php in function daysInMonth 4 called from line 222 of file JewishCalendar.php in function jdToYmd 5 called from line 58 of file Calendar.php in function __construct 6 called from line 44 of file Jewish.php in function __construct 7 called from line 867 of file functions_db.php in function get_anniversary_events 8 called from line 346 of file calendar.php ERROR 8: Undefined offset: -5 0 Error occurred on line 258 of file JewishCalendar.php in function yToJd 1 called from line 285 of file JewishCalendar.php in function yearType 2 called from line 319 of file JewishCalendar.php in function daysInMonthKislev 3 called from line 355 of file JewishCalendar.php in function daysInMonth 4 called from line 223 of file JewishCalendar.php in function jdToYmd 5 called from line 58 of file Calendar.php in function __construct 6 called from line 44 of file Jewish.php in function __construct 7 called from line 867 of file functions_db.php in function get_anniversary_events 8 called from line 346 of file calendar.php ERROR 8: Undefined offset: -3 0 Error occurred on line 258 of file JewishCalendar.php in function yToJd 1 called from line 285 of file JewishCalendar.php in function yearType 2 called from line 319 of file JewishCalendar.php in function daysInMonthKislev 3 called from line 355 of file JewishCalendar.php in function daysInMonth 4 called from line 223 of file JewishCalendar.php in function jdToYmd 5 called from line 58 of file Calendar.php in function __construct 6 called from line 44 of file Jewish.php in function __construct 7 called from line 867 of file functions_db.php in function get_anniversary_events 8 called from line 346 of file calendar.php ERROR 512: invalid date. ERROR 8: Undefined offset: -3 0 Error occurred on line 258 of file JewishCalendar.php in function yToJd 1 called from line 272 of file JewishCalendar.php in function ymdToJd 2 called from line 339 of file Calendar.php in function daysInMonth 3 called from line 868 of file functions_db.php in function get_anniversary_events 4 called from line 346 of file calendar.php ERROR 8: Undefined offset: -5 0 Error occurred on line 258 of file JewishCalendar.php in function yToJd 1 called from line 285 of file JewishCalendar.php in function yearType 2 called from line 273 of file JewishCalendar.php in function ymdToJd 3 called from line 339 of file Calendar.php in function daysInMonth 4 called from line 868 of file functions_db.php in function get_anniversary_events 5 called from line 346 of file calendar.php ERROR 8: Undefined offset: -3 0 Error occurred on line 258 of file JewishCalendar.php in function yToJd 1 called from line 285 of file JewishCalendar.php in function yearType 2 called from line 273 of file JewishCalendar.php in function ymdToJd 3 called from line 339 of file Calendar.php in function daysInMonth 4 called from line 868 of file functions_db.php in function get_anniversary_events 5 called from line 346 of file calendar.php ERROR 8: Undefined offset: -3 0 Error occurred on line 258 of file JewishCalendar.php in function yToJd 1 called from line 272 of file JewishCalendar.php in function ymdToJd 2 called from line 339 of file Calendar.php in function daysInMonth 3 called from line 868 of file functions_db.php in function get_anniversary_events 4 called from line 346 of file calendar.php ERROR 8: Undefined offset: -5 0 Error occurred on line 258 of file JewishCalendar.php in function yToJd 1 called from line 285 of file JewishCalendar.php in function yearType 2 called from line 273 of file JewishCalendar.php in function ymdToJd 3 called from line 339 of file Calendar.php in function daysInMonth 4 called from line 868 of file functions_db.php in function get_anniversary_events 5 called from line 346 of file calendar.php ERROR 8: Undefined offset: -3 0 Error occurred on line 258 of file JewishCalendar.php in function yToJd 1 called from line 285 of file JewishCalendar.php in function yearType 2 called from line 273 of file JewishCalendar.php in function ymdToJd 3 called from line 339 of file Calendar.php in function daysInMonth 4 called from line 868 of file functions_db.php in function get_anniversary_events 5 called from line 346 of file calendar.php ERROR 8: Undefined offset: 14 0 Error occurred on line 273 of file JewishCalendar.php in function ymdToJd 1 called from line 339 of file Calendar.php in function daysInMonth 2 called from line 868 of file functions_db.php in function get_anniversary_events 3 called from line 346 of file calendar.php

Please Log in or Create an account to join the conversation.

  • KosherJava
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
9 years 6 months ago #6 by KosherJava
Replied by KosherJava on topic Errors related to Calendar Code Changes in Git
On a side topic, many may wonder why I allow bots from the main search engines in as real users and this is because I found that it actually allowed people to find things that they would not find in other cases. Pages that has info on different people will show up in some searches where the names are so common that only searches for multiple names will bring up meaningful results. There are also cases where people have fragments of info and the pages covering multiple indis will find a match that they would not have found in other cases.

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum
}