Question [SOLVED] Fatal error: Uncaught ErrorException:
- Shemwell
- Topic Author
- Offline
- Junior Member
Less
More
5 years 1 month ago #1
by Shemwell
Barry
Fatal error: Uncaught ErrorException: was created by Shemwell
I like to watch the new code on the git or nightly build version develop, but for the last week or so I get:
Fatal error: Uncaught ErrorException: Constant WT_DATA_DIR already defined in \UwAmp\www\webtrees-master\index.php:127 Stack trace: #0 [internal function]: Fisharebest\webtrees\webtrees::Fisharebest\webtrees\{closure}(8, 'Constant WT_DAT...', '\\UwAmp\\www\\we...', 127, Array) #1 \UwAmp\www\webtrees-master\index.php(127): define('WT_DATA_DIR', 'data/') #2 {main} thrown in \UwAmp\www\webtrees-master\index.php on line 127
I usually just overwrite the old with the new "webtrees-master", I even tried a fresh install on my home WAMP (XAMPP and UwAmp) and then on my website with the same error. I tried several PHP versions 5.6, 7.3.2, etc. I have no clue .... Are there other server changes I need to make or is it something in the code?.
Fatal error: Uncaught ErrorException: Constant WT_DATA_DIR already defined in \UwAmp\www\webtrees-master\index.php:127 Stack trace: #0 [internal function]: Fisharebest\webtrees\webtrees::Fisharebest\webtrees\{closure}(8, 'Constant WT_DAT...', '\\UwAmp\\www\\we...', 127, Array) #1 \UwAmp\www\webtrees-master\index.php(127): define('WT_DATA_DIR', 'data/') #2 {main} thrown in \UwAmp\www\webtrees-master\index.php on line 127
I usually just overwrite the old with the new "webtrees-master", I even tried a fresh install on my home WAMP (XAMPP and UwAmp) and then on my website with the same error. I tried several PHP versions 5.6, 7.3.2, etc. I have no clue .... Are there other server changes I need to make or is it something in the code?.
Barry
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
5 years 1 month ago #2
by fisharebest
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Replied by fisharebest on topic Fatal error: Uncaught ErrorException:
Is this trying to do a clean install (using the setup wizard) or is this an upgrade to an existing installation?
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- Shemwell
- Topic Author
- Offline
- Junior Member
- fisharebest
- Offline
- Administrator
5 years 1 month ago #4
by fisharebest
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Replied by fisharebest on topic Fatal error: Uncaught ErrorException:
Should be fixed now. Thanks for reporting.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- Shemwell
- Topic Author
- Offline
- Junior Member