Tested on OpenServer under win. After copying to Linux server I get 404 error. The controller is easy to pain

public function actionIndex() { $this->render('index'); } 

    1 answer 1

    to grow stupid the server did not understand the register. that is, if the folder with the view is called the viewFolder, then if you refer to the viewfolder / he said that there is no such file. as far as I understand it on the server you need to edit

    • one
      hmm, what is different in linux files register, for you news? Why are you switching to Linux then? - vkovalchuk88
    • “as far as I understand this on the server you need to edit” - one can only wish good luck in this endeavor - etki