Jump to:

7940 Posts in 1543 Topics by 946 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » Files & Images

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Page: 1
Go to End
Author Topic: 717 Views
  • Christy
    Avatar
    Community Member
    57 Posts

    Files & Images Link to this post

    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.php

    I 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

  • UncleCheese
    Avatar
    4085 Posts

    Re: Files & Images Link to this post

    Check the File table in your database, and make sure ClassName is not null.

  • Christy
    Avatar
    Community Member
    57 Posts

    Re: Files & Images Link to this post

    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.diff

    Does the CMS save copies of uploads somewhere other than the Assets folder?

    Thanks.

  • Christy
    Avatar
    Community Member
    57 Posts

    Re: Files & Images Link to this post

    Sorry - duplicate post removed

    717 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.