Just contact Phalcon, the first tutorial, create a project, did you get it? Teach Me
Reply to discussion (solution)
You can download a manual at Https://github.com/netstu/phalcondocs
Relatively large, slow, please be patient
Are you looking at your hands? Step by step.
The official GitHub has examples of projects, copy one, copied
I'm running the first tutorial of Phalcon, but it's not going to work out, it's a bit of a hurry, I don't know how to do it.
How did you do it?
Post your directory structure
I do according to the http://docs.phalconphp.com/zh/latest/reference/tutorial.html of the official website, my working directory is/var/ Www/html/tutorial
Directory structure is:
Tutorial
|--app
|--controllers
--indexcontroller.php
|--models
|--views
|--public
--index.php
Description, the contents of two. htaccess files and two. php files are right, this check is many times, the entire tutorial folder has been changed to 777 of the permissions
I entered localhost/tutorial on the browser to return a blank interface.
I modified index.php to
!--? php
echo "Hello, phalcon!"
?>
can display the Hello phalcon! normally.
Can we see what the problem is?
I do according to the http://docs.phalconphp.com/zh/latest/reference/tutorial.html of the official website, my working directory is/var/www/html/tutorial
The directory structure is:
Tutorial
|--app
|--controllers
--indexcontroller.php
|--models
|--views
|--public
--index.php
Description, the contents of two. htaccess files and two. php files are right, this check is many times, the entire tutorial folder has been changed to 777.
I entered localhost/tutorial on the browser to return a blank interface.
I will change index.php to
echo "Hello, phalcon!"
?>
Can normally display Hello, phalcon!
Can we see what the problem is?
How did you do it?
Post your directory structure
Can you take a look?
Bullsoft.org/phalcon-docs/index.html, the younger brother is also learning, just began to see this tutorial, step by step feel like a sample build up no problem. Hope Useful
Well, there's still a problem, and the situation is, follow this document (http://docs.phalconphp.com/zh/latest/reference/tutorial.html) step-by-step.
To the Controller class must have a "controller" suffix, and the controller action must have an "action" suffix. If you access the application from the browser, you should see something like: "When there is no corresponding occurrence of the amount." There's a blank interface.
Bullsoft.org/phalcon-docs/index.html, the younger brother is also learning, just began to see this tutorial, step by step feel like a sample build up no problem. Hope Useful
Thank you, feel good, but the knot affixed, no points to you
Found the problem, the back wrote a ";", thank you for your reply!!!!