Google Groups

Re: [omeka-dev] Error: Class 'Items' not found


Jeremy Boggs Apr 15, 2012 12:54 PM
Posted in group: Omeka Dev
It should be 'Item' not 'Items' in your getTable.

Best,
Jeremy

On Apr 15, 2012, at 3:48 PM, Sue Hemmens wrote:

> $item = get_db()->getTable('Items')->find($itemId);
> $item->delete();
>
> gives
>
> Fatal error: Class 'Items' not found in /var/www/html/ciunas/
> application/libraries/Omeka/Db/Table.php on line 514
>
> Help!!
> (at the risk of a bash on the head from zerocrates...)
>
> thanks in advance, and promises of pints of Guinness.
>
> --
> You received this message because you are subscribed to the Google Groups "Omeka Dev" group.
> To post to this group, send email to omek...@googlegroups.com.
> To unsubscribe from this group, send email to omeka-dev+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/omeka-dev?hl=en.
>