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

Errors when using "Search" (on home page, advanced search ok) #111

Closed
pms967 opened this issue Apr 3, 2023 · 2 comments
Closed

Errors when using "Search" (on home page, advanced search ok) #111

pms967 opened this issue Apr 3, 2023 · 2 comments

Comments

@pms967
Copy link

pms967 commented Apr 3, 2023

Whenever anyone use the “Search for” function in the DocDB home page, the following error messages appear on my logs:

AH01215: DBD::mysql::st execute failed: Illegal argument to a regular expression. at /var/www/docdb/cgi.pro/Search.pm line 287.: /var/www/docdb/cgi/Search, referer: /ddbcgi/DocumentDatabase

AH01215: DBD::mysql::st bind_columns failed: Statement has no result columns to bind (perhaps you need to successfully call execute first, or again) at /var/www/docdb/cgi.pro/Search.pm line 288.: /var/www/docdb/cgi/Search, referer: /ddbcgi/DocumentDatabase

AH01215: DBD::mysql::st fetch failed: fetch() without execute() at /var/www/docdb/cgi.pro/Search.pm line 292.: /var/www/docdb/cgi/Search, referer: /ddbcgi/DocumentDatabase

AH01215: DBD::mysql::st execute failed: Illegal argument to a regular expression. at /var/www/docdb/cgi.pro/Search.pm line 380.: /var/www/docdb/cgi/Search, referer: /ddbcgi/DocumentDatabase

AH01215: DBD::mysql::st bind_columns failed: Statement has no result columns to bind (perhaps you need to successfully call execute first, or again) at /var/www/docdb/cgi.pro/Search.pm line 381.: /var/www/docdb/cgi/Search, referer: /ddbcgi/DocumentDatabase

AH01215: DBD::mysql::st fetch failed: fetch() without execute() at /var/www/docdb/cgi.pro/Search.pm line 385.: /var/www/docdb/cgi/Search, referer: /ddbcgi/DocumentDatabase

--
Moreover, some search terms produces no results (although they are present in several documents).

Can anyone help me debug this problem? Thanks.

DocDB is ~= 8.8.8 (with a few fix), running on Apache. Base system is Ubuntu 22.04 LTS (Apache, Perl, MySQL, etc all defaults from system deb packages).

@pms967
Copy link
Author

pms967 commented Aug 18, 2023

Update: the problem remains exactly the same after upgrading to DocDB 8.8.9

(again with some fixes to deal with the newer versions of Perl (5.34) and related libraries... but evidently some more fixes are needed).

@pms967
Copy link
Author

pms967 commented Aug 19, 2023

Fixed (on my copy), see Issue #114

@pms967 pms967 closed this as completed Aug 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant