Hi, I just installed Mass Import and noticed a few things that may be normal, but I didn't want to continue (maybe I mis-installed somehow). Joomla 1.5.9:
Click Components->"Mass import"->"Import mass content"
QUOTE:
Notice: Undefined variable: my in C:\wamp\www\administrator\components\com_massimport\models\import.php on line 157
Notice: Trying to get property of non-object in C:\wamp\www\administrator\components\com_massimport\models\import.php on line 157
| Code: |
// build list of users
$lists['created_by'] = JHTML::_('list.users', 'created_by', [b]$my[/b]->id );
|
QUOTE:
Notice: Undefined variable: formats in C:\wamp\www\administrator\components\com_massimport\models\import.php on line 206
| Code: |
$lists['formatname'] = JHTML::_('select.genericlist', $formats , 'formatname', 'class="inputbox"', 'value', 'text', null );
|
QUOTE:
Warning: Invalid argument supplied for foreach() in C:\wamp\www\libraries\joomla\html\html\select.php on line 68
| Code: |
/**
* Generates just the option tags for an HTML select list
*
* @param array An array of objects
* @param string The name of the object variable for the option value
* @param string The name of the object variable for the option text
* @param mixed The key that is selected (accepts an array or a string)
* @returns string HTML for the select list
*/
function options( $arr, $key = 'value', $text = 'text', $selected = null, $translate = false )
{
$html = '';
foreach ($arr as $i => $option)
{
|
I'm guessing that comes from \www\administrator\components\com_massimport\models\import.php line 202:
| Code: |
$format_lists = $database->loadObjectList();
foreach ( $format_lists as $format_list ) {
$formats[] = JHTML::_('select.option', $format_list->formatname, $format_list->formatname );
}
|
Then, click "Parameters" and "Save". I'm guessing that this is totally harmless, as there are no configurations to be saved with this component.

This warning also occurs with Mass Content component
QUOTE:
Notice: Undefined index: params in C:\wamp\www\libraries\joomla\database\table\component.php on line 105
| Code: |
/**
* Overloaded bind function
*
* @access public
* @param array $hash named array
* @return null|string null is operation was satisfactory, otherwise returns an error
* @see JTable:bind
* @since 1.5
*/
function bind($array, $ignore = '')
{
[b] if (is_array( $array['params'] ))[/b]
{
$registry = new JRegistry();
$registry->loadArray($array['params']);
$array['params'] = $registry->toString();
}
return parent::bind($array, $ignore);
}
|
Thanks for looking.