A
A
Archer *range attack +10*2017-04-16 11:07:19
MODX
Archer *range attack +10*, 2017-04-16 11:07:19

Why does MODX log that the resource was not found in this context?

There are only two contexts: web and mgr, as usual. The resources specified in the log exist, they have valid uri.

[2017-04-14 15:05:17] (ERROR in modContext::makeUrl @ resource 14001) Resource with id 14111 was not found in context web
[2017-04-14 15:05:18] (ERROR in modContext::makeUrl @ resource 14001) Resource with id 14853 was not found in context web
[2017-04-14 15:05:18] (ERROR in modContext::makeUrl @ resource 14001) Resource with id 14854 was not found in context web
[2017-04-14 15:05:18] (ERROR in modContext::makeUrl @ resource 14001) Resource with id 14855 was not found in context web
[2017-04-14 15:05:18] (ERROR in modContext::makeUrl @ resource 14001) Resource with id 14856 was not found in context web
[2017-04-14 15:05:18] (ERROR in modContext::makeUrl @ resource 14001) Resource with id 14857 was not found in context web
[2017-04-14 15:05:18] (ERROR in modContext::makeUrl @ resource 14001) Resource with id 14858 was not found in context web

There are more than 400 thousand lines of such errors in the log!
Recently, a bug with duplicate resource uris was massively fixed through the database. After that, these errors were thrown. The fact is that global_duplicate_uri_check is disabled, but I can’t afford to enable use_alias_path, because the urls are too long.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DarWiM, 2017-04-20
@kon-rafikov

If nested urls are getting too long, or if you just need to eliminate duplicates, I can recommend the CustomUrls package .
To make moving to new urls more comfortable, there is an autoRedirector package .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question