Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Error with Assets

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

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

Page: 1
Go to End
Author Topic: 1025 Views
  • integral
    Avatar
    Community Member
    3 Posts

    Error with Assets Link to this post

    Hello,

    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!

  • JoeJoe
    Avatar
    Community Member
    7 Posts

    Re: Error with Assets Link to this post

    Hi,

    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

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