O
O
Oleg Volodin2014-07-18 09:37:07
PHP
Oleg Volodin, 2014-07-18 09:37:07

PDO Firebird. What is causing the 324 error?

Good afternoon, I faced such a problem.
When executing a stored procedure via PDO:

$stmt = $dbc->prepare("EXECUTE PROCEDURE P_USERS_UPDATE (?, ?)");
$stmt->execute(array("1", "test_value"));

When this procedure is performed, an error 324(ERR_EMPTY_RESPONSE) flies to the browser . With what it can be connected? Moreover, the browser does not display any exceptions and errors, althougherror_reporting(E_ALL);

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
FanatPHP, 2014-07-18
@tratotui

Two misconceptions:
First, error_reporting has nothing to do with browser output. The display_errors directive is responsible for output
. Second, error_reporting has nothing to do with PDO exceptions. In order for this class to throw exceptions, you need to specifically tell it about this, phpfaq.ru/pdo#connect

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question