Gossamer Forum
Quote Reply
import.pl
In the continuing effort to find out why my categories don't import....

Code:


foreach $key (keys %CAT_IDS) {
$value = $CAT_IDS{$key};
print "Key: \'$key\' Value: \'$value\' \n";
}
foreach $key (keys %CAT_REL) {
$value = $CAT_REL{$key};
print "Key: \'$key\' Value: \'$value\' \n";
}

If I add that before the "# INSERT Category Relations." what I find is that the $CAT_IDS only has the first-level link -- so any of my second level relations can't be matched to it.

What makes it wierder is that in the Category table, the compound categories _are_ inserted.

Quote Reply
Re: import.pl In reply to
Can you either zip up your data you are importing and send it my way, or email me telnet info so I can take a look?

Cheers,

Alex