1152 Posts in 2568 Topics by 408 members
|Go to End|
11 June 2011 at 2:59pm
I had some issues upgrading due to some information in my .htaccess file and upgraded from SS 2.3.2 yesterday afternoon. This was done via GoDaddy and it did incremental upgrades from what I could tell.
In the process of updating or preparing to update I somehow rolled back my database a version and deleted a sponsored link from one of the pages. :O When I went to put the link back in, I clicked on the relevant article page and received the message, "Fatal error: Class 'CalendarDateField' not found in /home/content/u/n/c/unclebubby/html/wavs2/mysite/code/ArticlePage.php on line 19"
Line 19 reads: $fields->addFieldToTab('Root.Content.Main', new CalendarDateField('Date'), 'Content');
I removed the section "new CalendarDateField('Date')" from the statement and ended up with an error in FieldSet.php
I started going down the rabbit hole and commenting out the lines it was balking about but each time I cleared one error, another would pop up. I really need to get this back up and running so I can get that link back up, not to mention just edit my site.
12 June 2011 at 2:24pm
I figured it out! I went back through the tutorials and noticed that in the ArticlePage.php code it was no longer CalendarDateField and was now just simply DateField. Once I changed that and ran a dev/rebuild, editing capabilities returned.
|Go to Top|