Dolibarr / dolibarr

Dolibarr ERP CRM is a modern software package to manage your company or foundation's activity (contacts, suppliers, invoices, orders, stocks, agenda, accounting, ...). it's an open source Web application (written in PHP) designed for businesses of any sizes, foundations and freelancers.
https://www.dolibarr.org
GNU General Public License v3.0
5.53k stars 2.81k forks source link

Doxygen not working #28960

Open aluquerivas-dev opened 8 months ago

aluquerivas-dev commented 8 months ago

Bug

Unable to search using doxygen finder at https://doxygen.dolibarr.org, server error 500.

Dolibarr Version

No response

Environment PHP

No response

Environment Database

No response

Steps to reproduce the behavior and expected behavior

Use search input on https://doxygen.dolibarr.org of any version of Dolibarr

Attached files

Sin título

aluquerivas-dev commented 8 months ago

Anything?

clementgde commented 8 months ago

I must admit it's a bit annoying, as I used to use it a lot. Maybe it'll be fixed soon with the V19 documentation.

clementgde commented 6 months ago

Still no solution? How does it work? Who manages it?

sonikf commented 4 months ago

@eldy

https://github.com/Dolibarr/dolibarr/blob/c8fb079893a1cb9e60863c322eaa60275a4fc3f3/build/doxygen/dolibarr-doxygen.doxyfile#L1085-L1103

According to doxygen "Searching" documentation for search to work another parameter has to be set. Either EXTERNAL_SEARCH = NO for server side searching or EXTERNAL_SEARCH = YES for server side searching with external indexing Can you please test this?

eldy commented 4 months ago

Bug seems to be in the code generated by doxygen to manage the search. With previous version, the bug of a compatibility pb with php 8.1. I have upgrade doxygen and now the seach files just fails with no error.

sonikf commented 4 months ago

Thanks for taking the time. Can you provide some info to open an issue in their github? Any thoughts on read the docs?

aluquerivas-dev commented 4 months ago

Parece que el error está en el código generado por doxygen para gestionar la búsqueda. Con la versión anterior, el error era de compatibilidad con PHP 8.1. He actualizado doxygen y ahora la búsqueda de archivos simplemente falla sin ningún error.

I am using the website https://doxygen.dolibarr.org/ and under no version is it currently working.