Jump to:

10929 Posts in 2613 Topics by 1809 members

All other Modules

SilverStripe Forums » All other Modules » Solved! - Subsites Module - what does this error mean?

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 1314 Views
  • honeybunny
    Avatar
    Community Member
    79 Posts

    Solved! - Subsites Module - what does this error mean? Link to this post

    It's been a few months, I've upgraded to 2.4.1 and I am still unable to load the subsites module. In the past I was able to get the tables to load but had a variety of other problems saving, viewing or losing files, this time I can't even get the tables loaded. I've tried the most recent release and pretty much every daily trunk of the module since SS2.4.1 was released and get the same exact error message..

    Fatal error: DataObject::buildSQL: Can't find data classes (classes linked to tables) for SubsiteDomain. Please ensure you run dev/build after creating a new DataObject. in /home/...

    Can someone tell me what that means and how to fix it?

    I don't know what my issue is with this particular module, but I'm waving the white flag and conceding defeat.

    Thanks,

    HB (one really desperate bunny)

  • Willr
    Avatar
    Forum Moderator
    5489 Posts

    Re: Solved! - Subsites Module - what does this error mean? Link to this post

    Sounds like SS can't find the file which contains the 'SubsiteDomain' class. Check your subsites/code/ folder for that class an ensure that you have run a /dev/build?flush=1

  • honeybunny
    Avatar
    Community Member
    79 Posts

    Re: Solved! - Subsites Module - what does this error mean? Link to this post

    Sorry, I should have said that this was the error message I got when trying to do dev/build after loading the module. Also, I checked the subsitedomain.php file in the subsite/code folder but couldn't find anything weird, or to be more correct, I compared it against another version and it was the same. When I looked at the error message I assumed that it meant the subsitedomain.php file, but it is extremely possible that I was looking in the wrong place, hence my question. I've tried loading earlier and later version of the module to no avail. I just get the same error message when I do dev/build. I guess I am just completely lost about where else I should be looking.

    Sorry to be so vague and rambling. I've been struggling with this wretched module off and on for months and at this point I may be completely mad. I can see it now. I'm sorry your honor my client is claiming insanity due to subsites. A perfectly reasonable justification for the acts of mad men and bunnies.

    HB

  • honeybunny
    Avatar
    Community Member
    79 Posts

    Re: Solved! - Subsites Module - what does this error mean? Link to this post

    I am still unable to get this thing to load. I've tried using the latest release version from the subsites page (http://www.silverstripe.org/subsites-module/), the latest trunk version (subsites-trunk-r108517.tar.gz) from the same page, and probably ten or twelve other versions, which may or may not have had any changes, from http://dailybuilds.silverstripe.com/modules-tarballs/. Every upload results in the same error message. I've tried unpacking the files locally and uploading as well as unpacking directly on the server. I've even tried reloading Sapphire. It made no difference.

    I am way beyond the point of being lost. I haven't made any changes to any of the files in the subsites module and it's highly unlikely that every download I've tried is missing the same file. Is there anything else I should be looking for? I am desperate enough to consider completely wiping everything and starting over, but I would prefer to have some hope that it would actually make a difference.

    HB (feeling like one of those cartoons where the character's head spins around and around with their eyes popping out...)

  • honeybunny
    Avatar
    Community Member
    79 Posts

    Re: Solved! - Subsites Module - what does this error mean? Link to this post

    I finally fixed it! After my week long monologue of subsite woe, I did a fresh install of SS, dropped all the tables and that seems to have fixed the problem. Subsites loaded with no errors now I can go to bed with a smile.

    HB

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