Ok. The PHP file returns the following error when used:
Fatal error: Cannot use string offset as an array in /home/.anton/stormink/awaken.stormink.net/forums/sources/admin/ad_skin_import.php on line 749
The function containing line 749 (the line that generates the error) is this:
function _extract_xml_info( $content, $xml, $xmlarchive )
{
global $ibforums, $std, $DB;
$return = array();
//-------------------------------
// Unpack the datafile
//-------------------------------
$xml->xml_parse_document( $content );
if ( ! is_array( $xml->xml_array['infoexport']['infogroup']['info'][0] ) )
{
$xml->xml_array['infoexport']['infogroup']['info'][0] = $xml->xml_array['infoexport']['infogroup']['info'];
}
if ( is_array( $xml->xml_array['infoexport']['infogroup']['info'] ) )
{
foreach( $xml->xml_array['infoexport']['infogroup']['info'] as $idx => $entry )
{
$return['set_name'] = $entry['set_name']['VALUE'];
$return['set_author_email'] = $entry['set_author_email']['VALUE'];
$return['set_author_name'] = $entry['set_author_name']['VALUE'];
$return['set_author_url'] = $entry['set_author_url']['VALUE'];
}
}
return $return;
}
line 749 is this:
$return['set_name'] = $entry['set_name']['VALUE'];
And also, if its any help... lines 750, 751, and 752 also dont work if you take line 749 out of the file. So it's something about how they are worded I guess...
If you could please tell me what it wrong... Thanks.
I attached the file if you want to read through the whole thing. Thanks.