7956 Posts in 1394 Topics by 945 members
|Go to End|
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.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.
24 July 2010 at 12:52pm
Check the File table in your database, and make sure ClassName is not null.
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
Does the CMS save copies of uploads somewhere other than the Assets folder?
24 July 2010 at 3:41pm Last edited: 24 July 2010 3:43pm
Sorry - duplicate post removed
|Go to Top|