This Help forum is for issues relates to the latest release (1.7.5). For issues related to beta or github version please use their own Help forum.
Before asking for help please read "How to request help" by clicking on that tab above here."

TOPIC: fatal error

fatal error 1 year 4 months ago #1

  • madargel
  • madargel's Avatar
  • Offline
  • New
  • Posts: 16
Hello,
I use webtrees lot of years with my website myancestry.de/phpgedview
Never before I regonized fatal errors.

right now thy are very often, esp.with complex queries and long result lists.

try this please: myancestry.de/phpgedview/indilist.php?su...w_all_firstnames=yes

My memory limit is adjusted to 256M. Increasing up to 512M has no impact.

Youre hits are welcome.
Thanks, Marko
The administrator has disabled public write access.

fatal error 1 year 4 months ago #2

  • madargel
  • madargel's Avatar
  • Offline
  • New
  • Posts: 16
to compare with the old release (webtrees 1.7.4): myancestry.de.ps-server.net/phpgedview/i...w_all_firstnames=yes
Last Edit: 1 year 4 months ago by madargel. Reason: webtrees version added
The administrator has disabled public write access.

fatal error 1 year 4 months ago #3

  • bertkoor
  • bertkoor's Avatar
  • Offline
  • Gold
  • Greetings from Utrecht, Holland
  • Posts: 1279
Hi Marko,

This not only happens in the individual list, but also when searching on that last name.
Could you check whether you also get this error when you are logged in as the site owner?
If not, this could be a simular issue as some other users have found:
www.webtrees.net/index.php/en/forum/help...ged-out-search#60045
stamboom.BertKoor.nl runs on webtrees v1.7.9
Last Edit: 1 year 4 months ago by bertkoor.
The administrator has disabled public write access.

fatal error 1 year 4 months ago #4

  • madargel
  • madargel's Avatar
  • Offline
  • New
  • Posts: 16
Hi bertkoor,
thank you for your inspiration!

If I stay logged in, the scripts are working fine.

I couldt try this behavior only with Safari and Chrome, not by Firefox.

Because Firefox didn't allow me to login. Initializing the login process by clicking the login link produces the message:
"You don't have permeissions to use this site." That's terrible.

I deistalled FF, cleand the profile and reinstalled FF. With a fresh profile witout any addons or plugins ... same result.
I clouldn't believe it...

Also it isn't posible to change the language in Firefox (ony Chrome and Safari).
I tested it on different machines with OSX El Captain, newst browser releases.

I hope you have a solution for this two problems.

Thank you very much, Marko

PS - my site links:
myancestry.de
myancestry.de/genealogie (embedded in Joomla)
myancestry.de/phpgedview (standalone)
Attachments:
Last Edit: 1 year 4 months ago by madargel.
The administrator has disabled public write access.

fatal error 1 year 4 months ago #5

  • madargel
  • madargel's Avatar
  • Offline
  • New
  • Posts: 16
I followed ths hint
nother thing to try would be to set the option Show Private Relationships to Show to Visitors. It's under Control Panel --> Manage Family Trees --> Privacy.

And the fatal erros are gone. But what are the secondary consequences related to privacy? What informtions for not registerd users are shown just know?

And . . . what is the final solution? ...esp.the login problems with Firefox...

Thanks, MArko
The administrator has disabled public write access.

fatal error 1 year 4 months ago #6

  • bertkoor
  • bertkoor's Avatar
  • Offline
  • Gold
  • Greetings from Utrecht, Holland
  • Posts: 1279
If I stay logged in, the scripts are working fine.

So it looks like you have the same issue as reported before! The cause is a combination of individuals with unknown dates of birth & death and certain privacy restrictions. In that algorithm there's an infinite loop in case both parents don't have any recorded dates and there's no direct indication whether these are alive (and hence whether privacy restrictions apply.)

Two things you can do as a work-around:
1: Relax the privacy: allow visitors to see private relations (but not their names)
or 2: Control Panel - Module Administration - Batch Update - Add Missing Death Records. That will record "1 DEAT y" on individuals that logically cannot be alive anymore. That way webtrees knows directly these individuals may be discovered by visitors, and it doesn't need to process their relatives to determine that.

madargel wrote:
"You don't have permeissions to use this site." That's terrible.

There's a feature in webtrees which determines what type of user is accessing the site. For instance search robots are not allowed to visit certain pages such as the login page and some of the large lists & reports. This works by means of your IP address and the browser's user agent string. I suspect webtrees doesn't recognise the user agent string of the newest Firefox version and so you are automatically categorised as a robot.

With another browser than Firefox you can log in. Again in the Control Panel go to Website - Website Access Rules. Probably one of the last entries in the shown table is the most recent Firefox with your IP address. Change that to "Allow" with an IP range of 0.0.0.0 - 255.255.255.255.

I hope that helps...
stamboom.BertKoor.nl runs on webtrees v1.7.9
The administrator has disabled public write access.

fatal error 1 year 4 months ago #7

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 10823
> So it looks like you have the same issue as reported before!

This is github.com/fisharebest/webtrees/issues/1053
I have found the cause. I am testing a fix.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

fatal error 1 year 4 months ago #8

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 10823
I've submitted a fix.

github.com/fisharebest/webtrees/commit/1...9f8a0e56da7a09f06574

It's just a few lines of code to change. I'd be grateful if some people could test this for me.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.
Do you need a web hosting solution for your webtrees site?
If you prefer a host that specialises in webtrees, the following page lists some suppliers able to provide one for you: 

fatal error 1 year 4 months ago #9

  • madargel
  • madargel's Avatar
  • Offline
  • New
  • Posts: 16
thanks bertkoor. The workarounds are fine.
Regrads, MArko
Last Edit: 1 year 4 months ago by madargel.
The administrator has disabled public write access.

fatal error 1 year 4 months ago #10

  • madargel
  • madargel's Avatar
  • Offline
  • New
  • Posts: 16
Thanky you fisharebest,
but I'm not familiar with github and using dev releases.

Best regards, Marko
Last Edit: 1 year 4 months ago by madargel.
The administrator has disabled public write access.

fatal error 1 year 4 months ago #11

  • hermann
  • hermann's Avatar
  • Offline
  • New
  • Posts: 97
The problems I had before, when I was not logged in, disappeared now after changing the two files. I don't found any error doing some tests. Thanks!
webtrees 1.7.9 (many additional modules); PHP 7.0.15;
ahnen.hartenthaler.eu/
The administrator has disabled public write access.

fatal error 1 year 4 months ago #12

  • andgto
  • andgto's Avatar
ok
The administrator has disabled public write access.

fatal error 1 year 4 months ago #13

  • eh215
  • eh215's Avatar
  • Offline
  • Junior
  • Posts: 149
Made the changes in my test system and it fixed the original issue. I did some other testing and didn't see any new issues.

Eric
webtrees 1.7.9 at behunt.net/ft
PHP 7.0.12, MySQL 5.6.32-78.1
The administrator has disabled public write access.

fatal error 1 year 4 months ago #14

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 10823
Thanks. This is a serious bug (but for a small number of users?).

So, I will create the next release sooner than planned. Probably at the end of the week.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

fatal error 1 year 4 months ago #15

  • hermann
  • hermann's Avatar
  • Offline
  • New
  • Posts: 97
Maybe there is still a (minor) problem. After changing the two files everything seems to be ok - no longer empty screens. But now a visitor (not logged in) told me about a problem: I have a dead lady in my tree. She was married two times. Both husbands are dead too. With the first husband she doesn't had children, but with the second one she had a still living daughter. The visitor can see the first marriage but not the second one. I think he should see it, because wife and second husband are both dead. He should not see the living daughter, this is clear. When I'm logged in I can see everything as it should be, being logged out there is this problem.

Should I build up a very small new tree to check if this is a real bug? I checked already that there are no special rules about visibility for these persons.
webtrees 1.7.9 (many additional modules); PHP 7.0.15;
ahnen.hartenthaler.eu/
The administrator has disabled public write access.

fatal error 1 year 4 months ago #16

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 10823
This is normal.

A family is private if any member is private.

So, if there is a living daughter, the entire family is private.

You can override this by adding a privacy restriction "show to visitors" to the *family* record.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.
Powered by Kunena Forum