Tag: phalcon

phalcon Invo用户validation返回recv()失败(104:由对等方重置连接)

在注册页面; 1-点击事件首先去我的用户模型和检查validation` $validator = new Validation(); $validator->add( 'email', new EmailValidator([ 'message' => 'Invalid email given' ])); $validator->add( 'email', new UniquenessValidator([ 'message' => 'Sorry, The email was registered by another user' ])); $validator->add( 'username', new UniquenessValidator([ 'message' => 'Sorry, That username is already taken' ])); // until this point there is no problem but after return […]

Phalcon-compose和Docker Toolboxnetworking服务器没有看到任何文件

我的操作系统是Windows 7,我正在使用Docker Toolbox。 我按照这个教程,但是当我试图打开网页时,我的浏览器说它无法build立连接。 variables.env(其余是默认值): # Application WEB_DOCUMENT_ROOT=/project/public WEB_ALIAS_DOMAIN=localhost APPLICATION_CACHE=/project/cache APPLICATION_LOGS=/project/logs # production | development | staging | testing APPLICATION_ENV=development 主机: # Copyright (c) 1993-2009 Microsoft Corp. # # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. # # This file contains the mappings of IP addresses to host names. Each […]