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:

Archive /

Our old forums are still available as a read-only archive.

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

Error with Assets

Go to End

2 Posts   1335 Views


Community Member, 3 Posts

20 October 2008 at 10:21am


I have tried flushing everything and still get the following error when trying to access the assets tab:

Fatal error: Class name must be a valid object or a string in /sapphire/filesystem/Folder.php on line 104

Thanks in advance!


Community Member, 8 Posts

1 November 2008 at 12:26am

Edited: 01/11/2008 12:26am


What you have to do is to follow these steps;

1. go to phpMyAdmin on your localhost, or webserver
2. go to the DB and find the table 'File'
3. In the row 'Classname' you see that all images are defined as Image
4. Try to find the Classnames that are not set (they are set as 'Null')
That error appears because the classnames are not set.
5. Set the correct classname, like Image

Hope that helps,

Grz, Raack