-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i can not open the geographic data from the map #2308
Comments
How many records does your database contain? |
@goon818 has activated the MySQL setting |
In a way, this is similar to the PHP settings for memory_limit and execution time. webtrees can override these settings. But if they are set by the server's administrator, then should we? |
Maybe provide some of the common db configuration options, which could be overwritten, in an additional admin config section especially for databases? |
In the database are 325 places by 1807 persons. The point with the administrator could be. The can be a reason that the one day it's running and on the next day not. I have the problem on paid webhost. |
Change to a web hosting provider. There are too many alternative service providers. |
We can change this setting in webtrees - just like we can change php.ini settings. I just want to find the right place to do this. Give me a few days.... |
@goon818 - can you try something for me? There is now an example module which modifies PHP and MySQL settings: https://github.com/fisharebest/webtrees/tree/master/modules_v4/example-server-configuration.disable Copy this to a new name (without Does this fix your problem? |
Thank You "fisharebest" |
It's working today, too. Your fix is perfect. |
If i want open the site geograpic data from the map i get this error message.
I have to clear the sql table wt_placelocation. Then i work for one day. On the next day i get the same error message.
Illuminate\Database\QueryException: SQLSTATE[42000]: Syntax error or access violation: 1104 The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET MAX_JOIN_SIZE=# if the SELECT is okay (SQL: select COUNT(*) AS child_count, SUM(wt_p0.pl_place IS NOT NULL AND wt_p0.pl_lati IS NULL OR wt_p1.pl_place IS NOT NULL AND wt_p1.pl_lati IS NULL OR wt_p2.pl_place IS NOT NULL AND wt_p2.pl_lati IS NULL OR wt_p3.pl_place IS NOT NULL AND wt_p3.pl_lati IS NULL OR wt_p4.pl_place IS NOT NULL AND wt_p4.pl_lati IS NULL OR wt_p5.pl_place IS NOT NULL AND wt_p5.pl_lati IS NULL OR wt_p6.pl_place IS NOT NULL AND wt_p6.pl_lati IS NULL OR wt_p7.pl_place IS NOT NULL AND wt_p7.pl_lati IS NULL OR wt_p8.pl_place IS NOT NULL AND wt_p8.pl_lati IS NULL OR wt_p9.pl_place IS NOT NULL AND wt_p9.pl_lati IS NULL) AS no_coord from
wt_placelocation
aswt_p0
left joinwt_placelocation
aswt_p1
onwt_p1
.pl_parent_id
=wt_p0
.pl_id
left joinwt_placelocation
aswt_p2
onwt_p2
.pl_parent_id
=wt_p1
.pl_id
left joinwt_placelocation
aswt_p3
onwt_p3
.pl_parent_id
=wt_p2
.pl_id
left joinwt_placelocation
aswt_p4
onwt_p4
.pl_parent_id
=wt_p3
.pl_id
left joinwt_placelocation
aswt_p5
onwt_p5
.pl_parent_id
=wt_p4
.pl_id
left joinwt_placelocation
aswt_p6
onwt_p6
.pl_parent_id
=wt_p5
.pl_id
left joinwt_placelocation
aswt_p7
onwt_p7
.pl_parent_id
=wt_p6
.pl_id
left joinwt_placelocation
aswt_p8
onwt_p8
.pl_parent_id
=wt_p7
.pl_id
left joinwt_placelocation
aswt_p9
onwt_p9
.pl_parent_id
=wt_p8
.pl_id
wherewt_p0
.pl_parent_id
= 5 limit 1) in file /vendor/illuminate/database/Connection.php on line 664Stack trace:
The text was updated successfully, but these errors were encountered: