1. Home
  2. Docs
  3. WordPress Plugin Frequently Asked Questions
  4. Importing / Exporting
  5. Why can’t I import my file?

Why can’t I import my file?

1 – Time Outs

The most common problem is that the Gedcom file is large and simply times out on your server.

You may receive a message such as “Maximum execution time of 30 seconds exceeded” or “Maximum execution time of 60 seconds exceeded”. This means that it is taking to longer for a process to complete and it is timing out. There are a number of ways to fix this error.

You should be able to increase the time out period yourself using one of the following methods, or simply ask your host.

 

Method 1: Edit file wp-config.php

Add the following to wp-config.php:

set_time_limit(300);

Method 2: Edit file .htaccess

Make sure you back up .htaccess before you edit it.

Add the following to .htaccess:

php_value max_execution_time 300

 

Method 3: Editing php.ini

Add the following to php.ini:

max_execution_time = 300

 

You can try to vary the time (300 in the above examples).

 

2 – Gedcom File Formatting Issues

Gedcom is a ‘standard’ only in quite a loose sense and there are many minor variations in the way it has been implemented in different genealogy software packages over time.  It’s impossible to take account of all these and sometimes TreePress will find a glitch that it cannot cope with.  Please feel free to contact us (and send us the file) and we will try to help.

 

Why can’t I import my file?