hi,
i git clone invo to learn phalcon.
i follow invo's Get Started
create db and tables
my apache vhosts:
<VirtualHost *:8080>
ServerName invo.dev
DocumentRoot "/Users/xujiajun/myPlayground/phalcon-demo/invo"
<Directory "/Users/xujiajun/myPlayground/phalcon-demo/invo">
DirectoryIndex index.php
Options All
AllowOverride All
allow from all
</Directory>
ErrorLog "/private/var/log/apache2/invo-phalcon.dev.error_log"
CustomLog "/private/var/log/apache2/invo-phalcon.dev.access_log" common
</VirtualHost>
change config.ini
[database]
adapter = Mysql
host = 127.0.0.1
username = root
password = 123
name = invo
[application]
controllersDir = app/controllers/
modelsDir = app/models/
viewsDir = app/views/
pluginsDir = app/plugins/
formsDir = app/forms/
libraryDir = app/library/
baseUri = /
then visit it https://invo.dev:8080 its works!
but when i visit https://invo.dev:8080/register and submit infomation。it not work.
show message:
Internal Error Something went wrong, if the error continue please contact us
i try to see the error.log for help.but no error loged about this.
i try to debug registerController indexAction ,debug this step error has happen
public function indexAction()
{
$form = new RegisterForm;
if ($this->request->isPost()) {
$name = $this->request->getPost('name', array('string', 'striptags'));
var_dump($name);exit(); //debug this step error has happen
who can give me some help, Thanks :)