I installed version 4.0.2 on a new joomla-installation - version 3.1.5 stable
Everytime I´m using the youtube import function I´m getting the following error-message:
Fatal error: Class 'JFile' not found in /www/htdocs/w010b81a/core/administrator/components/com_phocagallery/libraries/phocagallery/youtube/youtube.php on line 124
Already tried to uninstall and reinstall the component, but without any change. Can you please help me? Many thanky in advance!
Best regards
Stefan
here is my youtube.php file, starting with line 124:
Code: Select all
if (JFile::exists(JPATH_ROOT . DS . 'images' . DS . 'phocagallery' . DS . $ytb['filename'], $img)) {
$errorMsg = JText::_('COM_PHOCAGALLERY_YTB_ERROR_VIDEO_EXISTS');
return false;
}
if (!JFile::write(JPATH_ROOT . DS . 'images' . DS . 'phocagallery' . DS . $ytb['filename'], $img)) {
$errorMsg = JText::_('COM_PHOCAGALLERY_YTB_ERROR_WRITE_IMAGE');
return false;
}
