Hi,
had following issue:
Joomla 1.5.26
VM 2.0.20b
Wanted to add a new product category and got following error:
Fatal error: Class 'JLanguageHelper' not found in ...\administrator\components\com_virtuemart\helpers\mediahandler.php on line 1223
...solved it by including "jimport( 'joomla.language.helper' );" within mediahandler.php.
...// select language for image
if (count(vmconfig::get('active_languages'))>1) {
$selectedLangue = explode(",", $this->file_lang);
jimport( 'joomla.language.helper' );
$languages = JLanguageHelper::createLanguageList($selectedLangue, constant('JPATH_SITE'), true);
$html .= '<tr>
<td class="labelcell"><span class="hasTip" title="' . JText::_ ('COM_VIRTUEMART_FILES_FORM_LANGUAGE_TIP') . '">' . JText::_ ('COM_VIRTUEMART_FILES_FORM_LANGUAGE') . '</span></td>
<td><fieldset class="inputbox">'.JHTML::_('select.genericlist', $languages, 'vmlangimg[]', 'size="10" multiple="multiple"', 'value', 'text', $selectedLangue ).'</fieldset></td>
</tr>';
}
...
You guys are doing a great job! Thank you !
Greetz
tomc4t
same issue for 2.1
sover this way.
file: /administrator/components/com_virtuemart/helpers/mediahandler.php
lines 1177 more or less
$checked = 1;
} else {
$checked = 0;
}
jimport( 'joomla.language.helper' ); // add this line to fix !
$html .= '<tr>';
// The following was removed bacause the check box (publish/unpublish) was not functioning...
// $this->media_published = $this->published;
$html .= '<td class="labelcell">
Hello,
i have the same problem: joomla 1.5.26 VirtueMart 2.0.20b and joomfish 2.0.4
If i try to create a new product a have the fatal error:
Fatal error: Class 'JLanguageHelper' not found in /web/htdocs/www.robertaburattini.it/home/tsm/administrator/components/com_virtuemart/helpers/mediahandler.php on line 1223
I tried your solution but nothing changes... have you any idea how to fix this?
Thanks..
same problem. is this fixed in 2.0.22 or is it a joomfish problem?
Please note that support for Joomla 1.5.x was ceased almost a year ago - see here:
http://virtuemart.net/news/list-all-news/426-end-of-life-for-virtuemart-11-heidelpay-now-in-virtuemart-2012
and
http://forum.virtuemart.net/index.php?topic=111753.msg375555#msg375555
When using Joomla 2.5.x, you don't need Joomfish anymore to build a multilingual VM2 shop.