#009410: Wrong Error Code Kernel (1) when DB not available - should be Kernel(50)

Description:

If the Database is not available, ez should be throw a kernel error 50. But it doesn't!

EZ display an Error Kernel(1) with a Warning: Kernel(50).


Environment:

Operating System: winXP64
PHP Version: 4.4.2
Database and version: mysql 3.23


Steps to Reproduce:

- insert wrong db property in site.ini.append.php
- conect to the root of your ez installation e.g. project.example.com


- Attachments
kernel1_whendb_is_not_available.jpg (19.1 kb)
[Download] [Permanent Link]
Screenshot of error message

- Comments

Tested in 3.8.7(stable 3.8, rev 17438)

I've got errors like here:
kernel::50
No database connection could be made, the system might not behave properly.

Error: eZMySQLDB Nov 16 2006 17:10:34
Connection error: 1049: Unknown database 'nextgen'

#250329 by Lenara Anafieva on November 16th, 2006 [Permanent Link]

i get the same error as you!

but the message kernel 50.... is not the error its only a warning have a look in index.php - the warning kernel 50 is displayed and a kernel 1 error is thrown.

#250357 by Felix Woldt on November 17th, 2006 [Permanent Link]

Duplicate of #15070.

#264483 by Bertrand Dunogier on January 30th, 2010 [Permanent Link]

- History
Properties
Type Bug
Priority Medium
Component Misc
Affects 3.8.5
Fix Version Future
Reporter Felix Woldt
Responsible -
Status 0 Closed
Resolution Duplicate
Created November 13th, 2006
Updated January 30th, 2010
Resolved January 30th, 2010
 
Navigation [Permanent Link]
Previous Issue
Back to Issues List
Next Issue: #019127
  DB Deadlocks on ezcontentobject_tree when updating subnode