If you set the Site mode to "dev" you can rebuild without logging in. Does dev/build also throw an error?
It looks like you have empty "ClassName" Fields in your DB. Maybe fire up PhpMyAdmin and find them?
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
If you set the Site mode to "dev" you can rebuild without logging in. Does dev/build also throw an error?
It looks like you have empty "ClassName" Fields in your DB. Maybe fire up PhpMyAdmin and find them?
Hi Banal - that's where I've got to today - I've found out about accessing PHPmyadmin, and have it open, but I don't know what I'm doing!
Should I look through individual tables individually for missing "ClassName"s?
Thanks for your help - I feel like I'm moving forward again now!!
Yeah, go through the individual tables and check the ClassName field. You could probably just sort on the ClassName Field, that way you'll immediately see empty fields.
If you find an empty field, either delete it or enter a matching classname.
I'd have done this by now but don't understand the phpmysql interface. Been looking all over the net but all the articles are written by experts and I am so noob I just get lost.
I don't want to learn all about it, just enough to go through the tables and even know what a missing classname looks like, and where it would be.
Please forgive me for being so stupid about this, I'm not normally. Just never touched mysql before. I've attached a screenshot of where I'm looking - it's a table, and the fields are on the left, and in the fields there's "Class Name".
So, how would I tell if it's missing?
Thanks for your help, again...
You would have to look in the "Browse" tab, where you browse the contents of the DB Tables..
Thanks Banal
I've spent a bit of time on it over the last couple of days, have gone through and where-ever a table has a "Class Name" field and is null = yes I've changed to null = no.
Then done a dev/build and tried to login again to the cms, but without success. I flushed the cache and tried different browsers. I've tried whatever I can but it sems to be that when I go back and look at the database it is reverting to the previous settings - null = yes. How do I save the database wehen I make changes - I'm already saving at the stage of each table.
Thanks again...
You're just changing table field settings and not modifying the actual table contents (which you can see when you go to the "Browse" tab in phpMyAdmin).
You should probably hire somebody that has some more experience with PHP/MySQL/SilverStripe to help you with this.
^^^^ SPAM ^^^^