4621 Posts in 1397 Topics by 1392 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 558 Views |
-
Issues Running SS 2.4.1

19 August 2010 at 1:01am Last edited: 19 August 2010 2:07am
Hello there, I have several silverstripe installations running, and now I am making the transition to SS for my own site. I installed 2.4.2 and i am having the constant Memory "Fatal Error" on top of that issue, my popups for ManyManyComplexTableFields are trying to OPEN the html file and not LOAD the file. Every time i attempt to add a Record to the table, the browser asks where i want to save the file. I'm really at a loss here.
the script i think that I am having an issue with is the Loader JS in "saphire/thirdparty/greybox/loader_frame.html", I'm not sure if the script is the problem or the way it is trying to load the DataObject Class that I am trying to edit.
Here is the DataObject Class :
class Visual extends DataObject {
static $db = array(
'VisualName' => 'Text'
);
static $has_one = array(
'VisualImage' => 'Image'
);static $belongs_many_many = array(
'Project' => 'ProjectPage',
'Clients' =>'Client'
);// Used for TableField. These are the field names.
// Refer to getCMSFields() on ArticleHolder for how it is used.
static $field_names = array(
'VisualName' => 'Visual Name',
'VisualImage' => 'Visual Image',
);function getCMSFields_forPopup() {
$fields = new FieldSet();
$fields->push( new TextField( 'VisualName', 'Visual Name' ) );
$fields->push( new FileIframeField( 'VisualImage', 'Visual Image' ) );
return $fields;
}
}
| 558 Views | ||
|
Page:
1
|
Go to Top |

