Database Query Error

Issue #119 new
Cedric Charrier created an issue


I know it is a concern that many people have, but I do not find the solution, I 've tried several but it does not work.

Database Query Error - You've Probably Found a Bug Wrong number of result rows: expected 1, got 0

Please give all the information on this page to your support personnel.

Query SELECT * FROM settings failed. The DBMS said this:

No DBMS Error

Debug Backtrace (most recent call first):

/var/www/vhosts/ FatalHandler->printBackTrace() /var/www/vhosts/ FatalHandler->dbError('SELECT * FROM settings ', 'Wrong number of result rows: expected 1, got 0', 'No DBMS Error') /var/www/vhosts/ Fatal->dbError('SELECT * FROM settings ', 'Wrong number of result rows: expected 1, got 0', 'No DBMS Error') /var/www/vhosts/ Query->select1('SELECT * FROM settings ') /var/www/vhosts/ InstallQuery->_getSettings('') /var/www/vhosts/ InstallQuery->getCurrentDatabaseVersion()

best regards


Comments (3)

  1. Hans van der Weij

    If this is for a new install: open the file install_instructions.html in your web browser Start reading at step 5 of the install instructions and create the MySQL database that OpenBiblio needs. Proceed with the next steps, skip step 8 and continue with step 9.

    If it's not for a new install than you'll have to provide more information.

  2. Hans van der Weij

    There might be a different cause. Did you add the French translation before installing? It looks like the version that was posted by a user in 2007 has an issue: there are no SQL files included. You might be able to work around this by executing install in English and switch to French later using the settings tab when you are logged in as admin.

  3. Cedric Charrier reporter

    Yes I first install the French version I'll try without. Otherwise I will base any new data. I test without French

  4. Log in to comment