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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

All other Modules /

Discuss all other Modules here.

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

Data Object Manager + SWFUpload module = File&Images Crashed


Go to End


2 Posts   2528 Views

Avatar
snaip

Community Member, 181 Posts

14 July 2009 at 11:15pm

Edited: 14/07/2009 11:27pm

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

Forum Moderator, 4102 Posts

15 July 2009 at 1:45am

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.