Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error in lists/Individuals menu #4509

Closed
borjian opened this issue Jul 19, 2022 · 7 comments
Closed

error in lists/Individuals menu #4509

borjian opened this issue Jul 19, 2022 · 7 comments

Comments

@borjian
Copy link
Contributor

borjian commented Jul 19, 2022

hi
i start with a GEDCOM file in Persian language
When the language is English, there is no error in the lists/Individuals menu, but when I select the Persian language to see the individual's details, I see the following error,

date/time "۲۰۰۵-۰۴-۲۷01:00:00" does not match pattern "Y-m-d H:i:s" …\app\Factories\TimestampFactory.php:68
#0 …\app\GedcomRecord.php(708): Fisharebest\Webtrees\Factories\TimestampFactory->fromString()
#1 …\resources\views\lists\individuals-table.phtml(379): Fisharebest\Webtrees\GedcomRecord->lastChangeTimestamp()
#2 …\app\View.php(183): include('C:\inetpub\vhos...')
#3 …\app\View.php(278): Fisharebest\Webtrees\View->render()
#4 …\app\Helpers\functions.php(145): Fisharebest\Webtrees\View::make()
#5 …\app\Module\IndividualListModule.php(466): view()
#6 …\app\Module\IndividualListModule.php(180): Fisharebest\Webtrees\Module\IndividualListModule->createResponse()
#7 …\app\Http\Middleware\RequestHandler.php(54): Fisharebest\Webtrees\Module\IndividualListModule->handle()
#8 …\vendor\oscarotero\middleland\src\Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\RequestHandler->process()
#9 …\app\Module\HitCountFooterModule.php(154): Middleland\Dispatcher->handle()
#10 …\vendor\oscarotero\middleland\src\Dispatcher.php(136): Fisharebest\Webtrees\Module\HitCountFooterModule->process()
#11 …\app\Module\CheckForNewVersion.php(115): Middleland\Dispatcher->handle()
#12 …\vendor\oscarotero\middleland\src\Dispatcher.php(136): Fisharebest\Webtrees\Module\CheckForNewVersion->process()
#13 …\app\Http\Middleware\CheckCsrf.php(80): Middleland\Dispatcher->handle()
#14 …\vendor\oscarotero\middleland\src\Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CheckCsrf->process()
#15 …\vendor\oscarotero\middleland\src\Dispatcher.php(118): Middleland\Dispatcher->handle()
#16 …\app\Webtrees.php(275): Middleland\Dispatcher->dispatch()
#17 …\app\Http\Middleware\Router.php(153): Fisharebest\Webtrees\Webtrees::dispatch()
#18 …\vendor\oscarotero\middleland\src\Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\Router->process()
#19 …\app\Http\Middleware\BootModules.php(60): Middleland\Dispatcher->handle()
#20 …\vendor\oscarotero\middleland\src\Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\BootModules->process()
#21 …\app\Http\Middleware\RegisterGedcomTags.php(54): Middleland\Dispatcher->handle()
#22 …\vendor\oscarotero\middleland\src\Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\RegisterGedcomTags->process()
#23 …\app\Http\Middleware\LoadRoutes.php(75): Middleland\Dispatcher->handle()
#24 …\vendor\oscarotero\middleland\src\Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\LoadRoutes->process()
#25 …\app\Http\Middleware\CheckForNewVersion.php(65): Middleland\Dispatcher->handle()
#26 …\vendor\oscarotero\middleland\src\Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CheckForNewVersion->process()
#27 …\app\Http\Middleware\UseTransaction.php(45): Middleland\Dispatcher->handle()
#28 …\vendor\illuminate\database\Concerns\ManagesTransactions.php(29): Fisharebest\Webtrees\Http\Middleware\UseTransaction::Fisharebest\Webtrees\Http\Middleware{closure}()
#29 …\app\Http\Middleware\UseTransaction.php(46): Illuminate\Database\Connection->transaction()
#30 …\vendor\oscarotero\middleland\src\Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseTransaction->process()
#31 …\app\Http\Middleware\DoHousekeeping.php(73): Middleland\Dispatcher->handle()
#32 …\vendor\oscarotero\middleland\src\Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\DoHousekeeping->process()
#33 …\app\Http\Middleware\UseTheme.php(69): Middleland\Dispatcher->handle()
#34 …\vendor\oscarotero\middleland\src\Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseTheme->process()
#35 …\app\Http\Middleware\CheckForMaintenanceMode.php(51): Middleland\Dispatcher->handle()
#36 …\vendor\oscarotero\middleland\src\Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CheckForMaintenanceMode->process()
#37 …\app\Http\Middleware\UseLanguage.php(71): Middleland\Dispatcher->handle()
#38 …\vendor\oscarotero\middleland\src\Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseLanguage->process()
#39 …\app\Http\Middleware\UseSession.php(78): Middleland\Dispatcher->handle()
#40 …\vendor\oscarotero\middleland\src\Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseSession->process()
#41 …\app\Http\Middleware\UpdateDatabaseSchema.php(57): Middleland\Dispatcher->handle()
#42 …\vendor\oscarotero\middleland\src\Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UpdateDatabaseSchema->process()
#43 …\app\Http\Middleware\UseDatabase.php(118): Middleland\Dispatcher->handle()
#44 …\vendor\oscarotero\middleland\src\Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseDatabase->process()
#45 …\app\Http\Middleware\BadBotBlocker.php(233): Middleland\Dispatcher->handle()
#46 …\vendor\oscarotero\middleland\src\Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\BadBotBlocker->process()
#47 …\app\Http\Middleware\CompressResponse.php(73): Middleland\Dispatcher->handle()
#48 …\vendor\oscarotero\middleland\src\Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CompressResponse->process()
#49 …\app\Http\Middleware\ContentLength.php(40): Middleland\Dispatcher->handle()
#50 …\vendor\oscarotero\middleland\src\Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\ContentLength->process()
#51 …\vendor\middlewares\client-ip\src\ClientIp.php(65): Middleland\Dispatcher->handle()
#52 …\app\Http\Middleware\ClientIp.php(47): Middlewares\ClientIp->process()
#53 …\vendor\oscarotero\middleland\src\Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\ClientIp->process()
#54 …\app\Http\Middleware\HandleExceptions.php(90): Middleland\Dispatcher->handle()
#55 …\vendor\oscarotero\middleland\src\Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\HandleExceptions->process()
#56 …\app\Http\Middleware\BaseUrl.php(79): Middleland\Dispatcher->handle()
#57 …\vendor\oscarotero\middleland\src\Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\BaseUrl->process()
#58 …\app\Http\Middleware\ReadConfigIni.php(68): Middleland\Dispatcher->handle()
#59 …\vendor\oscarotero\middleland\src\Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\ReadConfigIni->process()
#60 …\app\Http\Middleware\SecurityHeaders.php(48): Middleland\Dispatcher->handle()
#61 …\vendor\oscarotero\middleland\src\Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\SecurityHeaders->process()
#62 …\app\Http\Middleware\EmitResponse.php(57): Middleland\Dispatcher->handle()
#63 …\vendor\oscarotero\middleland\src\Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\EmitResponse->process()
#64 …\vendor\oscarotero\middleland\src\Dispatcher.php(118): Middleland\Dispatcher->handle()
#65 …\app\Webtrees.php(275): Middleland\Dispatcher->dispatch()
#66 …\app\Webtrees.php(262): Fisharebest\Webtrees\Webtrees::dispatch()
#67 …\index.php(51): Fisharebest\Webtrees\Webtrees->httpRequest()
#68 {main}

@fisharebest
Copy link
Owner

i start with a GEDCOM file in Persian language

Can you share this file with me? greg@subaqua.co.uk

@fisharebest
Copy link
Owner

You have deleted many of the language files?

If I visit your site, I see a message saying that the english language files are missing.

Can you simply send me the GEDCOM file. Or perhaps one individual from the file.

I guess that one of your records contains invalid/unexpected data.
I need to see it.

@borjian
Copy link
Contributor Author

borjian commented Jul 21, 2022

thank you for your attention
My current host is Windows, but this problem also exists in Linux host if I did not delete all languages
borjian.zip
.

@fisharebest
Copy link
Owner

Thanks! I can see the problem now.

@borjian
Copy link
Contributor Author

borjian commented Jul 24, 2022

Hello
The problem of the error I sent earlier is related to the "last change" field, which can be seen in the report lists/Individuals in Arabic and Farsi lang.
If even the valid data from the GEDCOM file is imported into the webtrees and, and then we change the detail of a Individuals
and save it, this error can also be seen in Persian or Arabic languages.
Thanks!

@fisharebest
Copy link
Owner

I could see the error in the 2.1.6 code.

I cannot see the error after the fix in 86c727c

If even the valid data from the GEDCOM file is imported into the webtrees and, and then we change the detail of a Individuals and save it, this error can also be seen in Persian or Arabic languages.

Are you testing with the fixed code?

@borjian
Copy link
Contributor Author

borjian commented Jul 26, 2022

OK
I also can't see the error after fixing the problem in 86c727c
Thanks!

ddrury pushed a commit to ddrury/webtrees that referenced this issue Jul 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants