#132 Database permissions wrong: segmentation fault

OPT_1.X_(Max)
open
None
5
2006-03-02
2006-03-02
Martin Vernooij
No

When installing (well actually restoring from backup)
an OPT installation and the user permissions are not
set correctly, OPT will die with a segmentation fault.
This is caused by the error handler, which keeps on
trying to connect to the database, while a connection
cannot be made.

In my case, I didn't grant the opt_user access to my
database, so I couldn't start OPT at all. All I got was
an apache segfault.

The error routine needs to be fixed, or the check for
database access needs to be extended.

function CRM_query_error($err_msg) in include/general.php

Discussion