JoomlaEstateAgency / mod_jea_search

Search module for Joomla Estate Agency
1 stars 2 forks source link

404 View not found #2

Open rnervi opened 1 year ago

rnervi commented 1 year ago

j4.3.4 compile parameters press "search properties" 404 View not found [name, type, prefix]: featured, html, jeaView

ilhooq commented 1 year ago

What's the version of your module mod_jea_search ?

rnervi commented 1 year ago

3.0 2008-03-01 dloaded 2 days ago from github

rnervi commented 1 year ago

hope this helps:

Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/clients/client2/web373/web/components/com_jea/views/properties/view.html.php on line 187

Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/clients/client2/web373/web/components/com_jea/views/properties/view.html.php on line 187

Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/clients/client2/web373/web/components/com_jea/views/properties/view.html.php on line 187

rnervi commented 1 year ago

full log:

View non trovato [name, type, prefix]: featured, html, jeaView

Call stack

| Function | Location

1 | () | JROOT/libraries/src/MVC/Controller/BaseController.php:822 2 | Joomla\CMS\MVC\Controller\BaseController->getView() | JROOT/libraries/src/MVC/Controller/BaseController.php:608 3 | Joomla\CMS\MVC\Controller\BaseController->display() | JROOT/components/com_jea/controllers/default.php:93 4 | JeaControllerDefault->display() | JROOT/libraries/src/MVC/Controller/BaseController.php:678 5 | Joomla\CMS\MVC\Controller\BaseController->execute() | JROOT/components/com_jea/jea.php:27 6 | require_once() | JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71 7 | Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher{closure}() | JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73 8 | Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() | JROOT/libraries/src/Component/ComponentHelper.php:361 9 | Joomla\CMS\Component\ComponentHelper::renderComponent() | JROOT/libraries/src/Application/SiteApplication.php:208 10 | Joomla\CMS\Application\SiteApplication->dispatch() | JROOT/libraries/src/Application/SiteApplication.php:249 11 | Joomla\CMS\Application\SiteApplication->doExecute() | JROOT/libraries/src/Application/CMSApplication.php:293 12 | Joomla\CMS\Application\CMSApplication->execute() | JROOT/includes/app.php:61 13 | require_once() | JROOT/index.php:32

ilhooq commented 1 year ago

Did you select a Search menu item in the module configuration ?

rnervi commented 1 year ago

yes. path is: left side "Ricerca guidata" type: pizzeria cerca button NO found then press "modifica la tua ricerca"

feel free to play it site is still "hidden" http://perin.tmp.0rev.com/index.php/rapida-2?task=properties.search

ilhooq commented 1 year ago

In fact, this is an issue with the component and I pushed a little workaround

The problem with the search module is to find the a menu item to associate with. If you don't select a menu item in the configuration of mod_jea_search, it will take the view name of the homepage menu item (featured). It's why you've got this error : View non trovato [name, type, prefix]: featured, html, jeaView. The featured view doesn't exist in JEA.

rnervi commented 1 year ago

but from a menu I can only choose "JEA search layout" and I cannot c link to a module or page to assign it.. please explain step by step ty

rnervi commented 1 year ago

why w cannot assign to the string "change your search" an arbitrary address back to menu item ? or ... a way to disable the "change your search" I try to find that line and touch the php... faster and elegant, while you can investigate for a definitive fix ?

ilhooq commented 1 year ago

but from a menu I can only choose "JEA search layout" and I cannot c link to a module or page to assign it.. please explain step by step ty

In the backend:

  1. Go to the site modules management
  2. Edit your mod_jea_search module
  3. Look for the field Search menu item (at the end)
  4. Select a menu item to associate with
rnervi commented 1 year ago

but there is no such a module used, as from menu item you choose directly and dont use a module immagine so is " display a search form" is not "display a search module" I've tried to create a module with menu where display with a fake position... no luck

rnervi commented 1 year ago

immagine

immagine

rnervi commented 1 year ago

wait. at page end... "search menu item" !!!!

immagine

let me try still 404

rnervi commented 1 year ago

naw neither if I link menu -> article -> loadposition (jea:search_module)

I'll remove all the IF side.. faster for now

capitanggf commented 10 months ago

naw neither if I link menu -> article -> loadposition (jea:search_module)

I'll remove all the IF side.. faster for now

Créez d'abord un élément de menu « Search layout » puis dans le module « JEA Search » tout en bas dans la liste déroulante « Search menu item », sélectionnez cet élément « Search layout »