Open dilip-nimble opened 7 years ago
I am facing this problem. Please someone help me.
Zend Version: 1.12
I have placed PolyCast Folder in my Library Folder and have written my code like this
public function addAction()
{
$form = new Form_Category();
if ($this->_request->isPost() && $form->isValid($this->_request->getPost())) {
//print_r($_FILES); die;
require_once 'Polycast/Filter/ImageSize.php';
require_once 'Polycast/Filter/ImageSize/Strategy/Crop.php';
require_once 'Polycast/Filter/ImageSize/PathBuilder/Standard.php';
$filter = new Polycast_Filter_ImageSize();
$filter->getConfig()
->setHeight(100)
->setWidth(200);
$outputPath = $filter->filter($_FILES['ogimage']['tmp_name']);
$service = new Service_Category();
$service->put($form->getValues());
$this->redirect($this->view->url(array('controller' => 'category', 'action' => 'index', 'updated' => true, 'id' => null), null, true));
}
$this->view->title = 'Add';
$this->view->form = $form;
$this->_helper->layout->setLayout('innerlayout');
}
An error occurred
Application error
Exception information:
Message: Failed to load symbol 'Polycast_Filter_ImageSize_Configuration_Interface'. If this symbol was recently added or moved, your library map may be out of date. You can rebuild the map by running 'arc liberate'. For more information, see: http://www.phabricator.com/docs/phabricator/article/libphutil_Libraries_User_Guide.html
Stack trace:
Request Parameters: