Problem with YouTube Uploader
Posted: 04 Mar 2012, 00:21
Jan,
Thank you for making such a great component! Phoca Gallery is so easy to use and customize.
The front end photo uploader works great. Unfortunately, I am having a problem with the front end youtube uploader. I'm using Phoca Gallery 3.1.5 and Joomla 1.7.
When I try to upload a youtube link, I receive the following error message:
Fatal error: Class 'JClientHelper' not found in /home/content/61/8772361/html/components/com_phocagallery/controllers/category.php on line 442
which looks like this:
function ytbupload() {
//jimport('joomla.client.helper');
$app = JFactory::getApplication();
$ftp = JClientHelper::setCredentialsFromRequest('ftp');
$user = JFactory::getUser();
$path = PhocaGalleryPath::getPath();
//$folder = JRequest::getVar( 'folder', '', '', 'path' );
$tab = JRequest::getVar( 'tab', 0, '', 'int' );
$format = JRequest::getVar( 'format', 'html', '', 'cmd');
$return = JRequest::getVar( 'return-url', null, 'post', 'base64' );
$viewBack = JRequest::getVar( 'viewback', '', '', '' );
$catid = JRequest::getVar( 'id', '', 'get', 'string', JREQUEST_NOTRIM );
$Itemid = JRequest::getVar( 'Itemid', 0, '', 'int');
$paramsC = JComponentHelper::getParams('com_phocagallery') ;
$limitStart = JRequest::getVar( 'limitstart', 0, '', 'int');
I have looked through the forums and I am not really sure how to fix it. Any help you can give would be most appreciated.
Thank you for your time,
Meg
Thank you for making such a great component! Phoca Gallery is so easy to use and customize.
The front end photo uploader works great. Unfortunately, I am having a problem with the front end youtube uploader. I'm using Phoca Gallery 3.1.5 and Joomla 1.7.
When I try to upload a youtube link, I receive the following error message:
Fatal error: Class 'JClientHelper' not found in /home/content/61/8772361/html/components/com_phocagallery/controllers/category.php on line 442
which looks like this:
function ytbupload() {
//jimport('joomla.client.helper');
$app = JFactory::getApplication();
$ftp = JClientHelper::setCredentialsFromRequest('ftp');
$user = JFactory::getUser();
$path = PhocaGalleryPath::getPath();
//$folder = JRequest::getVar( 'folder', '', '', 'path' );
$tab = JRequest::getVar( 'tab', 0, '', 'int' );
$format = JRequest::getVar( 'format', 'html', '', 'cmd');
$return = JRequest::getVar( 'return-url', null, 'post', 'base64' );
$viewBack = JRequest::getVar( 'viewback', '', '', '' );
$catid = JRequest::getVar( 'id', '', 'get', 'string', JREQUEST_NOTRIM );
$Itemid = JRequest::getVar( 'Itemid', 0, '', 'int');
$paramsC = JComponentHelper::getParams('com_phocagallery') ;
$limitStart = JRequest::getVar( 'limitstart', 0, '', 'int');
I have looked through the forums and I am not really sure how to fix it. Any help you can give would be most appreciated.
Thank you for your time,
Meg