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

using providence develop branch database, pawtucket search gives ca_search_log foreign key constraint failure #29

Closed
0nobody0 opened this issue Oct 6, 2021 · 5 comments

Comments

@0nobody0
Copy link

0nobody0 commented Oct 6, 2021

using providence develop branch database, searching for any term in pawtucket, or clicking a collection hierarchy link for an object results in:

Cannot add or update a child row: a foreign key constraint fails (`providencedev`.`ca_search_log`, CONSTRAINT `fk_ca_search_log_user_id` FOREIGN KEY (`user_id`) REFERENCES `ca_users` (`user_id`)) in /usr/share/nginx/html/pawtucket/app/lib/Db/mysqli.php line 316:

Warning: join(): Invalid arguments passed in /usr/share/nginx/html/pawtucket/themes/default/views/system/fatal_error_html.php on line 52
In Db_mysqli->execute() in DbStatement line 151

Warning: join(): Invalid arguments passed in /usr/share/nginx/html/pawtucket/themes/default/views/system/fatal_error_html.php on line 52
At DbStatement->executeWithParamsAsArray() in Db line 261

Warning: join(): Invalid arguments passed in /usr/share/nginx/html/pawtucket/themes/default/views/system/fatal_error_html.php on line 52
At Db->query() in Searchlog line 58

Warning: join(): Invalid arguments passed in /usr/share/nginx/html/pawtucket/themes/default/views/system/fatal_error_html.php on line 52
At Searchlog->log() in SearchEngine line 373

Warning: join(): Invalid arguments passed in /usr/share/nginx/html/pawtucket/themes/default/views/system/fatal_error_html.php on line 52
At SearchEngine->doSearch() in CollectionSearch line 50

Warning: join(): Invalid arguments passed in /usr/share/nginx/html/pawtucket/themes/default/views/system/fatal_error_html.php on line 52
At CollectionSearch->search() in searchHelpers line 449

Warning: join(): Invalid arguments passed in /usr/share/nginx/html/pawtucket/themes/default/views/system/fatal_error_html.php on line 52
At caPuppySearch() in BaseMultiSearchController line 104

Warning: join(): Invalid arguments passed in /usr/share/nginx/html/pawtucket/themes/default/views/system/fatal_error_html.php on line 52
At BaseMultiSearchController->Index() in MultiSearchController line 59

Warning: join(): Invalid arguments passed in /usr/share/nginx/html/pawtucket/themes/default/views/system/fatal_error_html.php on line 52
At MultiSearchController->Index() in RequestDispatcher line 273

Warning: join(): Invalid arguments passed in /usr/share/nginx/html/pawtucket/themes/default/views/system/fatal_error_html.php on line 52
At RequestDispatcher->dispatch() in AppController line 113

Warning: join(): Invalid arguments passed in /usr/share/nginx/html/pawtucket/themes/default/views/system/fatal_error_html.php on line 52
At AppController->dispatch() in index line 124
@0nobody0
Copy link
Author

0nobody0 commented Oct 6, 2021

originally occurred using pawtucket2 master branch - same issue seems to occur testing the pawtucket2 develop branch as well

@juliaweist
Copy link
Contributor

juliaweist commented Oct 6, 2021 via email

@0nobody0
Copy link
Author

0nobody0 commented Oct 6, 2021

10.5.12-MariaDB

collectiveaccess added a commit that referenced this issue Oct 8, 2021
@collectiveaccess
Copy link
Owner

Just pushed a fix to develop

@0nobody0
Copy link
Author

0nobody0 commented Oct 9, 2021

thank you, that seemed to do the trick

@0nobody0 0nobody0 closed this as completed Oct 9, 2021
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

3 participants