Comments (3)
This was related to a updating the module and needing to update the theme files for compatibility.
from omeka-s-module-advancedsearch.
This wasn't a theme compatibility issue. It's an Advanced Search issue. Either it's a glitch or it's a problem with my configuration.
I have 2 sites and 2 search configs. I want to use the 2 search configs on both sites. Both search configs are active for both sites.
I can add 1 search config to the navigation menu of both sites. If I try to add the 2nd config, I get this error:
Laminas\Router\Exception\RuntimeException
Route with name "search-page-2" not found
Details:
Laminas\Router\Exception\RuntimeException: Route with name "search-page-2" not found in /home/annelies/public_html/plpr4/vendor/laminas/laminas-router/src/Http/TreeRouteStack.php:364
Stack trace:
#0 /home/annelies/public_html/plpr4/vendor/laminas/laminas-view/src/Helper/Url.php(107): Laminas\Router\Http\TreeRouteStack->assemble(Array, Array)
#1 /home/annelies/public_html/plpr4/application/src/View/Helper/Url.php(34): Laminas\View\Helper\Url->__invoke('search-page-2', Array, Array, false)
#2 /home/annelies/public_html/plpr4/application/src/Site/Navigation/Translator.php(168): Omeka\View\Helper\Url->__invoke('search-page-2', Array, Array)
#3 /home/annelies/public_html/plpr4/application/src/Site/Navigation/Translator.php(89): Omeka\Site\Navigation\Translator->getLinkUrl(Object(AdvancedSearch\Site\Navigation\Link\SearchPage), Array, Object(Omeka\Api\Representation\SiteRepresentation))
#4 /home/annelies/public_html/plpr4/application/src/Site/Navigation/Translator.php(96): Omeka\Site\Navigation\Translator->Omeka\Site\Navigation{closure}(Array)
#5 /home/annelies/public_html/plpr4/application/src/Controller/SiteAdmin/IndexController.php(228): Omeka\Site\Navigation\Translator->toJstree(Object(Omeka\Api\Representation\SiteRepresentation))
#6 /home/annelies/public_html/plpr4/vendor/laminas/laminas-mvc/src/Controller/AbstractActionController.php(71): Omeka\Controller\SiteAdmin\IndexController->navigationAction()
#7 /home/annelies/public_html/plpr4/vendor/laminas/laminas-eventmanager/src/EventManager.php(319): Laminas\Mvc\Controller\AbstractActionController->onDispatch(Object(Laminas\Mvc\MvcEvent))
#8 /home/annelies/public_html/plpr4/vendor/laminas/laminas-eventmanager/src/EventManager.php(179): Laminas\EventManager\EventManager->triggerListeners(Object(Laminas\Mvc\MvcEvent), Object(Closure))
#9 /home/annelies/public_html/plpr4/vendor/laminas/laminas-mvc/src/Controller/AbstractController.php(97): Laminas\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Laminas\Mvc\MvcEvent))
#10 /home/annelies/public_html/plpr4/vendor/laminas/laminas-mvc/src/DispatchListener.php(132): Laminas\Mvc\Controller\AbstractController->dispatch(Object(Laminas\Http\PhpEnvironment\Request), Object(Laminas\Http\PhpEnvironment\Response))
#11 /home/annelies/public_html/plpr4/vendor/laminas/laminas-eventmanager/src/EventManager.php(319): Laminas\Mvc\DispatchListener->onDispatch(Object(Laminas\Mvc\MvcEvent))
#12 /home/annelies/public_html/plpr4/vendor/laminas/laminas-eventmanager/src/EventManager.php(179): Laminas\EventManager\EventManager->triggerListeners(Object(Laminas\Mvc\MvcEvent), Object(Closure))
#13 /home/annelies/public_html/plpr4/vendor/laminas/laminas-mvc/src/Application.php(325): Laminas\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Laminas\Mvc\MvcEvent))
#14 /home/annelies/public_html/plpr4/index.php(21): Laminas\Mvc\Application->run()
#15 {main}
I've deactivated all plugins, and there is no incompatibility there. I have tried attaching the configs to the sites in each site's siteadmin settings and also within the search config. Neither method makes a difference.
Omeka 4.0.4
Advanced Search (3.4.20), Block Plus (3.4.20), CSV Import (2.5.1), Common (3.4.49), Custom Ontology (3.4.5.1), Data Type RDF (3.4.8), File Sideload (1.7.1), Internationalisation (3.4.13), Mapping (1.10.0), Menu (3.4.8), Numeric Data Types (1.11.3), Random Items Block (0.3.0), Reference (3.4.47)
from omeka-s-module-advancedsearch.
@Daniel-KM I'm able to add the second search config using the Menu module, but I cannot add it to the core Navigation
from omeka-s-module-advancedsearch.
Related Issues (11)
- Internal server (error 500) when performing a search in fields HOT 2
- Using 'and' joiner instead of 'or' for multiple facets HOT 2
- TypeError AdvancedSearch\Module::createDefaultSearchConfig() HOT 1
- 是否因为与其他模块冲突的原因
- Block „Search form (module Advanced Search)” doesn’t work
- Filters behavior switched from AND to OR after commit "b4ee3fa". HOT 2
- incompatibility with DomainManager module
- Duplicating unique ID HOT 1
- Memory issue HOT 5
- Error "Search by value" HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from omeka-s-module-advancedsearch.