Version: 2.4.3
Module: blog-v0.4.1
I have installed the blog module and it works fine until after I post a comment on one of the blog posts. When I try to view the post from the blog holder page I get this error (see below). If I go Firefox > Tools > Clear Recent History > Clear Now I then am able to view the comments again until after the next comment is posted.
Your help is appreciated.
[Notice] unserialize() [function.unserialize]: Error at offset 5 of 254 bytes
211 Requirements::javascript(SAPPHIRE_DIR . '/thirdparty/prototype/prototype.js');
212 Requirements::javascript(THIRDPARTY_DIR . '/scriptaculous/effects.js');
213 Requirements::javascript(CMS_DIR . '/javascript/PageCommentInterface.js');
214 }
215
216 $this->extend('updatePageCommentForm', $form);
217
218 // Load the users data from a cookie
219 if($cookie = Cookie::get("PageCommentInterface_Data")) {
220 $form->loadDataFrom(unserialize($cookie));
221 }
222
223 return $form;
224 }
225
226 function Comments() {
* unserialize(a:7:{s:3:\"url\";s:39:\"/blog/test/PageComments/PostCommentForm\";s:8:\"ParentID\";s:1:\"8\";s:4:\"Name\";s:4:\"Test\";s:12:\"CommenterURL\";s:4:\"test\";s:10:\"SecurityID\";s:9:\"850118868\";s:4:\"ajax\";s:1:\"1\";s:18:\"action_postcomment\";s:1:\"1\";})
Line 220 of PageCommentInterface.php
* PageCommentInterface->PostCommentForm()
Line 369 of ViewableData.php
* ViewableData->obj(PostCommentForm,,,1,)
Line 411 of ViewableData.php
* ViewableData->cachedCall(PostCommentForm,)
Line 424 of ViewableData.php
* ViewableData->hasValue(PostCommentForm)
Line 12 of .cache.cms.templates.PageCommentInterface.ss
* include(/private/var/folders/7y/7y2o8yaMGAyXsyfy+DACNE+++TI/-Tmp-/silverstripe-cache-Users-david-Documents-Freelance-Clients-David-Montgomery-David-Kelly-08-www/.cache.cms.templates.PageCommentInterface.ss)
Line 420 of SSViewer.php
* SSViewer->process(PageCommentInterface)
Line 342 of ViewableData.php
* ViewableData->renderWith(PageCommentInterface)
Line 129 of PageCommentInterface.php
* PageCommentInterface->forTemplate()
Line 447 of ViewableData.php
* ViewableData->XML_val(PageComments,,1)
Line 271 of .cache.blog.templates.Layout.BlogEntry.ss
* include(/private/var/folders/7y/7y2o8yaMGAyXsyfy+DACNE+++TI/-Tmp-/silverstripe-cache-Users-david-Documents-Freelance-Clients-David-Montgomery-David-Kelly-08-www/.cache.blog.templates.Layout.BlogEntry.ss)
Line 420 of SSViewer.php
* SSViewer->process(BlogEntry_Controller,Zend_Cache_Frontend_Output)
Line 411 of SSViewer.php
* SSViewer->process(BlogEntry_Controller)
Line 202 of Controller.php
* Controller->handleAction(SS_HTTPRequest)
Line 137 of RequestHandler.php
* RequestHandler->handleRequest(SS_HTTPRequest)
Line 147 of Controller.php
* Controller->handleRequest(SS_HTTPRequest)
Line 199 of ContentController.php
* ContentController->handleRequest(SS_HTTPRequest)
Line 184 of ContentController.php
* ContentController->handleRequest(SS_HTTPRequest)
Line 67 of ModelAsController.php
* ModelAsController->handleRequest(SS_HTTPRequest)
Line 281 of Director.php
* Director::handleRequest(SS_HTTPRequest,Session)
Line 124 of Director.php
* Director::direct(/blog/test/)
Line 127 of main.php