Web based family history software

Before asking for help please read "Requesting Help and Suggestions" by clicking on that tab above here.

Question 404 Error after moving webtrees to a new hoster

  • Andreas
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
3 weeks 4 days ago #1 by Andreas
Hello together,

for so much time I'm looking for the reason but can't find  the bug.
I moved a webtrees installation from one hoster to another one.

1. copying all the files to my PC
2. making a dump of the tables in the database
3. uploading the files from PC to new hoster
4. creating database and importing the dump of the saves database
5. modifying the config.ini.php according to new database name
6. adjusting DNS entries to the new hoster (incl. new LetsEncrypt data)

calling:  mainguet.maupile.fr
Result : mainguet.maupile.fr/tree/mainguet
an 404 error page

What the hell should I try ? Where is the bug ?
 

Both MAUPILLÉ & RAUHUT families are using webtrees V2.1.18

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

More
3 weeks 4 days ago - 3 weeks 4 days ago #2 by Franz Frese
Replied by Franz Frese on topic 404 Error after moving webtrees to a new hoster
first I would do a fresh installation.

or

Is there the index.php of webtrees and what other directories in the directory , where  mainguet.maupile.fr/ points to?
What is the content of .htaccess in that directory?

and
did you read  webtrees.net/faq/move-server/ ?
What did you exactly do on copying in your point 3? do you mean dump files or the webtrees installation.
What about access rigths.

Can you access your db with phpMyAdmin?
Last edit: 3 weeks 4 days ago by Franz Frese.

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

More
3 weeks 4 days ago #3 by fisharebest
Replied by fisharebest on topic 404 Error after moving webtrees to a new hoster
I guess that you have told webtrees to use pretty URLs.

/data/config.ini.php => rewrite_urls="1"

But your webserver is not configured to rewrite URLs.

If you cannot fix/check your webserver configuration, try changing this from "1" to "0"

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

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

  • Andreas
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
3 weeks 4 days ago #4 by Andreas
Thank Greg,

I changed it to "0".

I got this:

TypeError: Carbon\Carbon::setLastErrors(): Argument #1 ($lastErrors) must be of type array, bool given, called in /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php on line 670 and defined in /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php:928
Stack trace:
#0 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php(670): Carbon\Carbon::setLastErrors()
#1 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/nesbot/carbon/src/Carbon/Traits/Timestamp.php(51): Carbon\Carbon::rawCreateFromFormat()
#2 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/nesbot/carbon/src/Carbon/Traits/Timestamp.php(31): Carbon\Carbon::createFromTimestampUTC()
#3 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Timestamp.php(40): Carbon\Carbon::createFromTimestamp()
#4 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Factories/TimestampFactory.php(52): Fisharebest\Webtrees\Timestamp->__construct()
#5 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Factories/TimestampFactory.php(81): Fisharebest\Webtrees\Factories\TimestampFactory->make()
#6 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Individual.php(262): Fisharebest\Webtrees\Factories\TimestampFactory->now()
#7 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Individual.php(103): Fisharebest\Webtrees\Individual->isDead()
#8 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/GedcomRecord.php(1159): Fisharebest\Webtrees\Individual->canShowByType()
#9 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/GedcomRecord.php(262): Fisharebest\Webtrees\GedcomRecord->canShowRecord()
#10 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Cache.php(58): Fisharebest\Webtrees\GedcomRecord->Fisharebest\Webtrees\{closure}()
#11 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/symfony/cache/Adapter/ArrayAdapter.php(84): Fisharebest\Webtrees\Cache::Fisharebest\Webtrees\{closure}()
#12 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Cache.php(55): Symfony\Component\Cache\Adapter\ArrayAdapter->get()
#13 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/GedcomRecord.php(261): Fisharebest\Webtrees\Cache->remember()
#14 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Individual.php(90): Fisharebest\Webtrees\GedcomRecord->canShow()
#15 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/GedcomRecord.php(459): Fisharebest\Webtrees\Individual->canShowName()
#16 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Factories/SlugFactory.php(57): Fisharebest\Webtrees\GedcomRecord->fullName()
#17 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/GedcomRecord.php(238): Fisharebest\Webtrees\Factories\SlugFactory->make()
#18 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Module/WelcomeBlockModule.php(101): Fisharebest\Webtrees\GedcomRecord->url()
#19 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/resources/views/tree-page-block.phtml(20): Fisharebest\Webtrees\Module\WelcomeBlockModule->getBlock()
#20 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/View.php(183): include('...')
#21 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/View.php(278): Fisharebest\Webtrees\View->render()
#22 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Helpers/functions.php(145): Fisharebest\Webtrees\View::make()
#23 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/resources/views/tree-page.phtml(30): view()
#24 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/View.php(183): include('...')
#25 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/View.php(278): Fisharebest\Webtrees\View->render()
#26 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Helpers/functions.php(145): Fisharebest\Webtrees\View::make()
#27 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/ViewResponseTrait.php(50): view()
#28 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/RequestHandlers/TreePage.php(81): Fisharebest\Webtrees\Http\RequestHandlers\TreePage->viewResponse()
#29 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/RequestHandler.php(55): Fisharebest\Webtrees\Http\RequestHandlers\TreePage->handle()
#30 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\RequestHandler->process()
#31 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/modules_v4/faces/src/Modules/FacesModule.php(94): Middleland\Dispatcher->handle()
#32 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): UksusoFF\WebtreesModules\Faces\Modules\FacesModule->process()
#33 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Module/HitCountFooterModule.php(154): Middleland\Dispatcher->handle()
#34 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Module\HitCountFooterModule->process()
#35 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Module/CheckForNewVersion.php(122): Middleland\Dispatcher->handle()
#36 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Module\CheckForNewVersion->process()
#37 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/CheckCsrf.php(80): Middleland\Dispatcher->handle()
#38 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CheckCsrf->process()
#39 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(118): Middleland\Dispatcher->handle()
#40 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Webtrees.php(275): Middleland\Dispatcher->dispatch()
#41 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/Router.php(161): Fisharebest\Webtrees\Webtrees::dispatch()
#42 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\Router->process()
#43 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/BootModules.php(58): Middleland\Dispatcher->handle()
#44 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\BootModules->process()
#45 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/RegisterGedcomTags.php(54): Middleland\Dispatcher->handle()
#46 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\RegisterGedcomTags->process()
#47 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/LoadRoutes.php(75): Middleland\Dispatcher->handle()
#48 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\LoadRoutes->process()
#49 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/CheckForNewVersion.php(57): Middleland\Dispatcher->handle()
#50 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CheckForNewVersion->process()
#51 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/UseTransaction.php(45): Middleland\Dispatcher->handle()
#52 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/illuminate/database/Concerns/ManagesTransactions.php(29): Fisharebest\Webtrees\Http\Middleware\UseTransaction::Fisharebest\Webtrees\Http\Middleware\{closure}()
#53 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/UseTransaction.php(44): Illuminate\Database\Connection->transaction()
#54 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseTransaction->process()
#55 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/DoHousekeeping.php(71): Middleland\Dispatcher->handle()
#56 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\DoHousekeeping->process()
#57 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/UseTheme.php(67): Middleland\Dispatcher->handle()
#58 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseTheme->process()
#59 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/CheckForMaintenanceMode.php(51): Middleland\Dispatcher->handle()
#60 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CheckForMaintenanceMode->process()
#61 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/UseLanguage.php(69): Middleland\Dispatcher->handle()
#62 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseLanguage->process()
#63 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/UseSession.php(78): Middleland\Dispatcher->handle()
#64 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseSession->process()
#65 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/UpdateDatabaseSchema.php(57): Middleland\Dispatcher->handle()
#66 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UpdateDatabaseSchema->process()
#67 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/UseDatabase.php(122): Middleland\Dispatcher->handle()
#68 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseDatabase->process()
#69 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/BadBotBlocker.php(293): Middleland\Dispatcher->handle()
#70 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\BadBotBlocker->process()
#71 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/CompressResponse.php(71): Middleland\Dispatcher->handle()
#72 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CompressResponse->process()
#73 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/ContentLength.php(40): Middleland\Dispatcher->handle()
#74 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\ContentLength->process()
#75 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/middlewares/client-ip/src/ClientIp.php(65): Middleland\Dispatcher->handle()
#76 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/ClientIp.php(47): Middlewares\ClientIp->process()
#77 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\ClientIp->process()
#78 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/HandleExceptions.php(89): Middleland\Dispatcher->handle()
#79 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\HandleExceptions->process()
#80 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/BaseUrl.php(73): Middleland\Dispatcher->handle()
#81 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\BaseUrl->process()
#82 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/ReadConfigIni.php(68): Middleland\Dispatcher->handle()
#83 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\ReadConfigIni->process()
#84 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/SecurityHeaders.php(48): Middleland\Dispatcher->handle()
#85 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\SecurityHeaders->process()
#86 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/EmitResponse.php(57): Middleland\Dispatcher->handle()
#87 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\EmitResponse->process()
#88 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(118): Middleland\Dispatcher->handle()
#89 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Webtrees.php(275): Middleland\Dispatcher->dispatch()
#90 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Webtrees.php(262): Fisharebest\Webtrees\Webtrees::dispatch()
#91 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/index.php(51): Fisharebest\Webtrees\Webtrees->httpRequest()
#92 {main}

Both MAUPILLÉ & RAUHUT families are using webtrees V2.1.18

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

More
3 weeks 4 days ago - 3 weeks 4 days ago #5 by fisharebest
Replied by fisharebest on topic 404 Error after moving webtrees to a new hoster
Which version of webtrees? 2.1.18
Which version of PHP?

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Last edit: 3 weeks 4 days ago by fisharebest.

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

  • Andreas
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
3 weeks 3 days ago - 3 weeks 3 days ago #6 by Andreas

first I would do a fresh installation.
or 
I would do this as last possibility.

Is there the index.php of webtrees and what other directories in the directory , where  mainguet.maupile.fr/ points to?
What is the content of .htaccess in that directory? 

mainguet.maupile.fr is the root of the complete copy of the original file structure.

The content of .htaccess
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ mainguet.maupile.fr/$1 [R,L]
BrowserMatchNoCase "Adsbot" bad_bot
BrowserMatchNoCase "adscanner" bad_bot
BrowserMatchNoCase "AspiegelBot" bad_bot
BrowserMatchNoCase "AhrefsBot" bad_bot
BrowserMatchNoCase "Bytespider" bad_bot
BrowserMatchNoCase "Kinza" bad_bot
BrowserMatchNoCase "libwww-perl" bad_bot
BrowserMatchNoCase "LieBaoFast" bad_bot
BrowserMatchNoCase "Mb2345Browser" bad_bot
BrowserMatchNoCase "MicroMessenger" bad_bot
BrowserMatchNoCase "wget" bad_bot
BrowserMatchNoCase "zh_CN" bad_bot
BrowserMatchNoCase "Baiduspider" bad_bot
BrowserMatchNoCase "Sogou" bad_bot
BrowserMatchNoCase "Datanyze" bad_bot
BrowserMatchNoCase "serpstatbot" bad_bot
BrowserMatchNoCase "spaziodat" bad_bot
BrowserMatchNoCase "petalbot" bad_bot
BrowserMatchNoCase "BLEXBot" bad_bot
BrowserMatchNoCase "SemrushBot" bad_bot
BrowserMatchNoCase "MJ12bot" bad_bot
Order Deny,Allow
Deny from env=bad_bot

did you read  webtrees.net/faq/move-server/ ?

Yes

What did you exactly do on copying in your point 3? do you mean dump files or the webtrees installation.
What about access rigths.

Can you access your db with phpMyAdmin?
Yes, I have access to phpMyAdmin

Both MAUPILLÉ & RAUHUT families are using webtrees V2.1.18
Last edit: 3 weeks 3 days ago by Andreas.

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

  • Andreas
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
3 weeks 3 days ago #7 by Andreas

Which version of webtrees? 2.1.18
Which version of PHP?
 

actual version of PHP is 8.2.11
possible values are  8.1.24 or 8.0.30

Both MAUPILLÉ & RAUHUT families are using webtrees V2.1.18

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

More
3 weeks 3 days ago #8 by fisharebest
Replied by fisharebest on topic 404 Error after moving webtrees to a new hoster
The line numbers in the error message do not agree with the code in 2.1.18

I think your /vendor folder is incorrect for the version of webtrees.

Try reinstalling (overwriting) the webtrees files?

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

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

  • Andreas
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
3 weeks 3 days ago - 3 weeks 3 days ago #9 by Andreas
I will start the upload immediately.
Tomorrow morning the upload will have finished.

I hope this wil fix the bug. 
So Franz was right to start with a new update.
 

Both MAUPILLÉ & RAUHUT families are using webtrees V2.1.18
Last edit: 3 weeks 3 days ago by Andreas.

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

  • Andreas
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
3 weeks 3 days ago - 3 weeks 3 days ago #10 by Andreas
A fresh copy of webtrees 2.1.18 files are uploaded and replaced the old files.

The problem is still there.
Would it be helpful to change the version of php  for mainguet.maupile.fr ?
The other webtrees installation wt.rauhut.eu works fine on the new hosting 

Both MAUPILLÉ & RAUHUT families are using webtrees V2.1.18
Last edit: 3 weeks 3 days ago by Andreas.

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

  • bertkoor
  • Offline
  • Platinum Member
  • Platinum Member
  • Greetings from Utrecht, Holland
More
3 weeks 3 days ago #11 by bertkoor
If the upload was OK, then you now should get a (slightly) different error.
Can you share a fresh copy of the stack trace you now get?

stamboom.BertKoor.nl runs on webtrees v1.7.13

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

  • Andreas
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
3 weeks 3 days ago - 3 weeks 3 days ago #12 by Andreas
Yes, with rewrite_urls="0" I get

Error: Call to a member function canShow() on null in /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/modules_v4/jc-fancy-imagebar/FancyImagebarModule.php:417 Stack trace: #0 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/modules_v4/jc-fancy-imagebar/FancyImagebarModule.php(271): JustCarmen\Webtrees\Module\FancyImagebar\FancyImagebarModule->fancyImagebar() #1 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/resources/views/layouts/default.phtml(185): JustCarmen\Webtrees\Module\FancyImagebar\FancyImagebarModule->bodyContent() #2 [internal function]: Fisharebest\Webtrees\View::{closure}() #3 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/illuminate/collections/Collection.php(695): array_map() #4 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/resources/views/layouts/default.phtml(184): Illuminate\Support\Collection->map() #5 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/View.php(183): include('...') #6 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/View.php(278): Fisharebest\Webtrees\View->render() #7 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Helpers/functions.php(145): Fisharebest\Webtrees\View::make() #8 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/ViewResponseTrait.php(54): view() #9 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/RequestHandlers/TreePage.php(81): Fisharebest\Webtrees\Http\RequestHandlers\TreePage->viewResponse() #10 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/RequestHandler.php(55): Fisharebest\Webtrees\Http\RequestHandlers\TreePage->handle() #11 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\RequestHandler->process() #12 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/modules_v4/faces/src/Modules/FacesModule.php(94): Middleland\Dispatcher->handle() #13 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): UksusoFF\WebtreesModules\Faces\Modules\FacesModule->process() #14 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Module/HitCountFooterModule.php(154): Middleland\Dispatcher->handle() #15 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Module\HitCountFooterModule->process() #16 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Module/CheckForNewVersion.php(122): Middleland\Dispatcher->handle() #17 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Module\CheckForNewVersion->process() #18 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/CheckCsrf.php(80): Middleland\Dispatcher->handle() #19 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CheckCsrf->process() #20 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(118): Middleland\Dispatcher->handle() #21 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Webtrees.php(275): Middleland\Dispatcher->dispatch() #22 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/Router.php(161): Fisharebest\Webtrees\Webtrees::dispatch() #23 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\Router->process() #24 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/BootModules.php(58): Middleland\Dispatcher->handle() #25 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\BootModules->process() #26 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/RegisterGedcomTags.php(54): Middleland\Dispatcher->handle() #27 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\RegisterGedcomTags->process() #28 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/LoadRoutes.php(75): Middleland\Dispatcher->handle() #29 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\LoadRoutes->process() #30 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/CheckForNewVersion.php(57): Middleland\Dispatcher->handle() #31 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CheckForNewVersion->process() #32 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/UseTransaction.php(45): Middleland\Dispatcher->handle() #33 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/illuminate/database/Concerns/ManagesTransactions.php(29): Fisharebest\Webtrees\Http\Middleware\UseTransaction::Fisharebest\Webtrees\Http\Middleware\{closure}() #34 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/UseTransaction.php(44): Illuminate\Database\Connection->transaction() #35 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseTransaction->process() #36 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/DoHousekeeping.php(71): Middleland\Dispatcher->handle() #37 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\DoHousekeeping->process() #38 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/UseTheme.php(67): Middleland\Dispatcher->handle() #39 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseTheme->process() #40 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/CheckForMaintenanceMode.php(51): Middleland\Dispatcher->handle() #41 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CheckForMaintenanceMode->process() #42 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/UseLanguage.php(69): Middleland\Dispatcher->handle() #43 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseLanguage->process() #44 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/UseSession.php(78): Middleland\Dispatcher->handle() #45 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseSession->process() #46 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/UpdateDatabaseSchema.php(57): Middleland\Dispatcher->handle() #47 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UpdateDatabaseSchema->process() #48 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/UseDatabase.php(122): Middleland\Dispatcher->handle() #49 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseDatabase->process() #50 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/BadBotBlocker.php(293): Middleland\Dispatcher->handle() #51 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\BadBotBlocker->process() #52 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/CompressResponse.php(71): Middleland\Dispatcher->handle() #53 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CompressResponse->process() #54 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/ContentLength.php(40): Middleland\Dispatcher->handle() #55 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\ContentLength->process() #56 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/middlewares/client-ip/src/ClientIp.php(65): Middleland\Dispatcher->handle() #57 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/ClientIp.php(47): Middlewares\ClientIp->process() #58 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\ClientIp->process() #59 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/HandleExceptions.php(89): Middleland\Dispatcher->handle() #60 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\HandleExceptions->process() #61 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/BaseUrl.php(73): Middleland\Dispatcher->handle() #62 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\BaseUrl->process() #63 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/ReadConfigIni.php(68): Middleland\Dispatcher->handle() #64 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\ReadConfigIni->process() #65 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/SecurityHeaders.php(48): Middleland\Dispatcher->handle() #66 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\SecurityHeaders->process() #67 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Http/Middleware/EmitResponse.php(57): Middleland\Dispatcher->handle() #68 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\EmitResponse->process() #69 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/vendor/oscarotero/middleland/src/Dispatcher.php(118): Middleland\Dispatcher->handle() #70 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Webtrees.php(275): Middleland\Dispatcher->dispatch() #71 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/app/Webtrees.php(262): Fisharebest\Webtrees\Webtrees::dispatch() #72 /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/index.php(51): Fisharebest\Webtrees\Webtrees->httpRequest() #73 {main}

Both MAUPILLÉ & RAUHUT families are using webtrees V2.1.18
Last edit: 3 weeks 3 days ago by Andreas.

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

  • Andreas
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
3 weeks 3 days ago #13 by Andreas
Thank you Bert,
I found the bug by disabling modules_v4/jc-fancy-imagebar
Hoping a new update of the module will repair.
 

Both MAUPILLÉ & RAUHUT families are using webtrees V2.1.18

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

  • bertkoor
  • Offline
  • Platinum Member
  • Platinum Member
  • Greetings from Utrecht, Holland
More
3 weeks 3 days ago #14 by bertkoor
Thank you!
Code:
Call to a member function canShow() on null in /var/www/vhosts/marie-delphine.de/mainguet.maupile.fr/modules_v4/jc-fancy-imagebar/FancyImagebarModule.php:417

The most recent version of JustCarmen's FancyImageBar has media.canShow() on line 406, not 417. And it first checks whether media has a value. That was part of a fix done in August 2023, published with release 2.3.1 in December. In version 2.3.0 (before the fix) "media.canShow()" was on line 417 indeed.

So just upgrade module JustCarmen-FancyImageBar to the latest version and try again...

stamboom.BertKoor.nl runs on webtrees v1.7.13

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

  • Andreas
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
3 weeks 3 days ago #15 by Andreas
Solved. Thanks to Franz, Greg and Bert

Both MAUPILLÉ & RAUHUT families are using webtrees V2.1.18

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

More
3 weeks 3 days ago #16 by Franz Frese
Replied by Franz Frese on topic 404 Error after moving webtrees to a new hoster
Please.So you did not start with a fresh installation, but you have overwritten the existing one.
So you get the error with old modules and may be there exist some cadavers in main webtrees.
dont forget to activate pretty urls again.
Don't forget to check the version of the other foreign modules (if any).

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

  • Andreas
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
3 weeks 3 days ago - 3 weeks 3 days ago #17 by Andreas

Please.So you did not start with a fresh installation, but you have overwritten the existing one.
So you get the error with old modules and may be there exist some cadavers in main webtrees.
dont forget to activate pretty urls again.
Don't forget to check the version of the other foreign modules (if any).
Thank you for the reminder. pretty URL are enabled.
All is working fine at . mainguet.maupile.fr

I learned:
- while migration of an existing installation, I have to disabble all third-party modules

Both MAUPILLÉ & RAUHUT families are using webtrees V2.1.18
Last edit: 3 weeks 3 days ago by Andreas.

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

More
3 weeks 3 days ago #18 by Franz Frese

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

  • Andreas
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
3 weeks 3 days ago - 3 weeks 3 days ago #19 by Andreas
Oh yeah, there are lot of things waiting for to be done ! Not only this lonesome broken link on the web site of a cousin. He doesn't make any maintenance.
The Web site wher he took the picture has moved twice, since he build his webtrees page.  

The web site of our family association also needs to be refreshed. There are some young members, and I hope to get some helping hands.....

But being retired doesn't mean without tasks & duties.  Feel free to help us....

Both MAUPILLÉ & RAUHUT families are using webtrees V2.1.18
Last edit: 3 weeks 3 days ago by Andreas.

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

Powered by Kunena Forum
}