502 Posts in 183 Topics by 251 members
|Go to End|
14 May 2010 at 11:56pm Last edited: 17 May 2010 10:32pm
I have a problem, I have a silverstripe site that has been working absolutely fine for some time. However after simply updating some text today, when I click 'Save and Publish' where it normally confirms "Published MyPage Successfully" in a green box, I'm getting "Validation Error" in a red box. It's doing this on every page throughout the site and I really need to make the changes live!
Has anyone come accross this problem before?
It seems that the cause may be something to do with the image gallery... I'm getting this error in my gallery tab in the CMS along witht the validation failed when trying to submit.
'admin/EditForm/field/ImageGalleryPics?ctf[ImageGalleryPics][start]=0&ctf[ImageGalleryPics][per_page]=10&ctf[ImageGalleryPics][showall]=0&ctf[ImageGalleryPics][sort]=SortOrder&ctf[ImageGalleryPics][sort_dir]=DESC&ctf[ImageGalleryPics][search]=&ctf[ImageGalleryPics][filter]=' is not a number, only numbers can be accepted for this field
28 May 2010 at 8:44am
Yeah I've recently been getting that problem as well - with SilverStripe 2.4.
It seems that it's something to do with the Date fields. If the date fields are cleared, then 'Save' or 'Save and Publish' works fine.
It's definitely a bug of sorts... unless I'm missing something.
28 May 2010 at 9:20am
Ahh... I actually figured out what the problem was in the end. It was a silly mistake really... I was trying to use the same variable twice. Double check your code!
|Go to Top|