cphalcon
cphalcon copied to clipboard
[2.0.x] Model->save() outputs array (Maybe dev debug output?)
Hey, to reproduce this, just clone tutorial from https://github.com/phalcon/tutorial.git
In index.php disable view:
...
// Handle the request
$application = new Application($di);
$application->useImplicitView(false);
...
In IndexControler IndexAction do:
$user = new Users;
$user->save(['name' => 'michi', 'email' => '[email protected]']);
Open in the web browser and you will see a blank page with output:
Array
(
)
Are you compiling from ext/ or build/?
From /build
Sent from my iPhone
On Jun 9, 2015, at 0:07, Andres Gutierrez [email protected] wrote:
Are you compiling from ext/ or build/?
— Reply to this email directly or view it on GitHub.
Can you compile please from ext/?
Compiled from ext/ and there is no debug output anymore!