Main Menu

Recent posts

#51
Errori (Bugs) / Re: AB 4.0.8 Categry bug on fr...
Last post by RobertG - 14 August 2026, 16:25:43
As for indexing, I ran another search: the query still returns 1 in "protected function getListQuery($query = null)" in finder/abbook/abook.php
#52
Errori (Bugs) / Re: AB 4.0.8 Categry bug on fr...
Last post by RobertG - 14 August 2026, 11:02:57
Hi,

I tested Abook version 4.0.10 on two websites and didn't notice any errors on the frontend, even with PHP 8.5  :)
I haven't checked everything in the admin section yet.
Thank you, Federica!
#53
Errori (Bugs) / Re: AB 4.0.8 Categry bug on fr...
Last post by RobertG - 13 August 2026, 18:50:16
OK, thank you!
#54
Errori (Bugs) / Re: AB 4.0.8 Categry bug on fr...
Last post by federica - 13 August 2026, 18:07:46
I haven't solved the indexing issue yet, I will let you know when I find a solution.
#55
Errori (Bugs) / Re: AB 4.0.8 Categry bug on fr...
Last post by RobertG - 13 August 2026, 15:54:19
Thank you, Federica!
#56
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
#57
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
#58
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?
#59
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.
#60
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. :(