Calendar Problems on re-install

Permalink
I installed the Calendar but I could not create new calendars. I didn't even have a Sample calendar. So I un-installed it and upon re-install I get:

mysql error: [1062: Duplicate entry 'calendar_event' for key 2] in EXECUTE("insert into PageTypes (ctHandle, ctName, ctIcon, pkgID) values ('calendar_event', 'Event', 'main.png', '13')")

Went into the db and removed the offending lines. Now I have an installed Calendar block without anything in the edit field menu when I try to place an instance on my page. In other words under add functionality it says its installed but doesn’t show up in the list of placeable items.

Im I missing something in the sql db that I still need to remove?

Steve

tallacman
 
tallacman replied on at Permalink Reply
tallacman
Ok I get it. Don't delete the sample calendar! Rename it and duplicate it. Then assign instances to subpages you want. (2days)
trixiemay replied on at Permalink Reply
trixiemay
I have the same error.

What directory on the server do you need to edit in order to delete the duplicates?
synlag replied on at Permalink Best Answer Reply
synlag
The error occurs, because the attributes 'calendar_start_event_date' and 'calender_end_event_date' aren't removed on uninstall. Try to remove them and it should work.