Code Monkey home page Code Monkey logo

Comments (3)

adehner avatar adehner commented on August 20, 2024

This was related to a updating the module and needing to update the theme files for compatibility.

from omeka-s-module-advancedsearch.

adehner avatar adehner commented on August 20, 2024

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.

adehner avatar adehner commented on August 20, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.