1155 Posts in 2568 Topics by 408 members
|Go to End|
21 May 2010 at 9:18pm
Having a problem with the Event Calendar.
I was running SS 2.3.3 and attempted to upgrade to SS 2.4.0. This gave me an incompatibility with the Event Calendar module.
To cut a long story short, I decided to revert back to 2.3.3 for now and look at another issue.
I deleted the following directories that I had installed in order to upgrade to 2.4.0:
I then re-installed my old 2.3.3 directories:
I ran /dev/build/ and all looks good.
However, I am now hitting a persistent error that wasn't there before:
"[Notice] Trying to get property of non-object
Line 17 in C:\wamp\[url=http://www\[path]\SilverStripe\event_calendar\code\CalendarUI.class.php"]www\[path]\SilverStripe\event_calendar\code\CalendarUI.class.php"
Line 17 is this:
var controller_url_segment = '" . $controller->URLSegment . "';
Can anyone tell help me figure out why it hasn't rolled-back correctly?
8 June 2010 at 3:25am
For the record...
It all went wrong because at some point during the upgrade, the database records for Calendars and CalendarEvents got corrupted, ie. the value in the ClassName column was set to NULL.
To fix it, I ran this query directly on the database:
WHERE ClassName is null or ClassName = ''
...to identify which records were corrupt and manually inserted the values "Calendar" or "CalendarEvent" against each record as appropriate.
|Go to Top|