Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Searching for Solution_Id's #2543

Closed
MathiasClarity opened this issue Jul 11, 2023 · 5 comments
Closed

Searching for Solution_Id's #2543

MathiasClarity opened this issue Jul 11, 2023 · 5 comments
Assignees
Labels
Milestone

Comments

@MathiasClarity
Copy link

Describe the bug
Ich hoffe jemand hat eine Idee, ich kenne den Source nicht so gut, und xDebug Support habe ich leider nicht.
Wir haben unsere alte FAQ auf phpMyFAQ übertragen, es gibt auch einen internen Bereich, nur für Mitarbeiter.
Dort wird sehr häufig nach der "Solution_Id" gesucht.

Ich habe nun einige Tests durchgeführt. Und es scheint man kann nicht nach der "Solution_Id" suchen.

Genauere Sichtung:
Fange SQL Query ab und zeige die Query an:
grafik

Führe eine Suchanfrage über "Solution_Id" im Frontend durch:
grafik

Abfeuern der Query direkt in der Datenbank:
grafik

To Reproduce
Steps to reproduce the behavior:
Please use the default search inputbox and typing in only your solution_id and click on the search glasses

Expected behavior
the record is exists in the db, but the FAQ frontend say, no records found

phpMyFAQ (please complete the following information):

  • phpMyFAQ version -> 3.15 (plan A, was go directly to version 3.2.x, but this version works very slowly, and we have to many content in the FAQ)
  • PHP version -> 8.2
  • Database -> 10.5.19-MariaDB-0+deb11u2
  • Elasticsearch yes/no -> no (leider habe ich keine Root-Rechte auf dem Server, und kann "Elasticsearch" auf der Serverseite nicht aktivieren, und auch den Datenport 9200 kann ich wahrscheinlich nicht öffnen.
  • Server, Managend Hetzner Server

Desktop (please complete the following information):

  • OS: [e.g. iOS] -> Win 10 Enterprise
  • Browser [e.g. chrome, safari] -> Firefox, lasted version

Additional context
We now wanted to go online with the FAQ so that we can use it. It would be nice if we could use the new FAQ as it is much better than the old one.

Maybe someone has an idea how I can implement a HotFix.
I don't know where to start exactly.
I could maybe also introduce a second input for Solution ID. Maybe someone has a code sample for this.

Liebe Grüße von Mathias.

@thorsten thorsten self-assigned this Jul 11, 2023
@thorsten thorsten added the Bug label Jul 11, 2023
@MathiasClarity
Copy link
Author

I forgot an important piece of information, the option search for "Solution ID" is activated in the settings in any case.

@MathiasClarity
Copy link
Author

Wäre ein guter Ansatz für eine Debug Session:
grafik

@thorsten
Copy link
Owner

I found the stupid error, a "return" was missing.

@thorsten thorsten added this to the 3.1.16 milestone Jul 12, 2023
@MathiasClarity
Copy link
Author

oh cool :)

@MathiasClarity
Copy link
Author

I didn't notice the missing "return" either, it was well hidden :)

Thank you very much for your good eyes :) 🥇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
Development

No branches or pull requests

2 participants