Anyone got any ideas what this error message is all about?
The surrounding area of code, is;
if (defined $xmld->{Address}) {
$link_details->{PostalCode} = $xmld->{Address}->{PostalCode};
if ($xmld->{Address}->{StateCode}) {
$link_details->{State} = $_states_hash->{$xmld->{Address}->{StateCode}};
}
if (defined $xmld->{Address}->{CountryCode}) {
$link_details->{Country} = $_countries_hash->{$xmld->{Address}->{CountryCode}};
}
$link_details->{City} = $xmld->{Address}->{City};
$link_details->{Line1} = $xmld->{Address}->{Line1};
#print "Directions: " . $xmld->{Directions} . "\n"; next;
if (defined $xmld->{Directions}) {
$link_details->{Directions} = $xmld->{Directions}->{Text};
}
}
The part in red is line 434.
TIA for any ideas/suggestions. I've been struggling with this for over a day now
Cheers
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote:
[Sat Nov 6 03:48:46 2004] hotelclub_xml.cgi: Bad index while coercing array into hash at xml.cgi line 434.The surrounding area of code, is;
Code:
# Address... if (defined $xmld->{Address}) {
$link_details->{PostalCode} = $xmld->{Address}->{PostalCode};
if ($xmld->{Address}->{StateCode}) {
$link_details->{State} = $_states_hash->{$xmld->{Address}->{StateCode}};
}
if (defined $xmld->{Address}->{CountryCode}) {
$link_details->{Country} = $_countries_hash->{$xmld->{Address}->{CountryCode}};
}
$link_details->{City} = $xmld->{Address}->{City};
$link_details->{Line1} = $xmld->{Address}->{Line1};
#print "Directions: " . $xmld->{Directions} . "\n"; next;
if (defined $xmld->{Directions}) {
$link_details->{Directions} = $xmld->{Directions}->{Text};
}
}
The part in red is line 434.
TIA for any ideas/suggestions. I've been struggling with this for over a day now
Cheers
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates

