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

TOPIC: Search page blank if not logged in

Search page blank if not logged in 1 week 6 days ago #1

  • Mackeul
  • Mackeul's Avatar
  • Offline
  • New
  • Posts: 4
Hello,

I have the same family tree in two versions of webtrees : 1.7.9 using PHP 5.6, and a newly upgraded 1.7.15 using PHP 7.4. The Search page on the older version works fine whether logged into the site or not. The newer version's search page works fine if logged in to the site, but comes up with a blank page if not logged in.

The blank page does not show any errors, nor do I see any errors in Apache's error.log ...

Any idea what may be happening or where else I can look for a clue?

Thanks,

-Mike
The administrator has disabled public write access.

Search page blank if not logged in 1 week 6 days ago #2

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 11741
Can you post the URLs so I can take a look?

> The blank page does not show any errors, nor do I see any errors in Apache's error.log ...

Perhaps apache is not configured to create error logs.
This makes it difficult to investigate...
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.

Search page blank if not logged in 1 week 6 days ago #3

  • Mackeul
  • Mackeul's Avatar
  • Offline
  • New
  • Posts: 4
The administrator has disabled public write access.

Search page blank if not logged in 1 week 6 days ago #4

  • Mackeul
  • Mackeul's Avatar
  • Offline
  • New
  • Posts: 4
Here is the link to the one that works:

www.laporte-st-georges.org:2443/webtrees

Please ignore the certificate error.

Thanks,

-Mike
The administrator has disabled public write access.

Search page blank if not logged in 1 week 6 days ago #5

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 11741
> using PHP 7.4

This is probably the cause.
PHP 7.4 was released two days ago.
webtrees 1.7 was only tested against PHP 5.3 -> 7.3


The incompatiblity is (probably) quick and easy to fix.
But I would need to see the error message.
Look again at your apache configuration?
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.

Search page blank if not logged in 1 week 6 days ago #6

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 11741
PS - webtrees 2.0 will be released in the next few days. It *has* been tested against PHP 7.4.
The only incompatibility is the PDF reports. The TCPDF library does not support PHP7.4.
I have submitted a fix to the project, but it has not yet been accepted.
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.

Search page blank if not logged in 1 week 6 days ago #7

  • Mackeul
  • Mackeul's Avatar
  • Offline
  • New
  • Posts: 4
Ok cool, perhaps I will wait for 2.0 before making the site generally available.

I switched apache to debug mode and when it works, I see this (ignore the funky referer URLs, those are internal only):
[Sun Dec 01 15:08:32.561816 2019] [authz_core:debug] [pid 32264] mod_authz_core.c(809): [client 192.168.10.204:55364] AH01626: authorization result of Require all granted: granted, referer: http://strings.malazan.wu/webtrees/index.php?ctype=user&ged=laporte
[Sun Dec 01 15:08:32.561870 2019] [authz_core:debug] [pid 32264] mod_authz_core.c(809): [client 192.168.10.204:55364] AH01626: authorization result of <RequireAny>: granted, referer: http://strings.malazan.wu/webtrees/index.php?ctype=user&ged=laporte
[Sun Dec 01 15:08:32.630135 2019] [deflate:debug] [pid 32264] mod_deflate.c(855): [client 192.168.10.204:55364] AH01384: Zlib: Compressed 53672 to 8810 : URL /webtrees/search.php, referer: http://strings.malazan.wu/webtrees/index.php?ctype=user&ged=laporte
[Sun Dec 01 15:08:32.738992 2019] [authz_core:debug] [pid 32264] mod_authz_core.c(809): [client 192.168.10.204:55364] AH01626: authorization result of Require all granted: granted, referer: http://strings.malazan.wu/webtrees/themes/clouds/css-1.7.8/style.css
[Sun Dec 01 15:08:32.739209 2019] [authz_core:debug] [pid 32264] mod_authz_core.c(809): [client 192.168.10.204:55364] AH01626: authorization result of <RequireAny>: granted, referer: http://strings.malazan.wu/webtrees/themes/clouds/css-1.7.8/style.css
[Sun Dec 01 15:08:32.744190 2019] [authz_core:debug] [pid 32266] mod_authz_core.c(809): [client 192.168.10.204:55366] AH01626: authorization result of Require all granted: granted, referer: http://strings.malazan.wu/webtrees/themes/clouds/css-1.7.8/style.css
[Sun Dec 01 15:08:32.744210 2019] [authz_core:debug] [pid 32266] mod_authz_core.c(809): [client 192.168.10.204:55366] AH01626: authorization result of <RequireAny>: granted, referer: http://strings.malazan.wu/webtrees/themes/clouds/css-1.7.8/style.css
[Sun Dec 01 15:08:32.750672 2019] [authz_core:debug] [pid 32266] mod_authz_core.c(809): [client 192.168.10.204:55366] AH01626: authorization result of Require all granted: granted, referer: http://strings.malazan.wu/webtrees/themes/clouds/css-1.7.8/style.css
[Sun Dec 01 15:08:32.750693 2019] [authz_core:debug] [pid 32266] mod_authz_core.c(809): [client 192.168.10.204:55366] AH01626: authorization result of <RequireAny>: granted, referer: http://strings.malazan.wu/webtrees/themes/clouds/css-1.7.8/style.css
[Sun Dec 01 15:08:32.790173 2019] [authz_core:debug] [pid 32266] mod_authz_core.c(809): [client 192.168.10.204:55366] AH01626: authorization result of Require all granted: granted, referer: http://strings.malazan.wu/webtrees/themes/clouds/jquery-ui-1.11.2/jquery-ui.css
[Sun Dec 01 15:08:32.790195 2019] [authz_core:debug] [pid 32266] mod_authz_core.c(809): [client 192.168.10.204:55366] AH01626: authorization result of <RequireAny>: granted, referer: http://strings.malazan.wu/webtrees/themes/clouds/jquery-ui-1.11.2/jquery-ui.css

When it does not work, I see only the first two lines:
[Sun Dec 01 15:07:04.759391 2019] [authz_core:debug] [pid 32209] mod_authz_core.c(809): [client 192.168.10.204:55311] AH01626: authorization result of Require all granted: granted, referer: http://strings.malazan.wu/webtrees/index.php?ctype=gedcom&ged=Jacques
[Sun Dec 01 15:07:04.759664 2019] [authz_core:debug] [pid 32209] mod_authz_core.c(809): [client 192.168.10.204:55311] AH01626: authorization result of <RequireAny>: granted, referer: http://strings.malazan.wu/webtrees/index.php?ctype=gedcom&ged=Jacques

Cheers,

-Mike
The administrator has disabled public write access.

Search page blank if not logged in 1 week 6 days ago #8

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 11741
I guess I need to update my dev machine from 7.3 to 7.4...
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: 
Powered by Kunena Forum