collaboration with Joomla little faulty?

Started by giorgo, 16 November 2025, 15:09:00

Previous topic - Next topic

giorgo

hi,

I have a literature collection from !J3.x with 1500 titles, which I migrated to J5 and ab4.0.6. I now have the problem that after indexing J!, not all titles are listed, just some and the link from the J-result list to a detailed view is faulty/broken. ab' own search, on the other hand, works. what can I do? Thx for tipps, best regards, g.



J-search: broken link >      500 icon::votebook not found. Page loading cancelled
testtest
https://domain.de/en/component/abook/book/1630-testtest.html?catid=14&Itemid=167
https://domain.de/de/component/abook/book/1630-testtest.html?catid=14&Itemid=167

J-ab-search: ok
testtest
https://domain.de/en/publications/bib.html?view=book&id=1630:testtest&catid=14:geo
https://domain.de/de/publications/bib.html?view=book&id=1630:testtest&catid=14:geo




Joomla Version    5.4.0
PHP Version    PHP 8.4.x
AlexBib 4.0.6 (plg_content_loadbook_4_0_5, plg_finder_abook_4_0_5)

giorgo

hi,
I had trouble not only searching for AB titles, but also finding J! contacts.

The error seems to lie in the "finder" plugin "Smart Search - Abook" (Plugin 4.0.5, November 15, 2024, plg_finder_abook 4.0.5) <https://alexandriabooklibrary.org/en/downloads/29-plugins.html>.

The search index first reads content from external components, then the core components such as contacts, posts, etc.

The "external" Abook plugin displays an incorrect entry in the index status window (only "1" book instead of 1500), and secondly, it seems to abort the entire indexing process after the title cycle. Book titles are then in the index and can be found, but no authors are. The subsequent core components are also no longer being read. Therefore, for example, "Contacts" were missing from my search results. By saving individual contacts, they eventually made it into the index and were found, but after reindexing with the faulty plugin, they were missing again.

If I deactivate "Smart Search - Abook," everything works. For the "Alexandria Book Library 4.0.6," only its own pre-installed search function remains until its plugin is fixed.

best regards, g.



Joomla Version    5.4.1
PHP Version    PHP 8.3.x
AlexBib 4.0.6 (plg_content_loadbook_4_0_5, plg_finder_abook_4_0_5)

giorgo

I just remembered to repeat the error in a different environment: a new, separate J5.4.1 on PHP 8.3 (and 8.1 for abook) with a manually entered abook category & record and contact entry: no error!

So, my analysis and conclusion aren't entirely conclusive.

Perhaps incorrect data was imported:

During several import attempts from abook J!3, I encountered the following errors in J!5:
Field 'lang' doesn't have a default value (the "where" is missing: the table name?)
1062 Duplicate entry '3' for key 'PRIMARY'
Warning! – Error moving file to [ROOT]/administrator/components/com_abook/uploads/
The file must have the '.sql' extension

I'm still working on this...