Hello,
I installed the Vokuro example on my machine and tried to run it. Installed all the requirements using Composer. At first everything seems ok, but when I try to create an account (Sign Up
) the app just stops and the server returns an ERR_CONNECTION_RESET.
I tried to debug it but I think this is a problem inside the C code, and here's why:
-
Scenario 1 - With XDebug DISABLED I try to Create an Account and I get the ERR_CONNECTION_RESET error.
-
Scenario 2 - Using XDebug WITHOUT PROFILING I get until this point while doing a remote debug: (SessionContrller.php Line 50 https://github.com/phalcon/vokuro/blob/master/app/controllers/SessionController.php#L50 )
if ($user->save()) {
-> is called Then (Users.php Line 129 https://github.com/phalcon/vokuro/blob/master/app/models/Users.php#L129 ) afterreturn $this->validationHasFailed() != true;
is called and validates successfully the application returns the error ERR_CONNECTION_RESET to the browser. Sometimes the SessionController::signupAction() gets called several times, I have no idea why. -
Scenario 3 - Using XDebug with PROFILING ENABLED and no remote debug everything works just fine.
- Scenario 4 - Using XDebug with PROFILING ENABLED and debugging the same thing as Scenario 2 occurs.
Any help? Is there any 'debug version' that would provide me more accurate logs? Is there any way to debug it?
I'm using Windows 7 x64, PHP Version 5.3.10, Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.10 mod_perl/2.0.4 Perl/v5.10.1, Phalcon 1.3.1
If needed I could provide the profiliing generated by Scenario 3.