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.
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.
Check the File table in your database, and make sure ClassName is not null.
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
Does the CMS save copies of uploads somewhere other than the Assets folder?
Sorry - duplicate post removed