News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

Main Menu
Support-Forum

Critical Error 0 on short search queries (e.g. "U2") in v4.1.2

Started by musicasampler, 13.04.2026 02:34:27

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

musicasampler

I am experiencing a "Error 0" when searching for short terms (2 characters) like "U2" using the jDownloads search function. Instead of showing "No results" or a length warning, the system triggers a fatal error.Steps to reproduce:Go to the jDownloads search page: index.php?option=com_jdownloads&view=searchEnter a 2-character keyword (e.g., "U2").Click "Search".The page returns a "Error 0".Expected behavior:The component should handle short strings gracefully without crashing, or provide a validation message if the database limit (ft_min_word_len) is not met.Additional Context:The issue occurs specifically when using the jDownloads search view. It seems to be a failure in handling empty results or SQL minimum length requirements within the component's search controller.Request:Is there a specific configuration or a code fix to prevent this Error 0 in the current stable version?

  •  

Arno

Thanks for reporting the bug. It's been fixed in 4.1.3. The limit has also been reduced from 3 characters to 2.
I'll send you a pre-release version via PM for you to test.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!

musicasampler

It seems perfect to me if you send me that version via private message so I can test it on the test site.
  •  

musicasampler

I have just installed the v4.1.3 Stable on my production site (musicasampler.com) and it works perfectly! The "Critical Error 0" is completely gone. Now searching for short terms like "U2" or names with numbers like "La 33" works flawlessly and shows all the results without any issues.

Thank you very much for the quick fix!

Best regards,
MUSICASAMPLER
  •  
    The following users thanked this post: Arno