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.

All other Modules

Discuss all other Modules here.

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

Data Object Manager + SWFUpload module = File&Images Crashed


Reply

2 Posts   2173 Views

Avatar
snaip

14 July 2009 at 11:15pm (Last edited: 14 July 2009 11:27pm), Community Member, 180 Posts

ekhmm

what can you tell me about this problem ?

i have installed Data Object Manager + SWFUpload module , everything was good
log out / log in and now i cant enter to Files & Images Tab ....

i deleted these two modules folders but it doesnt help .....

what now ?

please don't tell me that i need to reinstall SS ...

SS 2.3.0

[Notice] Trying to get property of non-object
GET /ernesto_test/admin/assets/

Line 432 in [...]/public_html/ernesto_test/sapphire/filesystem/Folder.php

Source

423       if($object->$fieldName != NULL) $usedFiles[] = $object->$fieldName;
424        unset($object);
425 }
426 } elseif($joinClass == 'Folder') {
427 // @todo
428 }
429 }
430 }
431 foreach($usedFiles as $file) {
432 $where .= $file->ID . ',';
433 }
434 if($where == "") return "(ClassName = 'File' OR ClassName = 'Image')";
435 $where = substr($where,0,strlen($where)-1);
436 $where = "`File`.ID NOT IN (" . $where . ") AND (ClassName = 'File' OR ClassName = 'Image')";
437 return $where;
438    }

Avatar
UncleCheese

15 July 2009 at 1:45am 4085 Posts

You're two ticks back on your Silverstripe version. I'd start there.

If you've uninstalled the modules, I don't think it has anything to do with them at this point. I've certainly never come across that error before.