1043 Posts in 379 Topics by 373 members
|Go to End||Next >|
9 July 2010 at 6:50pm
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?
9 July 2010 at 7:04pm
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!!
9 July 2010 at 7:35pm
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.
9 July 2010 at 11:40pm
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...
13 July 2010 at 3:55am
You would have to look in the "Browse" tab, where you browse the contents of the DB Tables..
13 July 2010 at 8:50am
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.
13 July 2010 at 10:18am
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.
13 July 2010 at 7:13pm
^^^^ SPAM ^^^^
|Go to Top||Next >|