Before asking for help please read "How to request help" by clicking on that tab above here.
  • Page:
  • 1

TOPIC:

Error when accessing User administration 2 months 1 week ago #1

  • afra
  • afra's Avatar Topic Author
  • Offline
  • New
  • New
  • Posts: 5
Hi all.
After manual update to 2.0.7 everything seems to work fine, but the User administration.
There I get the message: DataTables warning: table id=DataTables_Table_0 - Invalid JSON response. For more information about this error, please see datatables.net/tn/1
and after confirming that message I get the same message again.
After that the User administration screen is displayed without any user data.

Any hint what I can do to fix that is more than welcome.

Thanks

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

Error when accessing User administration 2 months 1 week ago #2

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 13603
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

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

Error when accessing User administration 2 months 1 week ago #3

  • afra
  • afra's Avatar Topic Author
  • Offline
  • New
  • New
  • Posts: 5
Thanks.
This is what is displayed:
Class 'Fisharebest\Localization\Territory\TerritoryJp' not found …/vendor/fisharebest/localization/src/Language/LanguageJa.php:30
#0 …/vendor/fisharebest/localization/src/Locale/AbstractLocale.php(307): Fisharebest\Localization\Language\LanguageJa->defaultTerritory()
#1 …/vendor/fisharebest/localization/src/Locale/AbstractLocale.php(183): Fisharebest\Localization\Locale\AbstractLocale->territory()
#2 …/app/Http/Controllers/Admin/UsersController.php(136): Fisharebest\Localization\Locale\AbstractLocale->languageTag()
#3 …/vendor/illuminate/support/Collection.php(1197): Fisharebest\Webtrees\Http\Controllers\Admin\UsersController::Fisharebest\Webtrees\Http\Controllers\Admin\{closure}(Object(Fisharebest\Webtrees\Module\LanguageJapanese), 'language-ja')
#4 …/app/Http/Controllers/Admin/UsersController.php(137): Illuminate\Support\Collection->mapWithKeys(Object(Closure))
#5 …/app/Http/Middleware/WrapHandler.php(79): Fisharebest\Webtrees\Http\Controllers\Admin\UsersController->data(Object(Nyholm\Psr7\ServerRequest))
#6 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\WrapHandler->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#7 …/app/Module/HitCountFooterModule.php(157): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#8 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Module\HitCountFooterModule->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#9 …/app/Http/Middleware/AuthAdministrator.php(52): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#10 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\AuthAdministrator->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#11 …/app/Http/Middleware/CheckCsrf.php(75): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#12 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CheckCsrf->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#13 …/vendor/oscarotero/middleland/src/Dispatcher.php(118): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#14 …/app/Http/Middleware/Router.php(134): Middleland\Dispatcher->dispatch(Object(Nyholm\Psr7\ServerRequest))
#15 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\Router->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#16 …/app/Http/Middleware/BootModules.php(62): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#17 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\BootModules->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#18 …/app/Http/Middleware/LoadRoutes.php(76): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#19 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\LoadRoutes->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#20 …/app/Http/Middleware/UseTransaction.php(45): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#21 …/vendor/illuminate/database/Concerns/ManagesTransactions.php(29): Fisharebest\Webtrees\Http\Middleware\UseTransaction::Fisharebest\Webtrees\Http\Middleware\{closure}(Object(Illuminate\Database\MySqlConnection))
#22 …/app/Http/Middleware/UseTransaction.php(46): Illuminate\Database\Connection->transaction(Object(Closure), 3)
#23 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseTransaction->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#24 …/app/Http/Middleware/DoHousekeeping.php(81): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#25 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\DoHousekeeping->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#26 …/app/Http/Middleware/UseTheme.php(70): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#27 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseTheme->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#28 …/app/Http/Middleware/CheckForMaintenanceMode.php(51): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#29 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CheckForMaintenanceMode->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#30 …/app/Http/Middleware/RegisterFactories.php(73): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#31 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\RegisterFactories->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#32 …/app/Http/Middleware/UseLanguage.php(73): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#33 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseLanguage->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#34 …/app/Http/Middleware/UseSession.php(71): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#35 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseSession->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#36 …/app/Http/Middleware/UseFilesystem.php(58): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#37 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseFilesystem->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#38 …/app/Http/Middleware/UpdateDatabaseSchema.php(58): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#39 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UpdateDatabaseSchema->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#40 …/app/Http/Middleware/UseDebugbar.php(67): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#41 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseDebugbar->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#42 …/app/Http/Middleware/UseDatabase.php(118): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#43 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseDatabase->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#44 …/app/Http/Middleware/BadBotBlocker.php(213): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#45 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\BadBotBlocker->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#46 …/app/Http/Middleware/UseCache.php(74): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#47 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseCache->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#48 …/vendor/middlewares/client-ip/src/ClientIp.php(81): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#49 …/app/Http/Middleware/ClientIp.php(47): Middlewares\ClientIp->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#50 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\ClientIp->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#51 …/app/Http/Middleware/HandleExceptions.php(90): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#52 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\HandleExceptions->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#53 …/app/Http/Middleware/BaseUrl.php(77): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#54 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\BaseUrl->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#55 …/app/Http/Middleware/ReadConfigIni.php(69): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#56 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\ReadConfigIni->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#57 …/app/Http/Middleware/SecurityHeaders.php(47): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#58 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\SecurityHeaders->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#59 …/app/Http/Middleware/EmitResponse.php(57): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#60 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\EmitResponse->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#61 …/app/Http/Middleware/PhpEnvironment.php(49): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#62 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\PhpEnvironment->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#63 …/vendor/oscarotero/middleland/src/Dispatcher.php(118): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#64 …/index.php(57): Middleland\Dispatcher->dispatch(Object(Nyholm\Psr7\ServerRequest))
#65 {main}

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

Error when accessing User administration 2 months 1 week ago #4

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 13603
That error message suggests you are missing the file:

vendor/fisharebest/localization/src/Territory/TerritoryJp.php

Check that it exists.

If not, copy it to the server again.

(If one file is missing, others might be too. Probably best to copy them all.)

PS - after copying the file, wait a minute and check that it is still there.
I recently saw a problem where a web-host had some anti-virus software that
was silently deleting one of webtrees files. Each time we copied it to the server,
it would disappear a few seconds later!
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

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

Error when accessing User administration 2 months 1 week ago #5

  • afra
  • afra's Avatar Topic Author
  • Offline
  • New
  • New
  • Posts: 5
Thanks.The file is there. I've added the file itself as a .txt file. Please see attachement.
Attachments:

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

Error when accessing User administration 2 months 1 week ago #6

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 13603
This is puzzling.

The file exists, it is in the correct locaiton, with the correct name, and contains the correct code - but it cannot be found...

Restart the server? Try again later?

I guess you cannot view the list of langauge modules in the control panel either?
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

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

Error when accessing User administration 2 months 1 week ago #7

  • afra
  • afra's Avatar Topic Author
  • Offline
  • New
  • New
  • Posts: 5
My webtrees installation is running on a shared, generic hosted environment. So I'm afraid I can't restart nor do I have access to the control panel.
Since the 17th the error comes up each time I try to access the user administration (also when trying to access an individual user, e.g. for confirming a new user).

Two points are puzzling me:
The 'missing' file seems to be related to japanese localization. I'm not using japanese.
All other pages I've tested so far seem to work. Is there anything special in the user adminstration code compared to the rest of the system?
If there was something 'special', is there any other functionality in webtrees using the same 'special code' which I could test in order to see whether that code crashes as well?

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

Error when accessing User administration 2 months 1 week ago #8

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 13603
> The 'missing' file seems to be related to japanese localization. I'm not using japanese.

But webtrees supports 60+ languages.

There is nothing special about this file. It is one of hundreds of similar files that get loaded.

Did you try re-uploading a fresh copy of this file?
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

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

Do you need a web hosting solution for your webtrees site?
If you prefer a host that specialises in webtrees, the following page lists some suppliers able to provide one for you: 

Error when accessing User administration 2 months 1 week ago #9

  • afra
  • afra's Avatar Topic Author
  • Offline
  • New
  • New
  • Posts: 5
You are a genius!
I've just uploaded the file again out of the zip file. Now it works!
Thank you so much for your patience and your support!

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

Error when accessing User administration 1 week 3 days ago #10

Hi,
I am getting similar problem and can't access User administration.
I get the message: DataTables warning: table id=DataTables_Table_0 - Ajax error. For more information about this error, please see datatables.net/tn/7

This is the error from Chrome console
vendor.min.js?v=2.0.9:2 GET medis.avily.lt/index.php?route=%2Fadmin%...alse&_=1603031251117 404
send @ vendor.min.js?v=2.0.9:2
ajax @ vendor.min.js?v=2.0.9:2
me @ vendor.min.js?v=2.0.9:2
pe @ vendor.min.js?v=2.0.9:2
ue @ vendor.min.js?v=2.0.9:2
ce @ vendor.min.js?v=2.0.9:2
je @ vendor.min.js?v=2.0.9:2
j @ vendor.min.js?v=2.0.9:2
l @ vendor.min.js?v=2.0.9:2
at @ vendor.min.js?v=2.0.9:2
(anonymous) @ vendor.min.js?v=2.0.9:2
each @ vendor.min.js?v=2.0.9:2
each @ vendor.min.js?v=2.0.9:2
l @ vendor.min.js?v=2.0.9:2
(anonymous) @ index.php?route=%2Fadmin%2Fadmin-users:127


The above url returns "404 - File or directory not found"

Upgraded from 2.0.7 to 2.0.9, still the same error

If I shorten the above url, at some point it starts giving results instead of 404. Possibly wrong parameters or too long request?

Any help is very much appreciated

Thanks

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

Error when accessing User administration 1 week 3 days ago #11

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 13603
> Possibly wrong parameters or too long request?

The URLs are long, but not excessively.

Are you using Microsoft IIS as a webserver.

If so, you need to increase the setting for maximum URL length.

webtrees.net/install/iis/
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

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

Error when accessing User administration 1 week 3 days ago #12

Yes, I am using Microsoft IIS
Doubling maximum URL length did not help, but doubling maximum query string did.
Thank you very much!

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

Error when accessing User administration 1 week 3 days ago #13

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 13603
> Doubling maximum URL length did not help, but doubling maximum query string did.

Can you tell me exactly what you changed?

I do not have access to IIS, and I can add your information to the FAQ
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

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

Last edit: by fisharebest.

Error when accessing User administration 1 week 3 days ago #14

Internet Information Services (IIS) Manager
Select your site
Request Filtering
Edit feature settings

Changed "Maximum URL length (Bytes)" from 4096 to 8192 and "Maximum query string (Bytes)" from 2048 to 4096
Attachments:

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

  • Page:
  • 1
Powered by Kunena Forum