change layout for certail actions

i have created customer theme for my website with two different layouts main and cart. I need to use layout cart on certain actions and it works fine on my local system. i have used the following code to apply layout cart.

function actionCheckout(){

$this->layout = "cart";


but, when i run the same code on live (Cent OS), it does not work, i means the cart layout does not apply.

Check paths and access.

Check if you have uploaded all the views. When you have specified a theme, Yii first looks for the view in the theme folder and if not found, then will load the default view.

thanks for the response. the issue was with the file name case sensitivity (Cart).