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

Incomplete installation on a new Joomla 4 #10

Open
mmsarki opened this issue Jun 29, 2022 · 6 comments
Open

Incomplete installation on a new Joomla 4 #10

mmsarki opened this issue Jun 29, 2022 · 6 comments

Comments

@mmsarki
Copy link

mmsarki commented Jun 29, 2022

Steps to reproduce the issue

Installing pkg_search_4.0.1-dev.zip in a new Joomla 4

Expected result

The strings are not translated because the com_search language files are missing from the Joomla 4 language package
The table xxxx_core_log_searches is not created during installation, the following error message is displayed : 500 Table 'bdps_joomla4.x4gd6_core_log_searches' doesn't exist
The parameters are not accessible because the access.xml file is not indicated in the search.xml file of the component

Additional comments

The creation of the table in the database, the addition of the access.xml file and the linked language files make the search functional

@svenha
Copy link

svenha commented Aug 26, 2022

@mmsarki Thanks for sharing the issue; I ran into the same one today :-) Could you add some details about your workaround?

  1. How did you create the missing database table?
  2. Is adding <filename>access.xml</filename> in the two instances of file search.xml from com_search.zip enough?
  3. What about the "linked language files"?

@zero-24
Copy link
Contributor

zero-24 commented Aug 26, 2022

The search translations strings are missing is expected i would recommend to manually add the language strings to the language folder from an 3.10 language pack until there is a fully setup stable search component

@mmsarki
Copy link
Author

mmsarki commented Aug 26, 2022

@svenha

  1. Here is the SQL query to create the table, it comes from a Joomla 3 installation.
    CREATE TABLE IF NOT EXISTS XXX_core_log_searches( search_termvarchar(128) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', hits int(10) UNSIGNED NOT NULL DEFAULT '0' ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; COMMIT;
  2. Yes
  3. As indicated by @zero-24

@svenha
Copy link

svenha commented Aug 29, 2022

Thanks for your help. I think I applied all the suggested changes successfully. As admin, I disabled all 5 smart search related plugins and added a new menu item for com_search.

Now I can reach the old, familiar search interface. But searching never returns any results (and no visible problems on the surface). What am I missing?

@svenha
Copy link

svenha commented Aug 30, 2022

The search translations strings are missing is expected i would recommend to manually add the language strings to the language folder from an 3.10 language pack until there is a fully setup stable search component

Is there just one file per language that I need to copy, namely joomla/language/*/*.com_search.ini ? I am asking because the options still carry strange names.

@svenha
Copy link

svenha commented Aug 30, 2022

Now I can reach the old, familiar search interface. But searching never returns any results (and no visible problems on the surface). What am I missing?

I had to enable the Plugin named plg_search_content ; I was looking only for Content search as in #8. Is the strange name my fault or is this expected?

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