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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

No table created after successfull dev/build


Go to End
Reply


13 Posts   872 Views

Avatar
swaiba

Forum Moderator, 1805 Posts

26 June 2013 at 7:57am

hmmmm

it all looks ok (at quick glance) you could check that the class name is in the enum for Page in the DB - but I agree this is strange

sorry I cannot be more help - maybe other can see it

Avatar
streetspirit

Community Member, 8 Posts

26 June 2013 at 8:08am

Edited: 26/06/2013 8:09am

Yes, again very strange, thanks a lot for your help in laying out the problem here.

Avatar
streetspirit

Community Member, 8 Posts

27 June 2013 at 5:16am

You've mentioned 'check that the class name is in the enum for Page in the DB' but i didn't get it.
Where should i look for the enum value in the database, NGSiteNamePage has no table as it has no fields, it just extends the NGSiteNameCore but the Core has only 2 fields, ID and ExtraJavaScript.

Sorry, i'm very new to SilverStripe, missing something here, can you help me understand this?

Avatar
swaiba

Forum Moderator, 1805 Posts

28 June 2013 at 10:25am

the database will hold a value for the enum of classname - please see attached braowing the db with http://www.heidisql.com/ focusing on teh sitetree table

Attached Files
Avatar
streetspirit

Community Member, 8 Posts

19 July 2013 at 11:03pm

Edited: 19/07/2013 11:04pm

I managed to solve the problem.

Since Silverstripe uses /tmp folder of the server for it's cache i checked there and found NGSiteNameMobilePage temp file and manually deleted it.
Everything works as expected now, hope this helps someone in the future.

Many thanks to Swaiba for his help to eliminate all the other potential causes of this particular case.

Go to Top