In phalcon basic tutorial signup form example, i can fetch data from db so "List the Registered Users" worked, but i cant save any data in non-blank register form .when i disable "notNullValidation" and fields nullable in db table, result is empty rows in database.These empty rows can be listed.
Values cant pass controller to model.It's not a custom code, generated by phalcon devtools or project folder created manually.Every time i get same error below.
E:\xampp\php\php.exe E:\xampp\htdocs\basic\public\index.php
Notice: Undefined index: REQUEST_URI in E:\xampp\htdocs\basic\app\config\router.php on line 7
Call Stack: 0.0005 401000 1. {main}() E:\xampp\htdocs\basic\public\index.php:0 0.0009 411224 2. include('E:\xampp\htdocs\basic\app\config\router.php') E:\xampp\htdocs\basic\public\index.php:26
Fatal error: Uncaught TypeError: Argument 1 passed to Phalcon\Mvc\Router::handle() must be of the type string, null given in E:\xampp\htdocs\basic\app\config\router.php on line 7
TypeError: Argument 1 passed to Phalcon\Mvc\Router::handle() must be of the type string, null given in E:\xampp\htdocs\basic\app\config\router.php on line 7
Call Stack: 0.0005 401000 1. {main}() E:\xampp\htdocs\basic\public\index.php:0 0.0009 411224 2. include('E:\xampp\htdocs\basic\app\config\router.php') E:\xampp\htdocs\basic\public\index.php:26
PHP Notice: Undefined index: REQUEST_URI in E:\xampp\htdocs\basic\app\config\router.php on line 7 PHP Stack trace: PHP 1. {main}() E:\xampp\htdocs\basic\public\index.php:0 PHP 2. include() E:\xampp\htdocs\basic\public\index.php:26 PHP Fatal error: Uncaught TypeError: Argument 1 passed to Phalcon\Mvc\Router::handle() must be of the type string, null given in E:\xampp\htdocs\basic\app\config\router.php:7 Stack trace:
0 E:\xampp\htdocs\basic\app\config\router.php(7): Phalcon\Mvc\Router->handle(NULL)
1 E:\xampp\htdocs\basic\public\index.php(26): include('E:\xampp\htdocs...')
2 {main}
thrown in E:\xampp\htdocs\basic\app\config\router.php on line 7