7913 Posts in 1355 Topics by 930 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » Files & Images
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 593 Views |
-
Files & Images

24 July 2010 at 12:38pm
I am having problems with Files & Images. I cannot delete the folders under upload and if I try to upload a file I get the following error message.
User Error] Bad RecordClassName '' and $baseClass not set
Line 2761 in C:\wamp\www\SilverStripe\sapphire\core\model\DataObject.phpI have updated DOM, SWFUpload and the CMS with no change. I have emptied the folders of all uploads and resample files.
I would be grateful for any pointers of where to start looking for the cure. This is on localhost.
Thanks
-
Re: Files & Images

24 July 2010 at 12:52pm
Check the File table in your database, and make sure ClassName is not null.
-
Re: Files & Images

24 July 2010 at 3:40pm Last edited: 24 July 2010 3:42pm
Thank you UncleCheese.
I have filled all missing ClassNames in the File table and this has fixed the bad classname message and I can now upload files.
I still can't delete folders under Upload. Can create though. As this is on Local Host I have made sure I have full control on the folders (XP).
Also made the changes as recommended here
http://open.silverstripe.org/attachment/ticket/5547/2.4.0-FileUpload.diffDoes the CMS save copies of uploads somewhere other than the Assets folder?
Thanks.
-
Re: Files & Images

24 July 2010 at 3:41pm Last edited: 24 July 2010 3:43pm
Sorry - duplicate post removed
| 593 Views | ||
|
Page:
1
|
Go to Top |

