Two Errors Picked up with new installation of the Image Gallery Module
Greetings : I have installed a fresh version of SS 2.3.0 and latest SVN of the Dataobjectmanager | SWFUpload | ImageGallery
1. Created a new Image Gallery Page only shows a blnak page with error mesage
"FileDataObjectManager::__construct() -- could not determine has_one relationship with a File object"
This is due to line 49 of FileDataObjectManager.php in Dataobjectmanager
which I commented out as below
//die('<strong>Error</strong>: FileDataObjectManager::__construct() -- could not determine has_one relationship with a File object.');
2. Albums Tab > edit the default abum
The Modal dialog shows
"Fatal error: Call to a member function getErrors() on a non-object in \sapphire\forms\Form.php on line 509"
This line in Form.php states
if($this->validator->getErrors()) {
if(!isset($attributes['class'])) $attributes['class'] = '';
$attributes['class'] .= ' validationerror';
}
So looks like a validation error on the album form
Same issue when trying to add a new album
Not sure what the issue is here?