Web based family history software

This Help forum is for issues relates to the latest release (1.7.9). 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 Fatal Error!!!

  • michealgimies
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 11 months ago - 4 years 11 months ago #1 by michealgimies
Fatal Error!!! was created by michealgimies
My site running 1.7.9 has come up with this error:

Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in C:\home\site\wwwroot\family\index.php on line 23

Help? Youjizz Pornhub Tubegalore
Last edit: 4 years 11 months ago by michealgimies.

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

More
4 years 11 months ago #2 by fisharebest
Replied by fisharebest on topic Fatal Error!!!
The file index.php should look like this:

github.com/fisharebest/webtrees/blob/1.7.9/index.php

Notice that the line "namespace" is on line 16.

Your error message says two things

1) you have a "namespace" command on line 23
2) you have some other code before the namespace.

I'd guess that someone (your webhost? a virus? a hacker?) has added 7 lines to the beginning of this file.

Maybe post the first part of this file here, so we can take a look.

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

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

Powered by Kunena Forum
}