I'm trying to add items to the AA database. I've been going through
item_content.php3, but I'm not getting very far. I don't get any error
messages, and I'm wondering why my code isn't doing what I think
it should be doing. Here's the essential part:
//some existing item ID
$item_id = "287d9598489ad916c631c06f34cee87c";
$content_array = GetItemContent($item_id);
$item_id = new_id();
$content4id = new ItemContent($content_array);
$content4id->setItemID($item_id);
$added_to_db = $content4id->storeItem('insert',
$invalidatecache = true,
$feed = true);
What could I be doing wrong?
Could it be that the installation needs to be upgraded?
I can't find a specific version number, but from the dates in the
directory it seems to have been released April or June 2005.
|