Answer the question
In order to leave comments, you need to log in
Yii how to make cnc?
seven hello. I work with Denver.
When you click on standard links, it gives an error, here's the whole code.
main.php
'urlManager'=>array(
'urlFormat'=>'path',
'showScriptName'=>false,
'rules'=>array(
'<controller:\w+>/<id:\d+>'=>'<controller>/view',
'<controller:\w+>/<action:\w+>/<id:\d+>'=>'<controller>/<action>',
'<controller:\w+>/<action:\w+>'=>'<controller>/<action>',
),
),
RewriteEngine on
# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# otherwise forward it to index.php
RewriteRule . index.php
Answer the question
In order to leave comments, you need to log in
I'm a little tired of writing everywhere, throw away Denver, install Open Server.
I bookmarked an article on which I set up the cnc - www.elisdn.ru/blog/60/seo-service-on-yii2-installi...
Mistake. Writes the wrong url, maybe they meant something else.
I recommend as a worthy analogue to try https://ru.hexlet.io/courses/introduction_to_progr... and other free hexlet courses.
Layout is far from development. Although, through layout you can get there, and many do it. As well as through work as a tester.
And if with English norms, then in general all roads are open, for example:
go.flatironschool.com/free-coding-course
www.hackreactor.com/prep-programs
Well, freecodecamp is also quite possible to try. But, why I advise you to try the hexlet - this is a very high level, and they give exactly the fundamental base. You will definitely find a job after him. Unless of course there is a head on his shoulders. and programming will be interesting to you. And certificates are complete nonsense. Well, almost complete. Nobody wants them...
About geek brains ... I will not say anything. just read reviews :D
the best way for a beginner -
after studying js css html and a little php - make a graduation project for example forum blog chat cms
without using someone else's code and ready-made templates
you should be able to program simple things yourself
after that, enlightenment necessarily comes,
then you can study standard frameworks if you want to be a standard worker,
or create your own work template and do as you like
I would recommend the htmlacademy courses. I passed less than a year ago, now I work as a developer, mainly doing layout. The base will be given, and you will understand the rest only in the process of work. They cost a penny, many lessons are free. Good luck!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question