Error With Tbgridview (Using Yiistrap)


I begin with Yii, I tried to add Yiistrap extension following the configuration on yiistrap site.

I have an error using the widget bootstrap.widgets.TbGridView

PHP warning

include(TbDataColumn.php): failed to open stream: No such file or directory



In the config/main.php I have add TbArray and TbWidget:

// autoloading model and component classes








I use other yiistrap widgets like TbListView, TbNavbar or TbNav without any problem.

Apache can read this file (TbDataColumn.php) so it isn’t a permission’s issue.

I searched with google for people with the same problem but I found nothing.

Any idea what the problem can be?

(sorry for my poor english, it isn’t my native language)

I have just run into the same problem and I believe this is a bug with Yii 1.1.14 and Yiistrap. It worked fine with 1.1.12.

I will let you know in case I find a solution, or anybody else here in the forums…

solution is:



in the ‘import’ array in config/main.php


Thank for the answer.

It’s weird the other day I tried to add in the import array:


That doesn’t work, but using your syntax this work.

Thanks a lot.