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 My Controller Code (Important part): 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 HotelController Can not find the requested view
hotellist
class extends Hotel Controller {public $ defaultAction = 'HotelList'; Public Function ActionHotel List () {$ Models = New HotelRev; $ This- & gt; Render ('Hotlist', array ('model' =>);); }}
Comments
Post a Comment