Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, Ed, biapar, Willr, Ingo, swaiba

Bug Reports

Go to End

297 Posts   68407 Views


Forum Moderator, 4102 Posts

5 December 2009 at 4:37am

Yeah surprisingly, SS already has that meta tag in the CMS. I thought for sure that would solve it.


Community Member, 271 Posts

5 December 2009 at 4:48am

Pfff stupid.... I should have looked first....


Community Member, 271 Posts

5 December 2009 at 5:12am

Hm. I tested it on my laptop with ie8 and W7 and the popups shows fine....

Nobrainer Web

Community Member, 138 Posts

5 January 2010 at 11:58am

Edited: 05/01/2010 11:00pm

Getting the: "An error occurred in your upload. The server did not accept it" error.

Followed the debug instructions found here:

And now posting here as requested.
The error is around line 604 in $u->loadIntoFile...

if(class_exists("Upload")) {
	// Hello //die("hello");
	$u = new Upload();
	// Hello //die("hello");
	$u->loadIntoFile($_FILES['swfupload_file'], $file, $path);
	// Error //die("hello");

Hope someone can help solve this.


SS version 2.3.4

EDIT: This error was caused by wrong permissions in the assest/uploads folder, changed them to 777 and all ok.

Carbon Crayon

Community Member, 598 Posts

6 January 2010 at 8:29am

I also havn't had major issues using IE8 (w7.64 & wxp.32) with the popup, but then I have a suspision it's forcing into compatability mode as the compatability button dissapeares when in SS. The one issue I have had is that IE(7/8?) doesn't apply the padding for the fade correctly so if you have an imagefield at the bottom the fade stops you pressing the 'replace image' and 'delete' buttons. I fixed this by hiding the fade in the CSS:

line 144 of dataobject_manager.css

.DataObjectManager-popup #fade {display: none;}

This hides the fade so it's not a proper fix, but personally I prefer it without the fade anyway.



Community Member, 203 Posts

8 January 2010 at 6:08am

Edited: 08/01/2010 1:52pm

EDIT: Caching was more agressive than I thought. Should have checked again by changing the name back, sorry!

When I use: SortableDataObject::add_sortable_class('HomePageEntry'); I get the following error when doing a dev/build:


For the rest everything looks fine, thanks for the good work!!!!!!


Forum Moderator, 4102 Posts

8 January 2010 at 6:51am

Check your code.. you've got whitespace somewhere. Make sure you're not closing your PHP tags.


Community Member, 31 Posts

9 January 2010 at 4:20am

I've found that it is not possible to have a DataObject that relates to itself.

In my case each product relates to other complimentary products and similar products.


class Product extends DataObject
	static $many_many = array(
		'ComplimentaryProducts' => 'Product',
		'SimilarProducts' => 'Product'
	static $belongs_many_many = array(
		'ComplimentaryProductsBelong' => 'Product',
		'SimilarProductsBelong' => 'Product'
	function getCMSFields() {
		$fields = parent::getCMSFields();
		$ComplimentaryManager = new ManyManyDataObjectManager(
			array('Name' => 'Name'),
			'Name != "' . $this->Name . '"'
		$fields->addFieldToTab("Root.ComplimentaryProducts", $ComplimentaryManager);


In ModelAdmin when this runs I get 100% CPU usage and the server crashes. I don't get any errors in the Apache, PHP or SS error log. I guess there must be a never ending loop.

Any help would be appreciated.

Go to Top