Bienvenue, Invité
Nom d'utilisateur : Mot de passe :
Before asking for help please read "How to request help" by clicking on that tab above here.
  • Page :
  • 1

SUJET :

Can't access new tree il y a 4 mois 1 semaine #1

I created a second tree on my site to support testing in a controlled environment. The tree creation proceeded as expected, I changed the name from 'My family tree' to 'My test tree'. When I tried to import a GEDCOM file I received an 'Undefined variable: tree' error message.
John Dobson

webtrees v2.0.2 - www.my-rellies.com/webtrees

Connexion ou Créer un compte pour participer à la conversation.

Can't access new tree il y a 4 mois 1 semaine #2

  • fisharebest
  • Portrait de fisharebest
  • Absent
  • Administrator
  • Administrator
  • Messages : 13191
> I received an 'Undefined variable: tree' error message.

Is that the entire error message?
Greg Roach - Cette adresse e-mail est protégée contre les robots spammeurs. Vous devez activer le JavaScript pour la visualiser. - fisharebest.webtrees.net

Connexion ou Créer un compte pour participer à la conversation.

Can't access new tree il y a 4 mois 1 semaine #3

Yes, that is the entire message that appears on the screen with a red background whenever I try to access the tree, there is nothing in the weblog.

Is there a way to delete a tree?
John Dobson

webtrees v2.0.2 - www.my-rellies.com/webtrees

Connexion ou Créer un compte pour participer à la conversation.

Can't access new tree il y a 4 mois 1 semaine #4

  • bertkoor
  • Portrait de bertkoor
  • Hors Ligne
  • Gold
  • Gold
  • Greetings from Utrecht, Holland
  • Messages : 1931
Found a possible way for you to proceed:
www.webtrees.net/index.php/en/forum/help...ks-family-tree#71386

While searching for that, I saw this. Same problem?
www.webtrees.net/index.php/en/forum/help...-will-not-show#74393
Alas the issuer never reported back.

Possibly also:
www.webtrees.net/index.php/en/forum/help...dcom-in-1-7-14#71678
stamboom.BertKoor.nl runs on webtrees v1.7.13

Connexion ou Créer un compte pour participer à la conversation.

Can't access new tree il y a 4 mois 1 semaine #5

Problem solved by removing rows from table wt_gedcom_chunks and then deleting the tree - many thanks
John Dobson

webtrees v2.0.2 - www.my-rellies.com/webtrees

Connexion ou Créer un compte pour participer à la conversation.

Can't access new tree il y a 3 mois 1 semaine #6

Undefined variable: tree

I have the same error message when importing a Gedcom File and yes, this is the entire error message

Connexion ou Créer un compte pour participer à la conversation.

Can't access new tree il y a 3 mois 1 semaine #7

  • fisharebest
  • Portrait de fisharebest
  • Absent
  • Administrator
  • Administrator
  • Messages : 13191
You said you were using webtrees 2.0.2

Can you try upgrading to 2.0.3

Some of the error handling was improved, and you may see a better error message (or maybe no errors at all!).
Greg Roach - Cette adresse e-mail est protégée contre les robots spammeurs. Vous devez activer le JavaScript pour la visualiser. - fisharebest.webtrees.net

Connexion ou Créer un compte pour participer à la conversation.

Can't access new tree il y a 3 mois 1 semaine #8

I am using version 2.0.3, error message remains the same. I do not know how to reach table wt_gedcom_chunks to delete the tree

Connexion ou Créer un compte pour participer à la conversation.

Avez-vous besoin d'une solution d'hébergement web pour votre site webtrees ?
Si vous préférez un hébergeur spécialisé de webtrees, la page suivante en liste quelques-uns capables de vous offrir ce type de service :

Can't access new tree il y a 3 mois 1 semaine #9

  • fisharebest
  • Portrait de fisharebest
  • Absent
  • Administrator
  • Administrator
  • Messages : 13191
Hi Lisa,

You've added comments to an existing conversation, but you didn't make it clear whether you are seeing the *exact* same thing.

For example, the original commenter said that his error message was in a red box which was the only thing on the screen.

Is this the same for you? Or is the error message embdedded in part of the screen.

What were the exact steps you took, and responses that you saw.

For example, you uploaded a file and then...

The error message on its own does not give us much to work with, so I'm hunting for additional clues.

> I do not know how to reach table wt_gedcom_chunks

Your webhost probably gives you a control panel, which hopefully includes a tool called "phpMyAdmin".

This tool allows you to view/edit the contents of your database.

Once you are in it, you should see a list of "tables" with names beginning wt_

Find the one wt_gedcom_chunk.

You want to delete all the contents of this table (but not the table itself).

e.g. select the rows, select delete.

If there is an option "truncate", you can use this. It is a shortcut for "delete all rows"
Greg Roach - Cette adresse e-mail est protégée contre les robots spammeurs. Vous devez activer le JavaScript pour la visualiser. - fisharebest.webtrees.net

Connexion ou Créer un compte pour participer à la conversation.

Can't access new tree il y a 3 mois 6 jours #10

I have truncated table wt-gedcom-chunk, but still receive the same error message "Undefined variable: tree" the message is in a red field.
What else can i do?
My GEDCOM file ist from "Reunion" V 12, I have exported GEDCOM 5.5 in characterset UTF-8

Connexion ou Créer un compte pour participer à la conversation.

Can't access new tree il y a 3 mois 6 jours #11

  • fisharebest
  • Portrait de fisharebest
  • Absent
  • Administrator
  • Administrator
  • Messages : 13191
Can you create an admin account, and send me the details so I can take a look?

Cette adresse e-mail est protégée contre les robots spammeurs. Vous devez activer le JavaScript pour la visualiser.
Greg Roach - Cette adresse e-mail est protégée contre les robots spammeurs. Vous devez activer le JavaScript pour la visualiser. - fisharebest.webtrees.net

Connexion ou Créer un compte pour participer à la conversation.

Can't access new tree il y a 3 mois 5 jours #12

  • fisharebest
  • Portrait de fisharebest
  • Absent
  • Administrator
  • Administrator
  • Messages : 13191
Thanks.

Your server is behaving a little strangely.

For example, it does not close the connection. So, even after it has sent the page, the "loading" indicator still runs.

This behaviour is similar to that found on OVH servers.
There are some instructions for OVH users - webtrees.net/install/ovh
Maybe some of instructions will be applicable?


/edit

While I was writing this, the behaviour changed.
It suddenly starting working "normally", and is much faster.
I successfully imported a small GEDCOM file.

Did you change any settings on the server?
Greg Roach - Cette adresse e-mail est protégée contre les robots spammeurs. Vous devez activer le JavaScript pour la visualiser. - fisharebest.webtrees.net

Connexion ou Créer un compte pour participer à la conversation.

Can't access new tree il y a 3 mois 5 jours #13

  • fisharebest
  • Portrait de fisharebest
  • Absent
  • Administrator
  • Administrator
  • Messages : 13191
OK, I think I had some sucess because I was processing a tiny file that could load in one "chunk".

Your server is still keeping connections open. This is preventing "POST" requests (updates) from working.

Did you read the comments for OVH users?
I guess you might need to make similar changes to the configuration of your server.
Greg Roach - Cette adresse e-mail est protégée contre les robots spammeurs. Vous devez activer le JavaScript pour la visualiser. - fisharebest.webtrees.net

Connexion ou Créer un compte pour participer à la conversation.

Can't access new tree il y a 3 mois 4 jours #14

I have truncated the chunk table, have tried to import de gedcom file in different versions. But the error message is always the same: "Undefined variable: tree". I cannot change the configuration of the server as I am just renting space on the server of a provider. What else can I do?

Connexion ou Créer un compte pour participer à la conversation.

Can't access new tree il y a 3 mois 3 jours #15

  • fisharebest
  • Portrait de fisharebest
  • Absent
  • Administrator
  • Administrator
  • Messages : 13191
Can you edit one of the webtrees files for me.

Find the file app/Http/Controllers/GedcomFileController.php

Edit line 232.

replace the text "getMessage" with "getTraceAsString"

This link should show you the line you are looking for.
github.com/fisharebest/webtrees/blob/2.0...eController.php#L232

Hopefully, this change will give us a more comprehensive error message.
Greg Roach - Cette adresse e-mail est protégée contre les robots spammeurs. Vous devez activer le JavaScript pour la visualiser. - fisharebest.webtrees.net

Connexion ou Créer un compte pour participer à la conversation.

Can't access new tree il y a 2 mois 3 semaines #16

Have changed line 232 as advised. Result looks crazy:

This is just the first few lines:
#0 /home/httpd/vhosts/blaser-stammbaum.ch/httpdocs/resources/views/admin/import-fail.phtml(6): Fisharebest\Webtrees\Webtrees::Fisharebest\Webtrees\{closure}(8, 'Undefined varia...', '/home/httpd/vho...', 6, Array) #1 /home/httpd/vhosts/blaser-stammbaum.ch/httpdocs/app/View.php(186): include('/home/httpd/vho...') #2 /home/httpd/vhosts/blaser-stammbaum.ch/httpdocs/app/View.php(282): Fisharebest\Webtrees\View->render() #3 /home/httpd/vhosts/blaser-stammbaum.ch/httpdocs/app/Helpers/functions.php(203): Fisharebest\Webtrees\View::make('admin/import-fa...', Array) #4 /home/httpd/vhosts/blaser-stammbaum.ch/httpdocs/app/Http/ViewResponseTrait.php(51): view('admin/import-fa...', Array) #5 /home/httpd/vhosts/blaser-stammbaum.ch/httpdocs/app/Http/Controllers/GedcomFileController.php(190): Fisharebest\Webtrees\Http\Controllers\AbstractBaseController->viewResponse('admin/import-fa...', Array) #6 /home/httpd/vhosts/blaser-stammbaum.ch/httpdocs/app/Http/Middleware/WrapHandler.php(79): Fisharebest\Webtrees\Http\Controllers\GedcomFileController->import(Object(Nyholm\Psr7\ServerRequest)) #7 /home/httpd/vhosts/blaser-stammbaum.ch/httpdocs/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\WrapHandler->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #8 /home/httpd/vhosts/blaser-stammbaum.ch/httpdocs/app/Module/HitCountFooterModule.php(157): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #9 /home/httpd/vhosts/blaser-stammbaum.ch/httpdocs/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Module\HitCountFooterModule->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #10 /home/httpd/vhosts/blaser-stammbaum.ch/httpdocs/app/Http/Middleware/AuthManager.php(57): Middleland\Dispatcher-

and many more

So this is not what we want.

Connexion ou Créer un compte pour participer à la conversation.

Can't access new tree il y a 2 mois 3 semaines #17

  • fisharebest
  • Portrait de fisharebest
  • Absent
  • Administrator
  • Administrator
  • Messages : 13191
> So this is not what we want.

Thanks - this is exactly what I want!

It might not mean much to you, but it tells me what is going wrong.

There was an error converting your file to UTF-8 format. Most likely, your GEDCOM file is in ANSEL format.

Next question - can you have a look at your GEDCOM file, using a text editor.

Somewhere in the first page, or so, will be a line that starts with "1 CHAR"

Can you tell me what this line says?
Greg Roach - Cette adresse e-mail est protégée contre les robots spammeurs. Vous devez activer le JavaScript pour la visualiser. - fisharebest.webtrees.net

Connexion ou Créer un compte pour participer à la conversation.

  • Page :
  • 1
Propulsé par Kunena