Jump to:

1851 Posts in 1605 Topics by 561 members

Blog Module

SilverStripe Forums » Blog Module » Validation Error

Discuss the Blog Module.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1826 Views
  • ahooper
    Avatar
    Community Member
    8 Posts

    Validation Error Link to this post

    I have set up the latest trunk version of CMS as there seemed to be some issues with the earlier version and the forums module. I have also pulled the latest version of the BLOG and added that. However i am getting some strange errors and posting blogs from within the admin interface seems to fail.

    After creating a new BlogEntry and filling in the relevent information then clicking the "Save and Publish" button i receive a "Validation Error" toward the bottom left of the interface. Then at the mottom of the page i get a green box with red outline stating the following.
    "Please enter a valid date format (DD/MM/YYYY)."

    Although i have turned on HTML code so i can hopefully add flash items into the blogs i also tested with the bbcode's and get the same problem.

    If however I use the main blog site page admin to add, modify the text this seems to work.

    Regards
    Andrew

  • ahooper
    Avatar
    Community Member
    8 Posts

    Re: Validation Error Link to this post

    Could not figure out the reason for this error so I removed the entire system including the database, reinstalled fresh and evryting worked a treat. My guess is that there was some form of incompatibility in a database field but am not compleatly sure

  • Fuzz10
    Avatar
    Community Member
    787 Posts

    Re: Validation Error Link to this post

    Hmmm.. I bumped into this once as well...

    It works okay with the RC2 , but not with the trunk version of Silverstripe ......

  • dio5
    Avatar
    Community Member
    501 Posts

    Re: Validation Error Link to this post

    I came across this as well when using SSDatetime in combination with CalendarDateField - which now doesn't seem to accept dates with hour/minute/seconds in it. When I replaced SSDatetime with Date the problem went away.

    I'm just wondering, is there cms validation now?

  • Fuzz10
    Avatar
    Community Member
    787 Posts

    Re: Validation Error Link to this post

    Yeah, it seems we are getting CMS validation in the next release (2.3).

    Change the type from SSDateTime to Date fixes it indeed , but the blog uses SSDateTime as well so I guess we'll have to wait for the next trunk release ... ;-)

    People always warn against using RC's or beta's in development environments, but I can never resist the urge... hahha ;-)

    1826 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.