I am getting this
CException
EThumbnail and its behaviors do not have a method or closure named "create". (C:\wamp\www\yii\framework\base\CComponent.php:265)
#0 C:\wamp\www\vivienda\protected\controllers\OpViviendasController.php(303): CComponent->__call('create', Array)
#1 C:\wamp\www\vivienda\protected\controllers\OpViviendasController.php(303): EThumbnail->create('C:\wamp\www\viv...')
#2 C:\wamp\www\yii\framework\web\actions\CInlineAction.php(49): OpViviendasController->actionUploadfoto()
#3 C:\wamp\www\yii\framework\web\CController.php(308): CInlineAction->runWithParams(Array)
#4 C:\wamp\www\yii\framework\web\filters\CFilterChain.php(133): CController->runAction(Object(CInlineAction))
#5 C:\wamp\www\yii\framework\web\filters\CFilter.php(40): CFilterChain->run()
#6 C:\wamp\www\yii\framework\web\CController.php(1145): CFilter->filter(Object(CFilterChain))
#7 C:\wamp\www\yii\framework\web\filters\CInlineFilter.php(58): CController->filterAccessControl(Object(CFilterChain))
#8 C:\wamp\www\yii\framework\web\filters\CFilterChain.php(130): CInlineFilter->filter(Object(CFilterChain))
#9 C:\wamp\www\yii\framework\web\CController.php(291): CFilterChain->run()
#10 C:\wamp\www\yii\framework\web\CController.php(265): CController->runActionWithFilters(Object(CInlineAction), Array)
#11 C:\wamp\www\yii\framework\web\CWebApplication.php(282): CController->run('uploadfoto')
#12 C:\wamp\www\yii\framework\web\CWebApplication.php(141): CWebApplication->runController('opViviendas/upl...')
#13 C:\wamp\www\yii\framework\base\CApplication.php(169): CWebApplication->processRequest()
#14 C:\wamp\www\vivienda\index.php(13): CApplication->run()
#15 {main}the main...
'components' => array(
'phpThumb' => array(
'class' => 'ext.EPhpThumb.EPhpThumb',
// 'options'=>array(optional phpThumb specific options are added here)
),the controller...
$thumb = Yii::app()->phpThumb->create($folder . $result['filename']);
$thumb->create($folder . $result['filename']);
$thumb->resize(100, 100);
$thumb->save($folder . "thumb\\" . $result['filename']);
Ive tried everything, I am pretty sure is something easy to solve but I cant just figure it out yet.
Thanks.
pd.
I am using WAMP 2.2 PHP 5.4.3 Apache 2.4.2
gd GD Support enabled GD Version bundled (2.0.34 compatible) FreeType Support enabled FreeType Linkage with freetype FreeType Version 2.4.6 T1Lib Support enabled GIF Read Support enabled GIF Create Support enabled JPEG Support enabled libJPEG Version 6b PNG Support enabled libPNG Version 1.2.46 WBMP Support enabled XBM Support enabled

Help















