Web based family history software

This Help forum is for issues relates to the latest release (1.5.x). For issues related to beta or github version please use their own Help forum.
Before asking for help please read "How to request help" by clicking on that tab above here.

Question strange Database Error

  • renephotography
  • Topic Author
  • Visitor
  • Visitor
9 years 6 months ago - 9 years 6 months ago #1 by renephotography
strange Database Error was created by renephotography
Hey Community,

I was just about to log back in but I got this error:
Code:
ERROR 2: require(/customers/c/8/e/schildt-family.com/httpd.www/webtree/includes/db_schema/db_schema_0_1.php): failed to open stream: No such file or directory 0 Error occurred on line 255 of file DB.php in function updateSchema 1 called from line 255 of file DB.php in function updateSchema 2 called from line 283 of file session.php in function require 3 called from line 33 of file index.php




this stoppes me from opening the page and to view or backup my ancetors tree as well as all the information I added.

Any thoughts?

regards


René
Attachments:
Last edit: 9 years 6 months ago by renephotography.

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

More
9 years 6 months ago #2 by fisharebest
Replied by fisharebest on topic strange Database Error
Check your database connection settings in data/config.ini.php

Check the database? Do the tables exist? Do they contain data?

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

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

  • renephotography
  • Topic Author
  • Visitor
  • Visitor
9 years 6 months ago #3 by renephotography
Replied by renephotography on topic strange Database Error
Thanks fisharebest,
found the issue, somehow the database tables have been dropped. How Can I restore them? I didn't do anything on the database.

I found the gedcom file in the data folder, can I just reinstall the installation and upload the gedcom file inorder to get my files back?

thanks!

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

More
9 years 6 months ago #4 by fisharebest
Replied by fisharebest on topic strange Database Error

How Can I restore them?


I guess you don't have backups of your database or server?

If you delete the file data/config.ini.php, webtrees will start the setup wizard again. This will recreate all the (empty) tables. You'll obviously have lost all your user accounts, configuration settings, etc.

I didn't do anything on the database.


Something (or someone) clearly did. If I were you, I would be concerned that something is deleting the tables from my databases...

I found the gedcom file in the data folder, can I just reinstall the installation and upload the gedcom file inorder to get my files back?


If you've made any edits in webtrees since you last exported your tree to a GEDCOM file, then these edits will be lost.

You'll just have the data from the GEDCOM file.

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

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

  • renephotography
  • Topic Author
  • Visitor
  • Visitor
9 years 6 months ago #5 by renephotography
Replied by renephotography on topic strange Database Error
Thank you so much!

So here is a feautre request. webtrees should allways perform a backup to a gedcom data in case something goes wrong.

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

  • ToyGuy
  • Offline
  • Moderator
  • Moderator
  • Live like it's Christmas every day - Santa Stephen
More
9 years 6 months ago #6 by ToyGuy
Replied by ToyGuy on topic strange Database Error
Rene,
IMO that procedure (performing a backup) is an important part of any update routine but is the obligation of the admin/user, not the responsiblity of the program to protect you from foolish behavior.

Santa Stephen the Fabled Santa
Latest webtrees at MyArnolds.com
Hosted by webtreesonline.com , a division of GeneHosts LLC
MacOS 10.6.8, Apache 2.2+, PHP 5.4.16, MySQL 5.5.28

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

  • renephotography
  • Topic Author
  • Visitor
  • Visitor
9 years 6 months ago #7 by renephotography
Replied by renephotography on topic strange Database Error
I know ToyGuy,
but it would be much more convenient for me

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

More
9 years 6 months ago #8 by fisharebest
Replied by fisharebest on topic strange Database Error
FYI, the "auto update" feature that was introduced a few versions ago *DOES* perform such a backup before it starts the upgrade....

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

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

  • ToyGuy
  • Offline
  • Moderator
  • Moderator
  • Live like it's Christmas every day - Santa Stephen
More
9 years 6 months ago #9 by ToyGuy
Replied by ToyGuy on topic strange Database Error
Ask your current host to restore your DB. They should be retaining frequent backups.

Santa Stephen the Fabled Santa
Latest webtrees at MyArnolds.com
Hosted by webtreesonline.com , a division of GeneHosts LLC
MacOS 10.6.8, Apache 2.2+, PHP 5.4.16, MySQL 5.5.28

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

Powered by Kunena Forum
}