Web based family history software

Question XHR problems

  • mariannevanharten
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
2 years 9 months ago - 2 years 9 months ago #1 by mariannevanharten
XHR problems was created by mariannevanharten
I am trying to optimize my locations. I visit the Control panel - Manage family trees - Data fixes and select Add missing XREFs. After pressing Search an error occured after 30 seconds:
Code:
DataTables warning: table id=data-fix-table - Ajax error.

In an older topic @fisharebest replies to look at webtrees.net/faq/xhr/ , so I did. Following these instructions I see:
Maximum execution time of 30 seconds exceeded

I am not sure what to do to solve this problem. Do I have to increase the waiting time (may be in the control panel of my webhoster)?

Any help is welcome.

Best regards,
Marianne van Harten
Last edit: 2 years 9 months ago by mariannevanharten.

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

More
2 years 9 months ago #2 by fisharebest
Replied by fisharebest on topic XHR problems
> Control panel - Manage family trees - Data fixes and select Add missing XREFs.

"Add missing XREFs"?

Is this the exact title of the option?
It is not one of the standard ones. Does it come from a custom module?


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

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

  • mariannevanharten
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
2 years 9 months ago #3 by mariannevanharten
Replied by mariannevanharten on topic XHR problems
I am sorry, the steps are:
Control panel - Manage family trees - Data fixes - Vesta shared places - next
There I selected Add missing XREFs

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

  • mariannevanharten
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
2 years 5 months ago #4 by mariannevanharten
Replied by mariannevanharten on topic XHR problems
Can anyone help me?

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

  • bertkoor
  • Offline
  • Platinum Member
  • Platinum Member
  • Greetings from Utrecht, Holland
More
2 years 5 months ago - 2 years 5 months ago #5 by bertkoor
Replied by bertkoor on topic XHR problems

Maximum execution time of 30 seconds exceeded

I am not sure what to do to solve this problem. Do I have to increase the waiting time (may be in the control panel of my webhoster)?

Perhaps the control panel of your host has a way to change max_execution_time and/or time_limit.
Also have a look at the Site Preferences page in the webtrees control panel.

webtrees used to come with a (disabled) ExampleServerConfiguration module that can change some PHP settings like memory and execution time.
But I cannot find that anymore.

You can also file a bug report with the developer of the Vesta modules.
There may be techniques to split the work up, so the time limit is less likely to hit.

stamboom.BertKoor.nl runs on webtrees v1.7.13
Last edit: 2 years 5 months ago by bertkoor.

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

  • mariannevanharten
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
2 years 3 months ago - 2 years 3 months ago #6 by mariannevanharten
Replied by mariannevanharten on topic XHR problems
I am sorry about the late reply to this topic.
In my webtrees I see a ExampleServerConfigurationModule.php and also a file module.php, but I don't know what I have to modify for my situation.

Do I have to change
//set_time_limit(45);
//ini_set('memory_limit', '256M');
to
set_time_limit(60);
ini_set('memory_limit', '512M');
??

Who can help me?
Last edit: 2 years 3 months ago by mariannevanharten.

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

  • bertkoor
  • Offline
  • Platinum Member
  • Platinum Member
  • Greetings from Utrecht, Holland
More
2 years 3 months ago - 2 years 3 months ago #7 by bertkoor
Replied by bertkoor on topic XHR problems
Your error message says time limit of 30 seconds is exceeded. Try to raise only that first, say the double value: 60 seconds.
If then it turns out more memory is needed, you can do that as well.

stamboom.BertKoor.nl runs on webtrees v1.7.13
Last edit: 2 years 3 months ago by bertkoor.

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

  • mariannevanharten
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
2 years 3 months ago #8 by mariannevanharten
Replied by mariannevanharten on topic XHR problems
Ok, does the filename remain Example.... or do I have to rename the file to something else?

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

More
2 years 3 months ago #9 by Sir Peter
Replied by Sir Peter on topic XHR problems
For Apache webservers: before creating a custom module I suggest to check whether you can create a php.ini file in your webtrees root folder and add this line to it:
Code:
max_execution_time=60

Then go to the Control Panel > Server Information and check whether this change was successful.

Peter

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

Powered by Kunena Forum
}