Main Menu

Recent posts

#41
Errori (Bugs) / Re: AB 4.0.8 Categry bug on fr...
Last post by federica - 13 August 2026, 11:21:10
I found 2 little errors.
in components/com_abook/models/author.php line 158
replace from:
$query->whereIn($db->quoteName('a.access'), $groups)to:
$query->whereIn($db->quoteName('book.access'), $groups)
QuoteThere is no "chosen" asset of a "preset" type in the registry.
views/authors/tmpl/default_items.php delete the line 26
#42
Errori (Bugs) / Re: AB 4.0.8 Categry bug on fr...
Last post by RobertG - 13 August 2026, 08:28:20
Hi,

I've carried out some more tests, and I really don't understand why, at only one local site, everything is indexed correctly when I set the limit to 300, whereas for all the others, indexing stops at the specified number of lines, whether that's 50 or 300.

On my main test site, I uninstalled Abook because when I tried to replace the previous data with the export by deleting the old data, the tables were deleted.
I reinstalled version 4.0.9 and my own data, and for the moment, it seems that only the list of authors is causing an error:
There is no "chosen" asset of a "preset" type in the registry.

On the author page (from a book), a warning:
Warning: Undefined property: AbookViewAuthor::$path in /home/***********/livresj6/components/com_abook/views/author/tmpl/default.php on line 37
#43
Errori (Bugs) / Re: AB 4.0.8 Categry bug on fr...
Last post by RobertG - 12 August 2026, 17:49:21
Sometimes, on the index page, during indexing, a message appears stating Abook 0 Of 1 instead of 0 of 470, when the count of categories and articles are correct (Articles 0 Of 11, for example).
Could that be the reason why indexing stopped after the first batch?
#44
Errori (Bugs) / Re: AB 4.0.8 Categry bug on fr...
Last post by RobertG - 12 August 2026, 17:35:51
Other test: I set the number of data from 50 to 300 and got the error
A parsing error occurred whilst processing the following JSON data:
JSON.parse: unexpected non-whitespace character after JSON data at line 1 column 488 of the JSON 

However, the 300 books are well indexed (though 170 are missing).
No category, no article were indexed.

If I set Indexer batch size to 150, 150 books are indexed, nothing else.

I tried 300 on the local site where 450 books were indexed, and now all are indexed, categories and articles too.

It looks as though an error is occurring that stops the indexing process without displaying a message on the screen.
#45
Errori (Bugs) / Re: AB 4.0.8 Categry bug on fr...
Last post by RobertG - 12 August 2026, 12:26:47
So I made a new test on my online J6 site for Abook.
The indexation stopped on 100 books, nothing else has been indexed. :(
#46
Errori (Bugs) / Re: AB 4.0.8 Categry bug on fr...
Last post by RobertG - 12 August 2026, 12:11:00
It's odd – I've tested it on other sites, and on some of them, Alexandria Book's indexing stops at 50.
I've added another website: 393 articles, 45 categories and 1 contact have been indexed.
I cleared the index and started again, but nothing changed – the figures are exactly the same.
I installed Abook 4.0.9 and the Smart Search plugin, imported my own data, then activated the plugin and restarted the indexing process.
Now, I do have all the books, but only 30 categories of articles instead of 45, and no articles or contacts at all!
It's incomprehensible.
#47
Errori (Bugs) / Re: AB 4.0.8 Categry bug on fr...
Last post by federica - 12 August 2026, 11:18:43
You are right but I found that the same behavior happens even with articles.

I tried to clear index (maintenance->clear index) then re-index again.

In my installation not even one article is indexed, but when I modify an article then it is indexed.
#48
Errori (Bugs) / Re: AB 4.0.8 Categry bug on fr...
Last post by RobertG - 12 August 2026, 10:02:52
Federica, I'm testing a client's site on my server.

The site contains 1,428 articles. I cleared the index and restarted it; the result is indeed 1,428 indexed articles.
Indexing is carried out in batches and does not stop at the end of the first batch; it continues until everything that can be indexed has been indexed..

On my website, only 100 of the 468 books have been indexed, and to index the rest, I have to edit them one by one and save them. Once I've done that, they're added to the index.
Why does this indexing stop after the first batch?
#49
Errori (Bugs) / Re: AB 4.0.8 Categry bug on fr...
Last post by federica - 11 August 2026, 22:05:44
Joomla settings allow you to limit the index to avoid uncontrolled database growth and excessive workload in generating search results. The "Indexer Batch Size" value depends on your server's performance.
#50
Errori (Bugs) / Re: AB 4.0.8 Categry bug on fr...
Last post by RobertG - 11 August 2026, 19:51:46
OK, it's true, nut isn't there a risk of an error if I increase?
I set it to 100, and 100 books are now indexed – no more. Even If I restart the indexation.
Why aren't the following being sought?