craigh / PostCalendar

PostCalendar is a calendar module for the Zikula Application Framework
20 stars 9 forks source link

Won't install on latest core #82

Closed damon18 closed 11 years ago

damon18 commented 11 years ago

Just did a pull to the latest core and then cloned PostCalendar into modules.

Going to extensions and trying to install gave error.

Error on Site name
The 'extensions' module returned an error in 'initialise'.
Did not create default categories (An exception occurred while executing 'INSERT INTO categories_attributes (name, value, category_id) VALUES (?, ?, ?)' with params ["color", "#99ccff", 10001]: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'zikula.categories_attributes' doesn't exist).
An exception occurred while executing 'SELECT t0.id AS id1, t0.modname AS modname2, t0.entityname AS entityname3, t0.property AS property4, t0.category_id AS category_id5, t0.cr_date AS cr_date6, t0.lu_date AS lu_date7, t0.obj_status AS obj_status8, t0.cr_uid AS cr_uid9, t0.lu_uid AS lu_uid10 FROM categories_registry t0 WHERE t0.modname = ? AND t0.entityname = ? ORDER BY t0.id ASC' with params ["PostCalendar", "CalendarEvent"]: SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.entityname' in 'field list'

I guess this is related to the big categories/doctrine update but thought I'd report it.

craigh commented 11 years ago

update and try again please

ghost commented 11 years ago

Did you upgrade?

craigh commented 11 years ago

yeah - you need to upgrade the categories module (or reinstall the core)

craigh commented 11 years ago

actually you might need to reinstall the core because of just made changes

craigh commented 11 years ago

I can confirm that PC installs as expected after core installation.

damon18 commented 11 years ago

Re-installed core and PostCalendar installed without error.

craigh commented 11 years ago

:+1: