Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404 View not found #2

Open
rnervi opened this issue Sep 18, 2023 · 15 comments
Open

404 View not found #2

rnervi opened this issue Sep 18, 2023 · 15 comments

Comments

@rnervi
Copy link

rnervi commented Sep 18, 2023

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

@ilhooq
Copy link
Member

ilhooq commented Sep 19, 2023

What's the version of your module mod_jea_search ?

@rnervi
Copy link
Author

rnervi commented Sep 19, 2023

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

@rnervi
Copy link
Author

rnervi commented Sep 19, 2023

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
Copy link
Author

rnervi commented Sep 19, 2023

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
Copy link
Member

ilhooq commented Sep 19, 2023

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

@rnervi
Copy link
Author

rnervi commented Sep 19, 2023

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
Copy link
Member

ilhooq commented Sep 19, 2023

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
Copy link
Author

rnervi commented Sep 20, 2023

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
Copy link
Author

rnervi commented Sep 20, 2023

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
Copy link
Member

ilhooq commented Sep 20, 2023

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
Copy link
Author

rnervi commented Sep 20, 2023

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
Copy link
Author

rnervi commented Sep 20, 2023

immagine

immagine

@rnervi
Copy link
Author

rnervi commented Sep 20, 2023

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

immagine

let me try
still 404

@rnervi
Copy link
Author

rnervi commented Sep 20, 2023

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

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

@capitanggf
Copy link

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 »

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants