php - Controller can't find requested when calling a standard action in Yii 1.x -


While trying to execute a standard Yii action, I am getting an exception, that the HotelController Can not find the requested view hotellist

My Controller Code (Important part):

  class extends Hotel Controller {public $ defaultAction = 'HotelList'; Public Function ActionHotel List () {$ Models = New HotelRev; $ This- & gt; Render ('Hotlist', array ('model' =>);); }}   

Am I doing wrong or wrong? I got the problem - The first letter of the directory created in the protected / view is a capital letter (on Linux system).

If view / hotels make them view / hotels

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -