#257 Fatal error when searching a whole database

3.4.0
open-accepted
Jakub Vrána
Common (150)
5
2013-04-27
2012-07-05
Ondřej Bouda
No

When working with a Postgres database (version 9.1.4 through PHP extension PgSQL), I used the "Search data in tables" function that searches a given string in all the database tables. Instead of result, I received a fatal error:

Fatal error: Call to a member function fetch_row() on a non-object in C:\prg\php\db\index.php on line 304
Call Stack
# Time Memory Function Location
1 0.0711 5597064 {main}( ) ..\index.php:0
2 0.2222 5710792 search_tables( ) ..\index.php:1597

Adminer version is 3.4.0, operating system Windows 7. Reproduced on PHP 5.3.1 and PHP 5.4.4.

Discussion

  • himdel
    himdel
    2012-08-25

    Does the same thing in 3.5.1 with MySQL but only if the search string contains non-ascii characters .. search for "hrebecna" works fine, search for "hřebečná" fails.

     
  • Jakub Vrána
    Jakub Vrána
    2012-12-12

    • labels: 1629036 --> Common
     
  • Jakub Vrána
    Jakub Vrána
    2012-12-12

    • summary: Fatal error when searching a Postgres database --> Fatal error when searching a whole database
     
  • Jakub Vrána
    Jakub Vrána
    2013-04-27

    • status: open --> open-accepted
     
  • Jakub Vrána
    Jakub Vrána
    2013-05-02

    forum/960418/topic/8033318

     
    Attachments