smart search joomla 4 an find plugin

Phoca Download - download manager
prpoub
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 20 Jan 2023, 17:05

smart search joomla 4 an find plugin

Post by prpoub »

Hello everyone
I have a little problem with smart index.
I use phocadownload and its phoca finder plugin for smart index.
In manual mode (i.e. I index via the admin by clicking on the "index" button) it works perfectly and the searches include the files or documents of phoca download.

When I try to launch via command line in ssh

php -d memory_limit=512M joomla.php finder:index

It doesn't work, I get this error:

/var/www/html/cli# php -d memory_limit=256M joomla.php finder:index
Finder Indexer
==========================

Starting Indexer
Setting up Smart Search plugins
Setup 31 items in 1.547 seconds.

In route.php line 288:

Call to undefined method Joomla\CMS\Application\ConsoleApplication::getMenu ()


finder:index [--minproctime MINPROCTIME] [--pause PAUSE] [--divisor DIVISOR] [--live-site [LIVE-SITE]] [-h|--help] [-q|--quiet] [ -v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [--] <command> [< bleed>]

An idea ?
Thanks in advance.
Rock
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48536
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: smart search joomla 4 an find plugin

Post by Jan »

Hi, are you able to render whole error message including trace (to see where this error occurs)?

Jan
If you find Phoca extensions useful, please support the project
prpoub
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 20 Jan 2023, 17:05

Re: smart search joomla 4 an find plugin

Post by prpoub »

Hello it's the whole error message.
how i can make a trace ?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48536
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: smart search joomla 4 an find plugin

Post by Jan »

Hi, which template do yo use? The standard? Because this:

-
Call to undefined method Joomla\CMS\Application\ConsoleApplication::getMenu ()

is not a whole message. Whole message includes information about the file and line where this error occurs. Trace route then includes all other files which were run before the file with error is rendered. Enable debug mode in Joomla Global configuration and you should get whole message including trace, e.g. like this:

Image

Jan
If you find Phoca extensions useful, please support the project
Post Reply