Hi!
My english is not very good, because I'm from Hungary.
I'd like to create a new module for Joomla 1.5, Virtuemart, which is syncronize prices from an Excel file.
The PHP code is generate this error:
Fatal error: Class 'JArrayHelper' not found in /var/www/[domain]/libraries/joomla/document/html/html.php on line 126
Our code is call a function. The function call is correct, we checked it. There is a require_once() in the function, which create the error. The require_once( $mosConfig_absolute_path . '/includes/PHPExcel/PHPExcel.php'); path is corrent, and the PHPExcel.php file is exist and this file's PHP code is correct.
Code:
function prices_sync($act_file_path, $website, $act_db, $act_shopper_groups){
   global $mosConfig_absolute_path, $db;
   require_once( $mosConfig_absolute_path . '/includes/PHPExcel/PHPExcel.php');
   $objReader = new PHPExcel_Reader_Excel5();
   $objReader->setReadDataOnly(true);
   $objPHPExcel = $objReader->load( $act_file_path );
   $rowIterator = $objPHPExcel->getActiveSheet()->getRowIterator();
   $sheet = $objPHPExcel->getActiveSheet();
   $shopper_groups = null;

   return true;
}
Please help!
Thanks!