Open joanlaga opened 7 years ago
posible soluccion, en la carpeta classes archivo BiblioSearchQuery.php añadir antes de linea 87
if($words == ''){ //mod 2017 2 mar añadido para evitar error en menu de Eliminar Bibliografías por lotes $words =array('keyword_type_1' => 'title'); }//mod 2017 2 mar
$words = array_unique(unserialize(strtolower(serialize($words))));
Warning: array_unique() expects parameter 1 to be array, string given in /var/www/html/espa/classes/BiblioSearchQuery.php on line 83 Call Stack
Time Memory Function Location
1 0.0001 230576 {main}( ) .../biblio_bulk_delete.php:0 2 0.0126 808480 BiblioSearchQuery->search( ) .../biblio_bulk_delete.php:61 3 0.0126 808992 array_unique ( ) .../BiblioSearchQuery.php:83
( ! ) Deprecated: Non-static method Fatal::dbError() should not be called statically, assuming $this from incompatible context in /var/www/html/espa/classes/Query.php on line 98 Call Stack
Time Memory Function Location
1 0.0001 230576 {main}( ) .../biblio_bulk_delete.php:0 2 0.0126 808480 BiblioSearchQuery->search( ) .../biblio_bulk_delete.php:61 3 0.0130 809928 Query->_query( ) .../BiblioSearchQuery.php:210 4 0.0130 810032 Query->_act( ) .../Query.php:327 Database Query Error - You've Probably Found a Bug
Database query failed (1054) Please give all the information on this page to your support personnel.
Query SELECT COUNT(DISTINCT(biblio.bibid)) AS rowcount FROM biblio LEFT join biblio_copy ON biblio_field.bibid=biblio.bibid failed. The DBMS said this:
Unknown column 'biblio_field.bibid' in 'on clause' Debug Backtrace (most recent call first): /var/www/html/espa/classes/Error.php:140 FatalHandler->printBackTrace() /var/www/html/espa/classes/Error.php:108 FatalHandler->dbError('SELECT COUNT(DISTINCT(biblio.bibid)) AS rowcount FROM biblio LEFT join biblio_copy ON biblio_field.bibid=biblio.bibid ', 'Database query failed (1054)', 'Unknown column \'biblio_field.bibid\' in \'on clause\'') /var/www/html/espa/classes/Query.php:98 Fatal->dbError('SELECT COUNT(DISTINCT(biblio.bibid)) AS rowcount FROM biblio LEFT join biblio_copy ON biblio_field.bibid=biblio.bibid ', 'Database query failed (1054)', 'Unknown column \'biblio_field.bibid\' in \'on clause\'') /var/www/html/espa/classes/Query.php:327 Query->_act('SELECT COUNT(DISTINCT(biblio.bibid)) AS rowcount FROM biblio LEFT join biblio_copy ON biblio_field.bibid=biblio.bibid ') /var/www/html/espa/classes/BiblioSearchQuery.php:210 Query->_query('SELECT COUNT(DISTINCT(biblio.bibid)) AS rowcount FROM biblio LEFT join biblio_copy ON biblio_field.bibid=biblio.bibid ', 'Error al contar los resultados de búsqueda bibliográfica.') /var/www/html/espa/catalog/biblio_bulk_delete.php:61 BiblioSearchQuery->search('title', NULL, 1, 'title', false)