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.

Upgrading SilverStripe

Ask questions about upgrading SilverStripe to the latest version.

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

Shifted server, can't logon - tried to upgrade, site won't work at all. Help!


Reply

27 Posts   2222 Views

Avatar
banal

9 July 2010 at 6:50pm Community Member, 901 Posts

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?

Avatar
Philwm

9 July 2010 at 7:04pm Community Member, 22 Posts

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!!

Avatar
banal

9 July 2010 at 7:35pm Community Member, 901 Posts

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.

Avatar
Philwm

9 July 2010 at 11:40pm Community Member, 22 Posts

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

Attached Files
Avatar
banal

13 July 2010 at 3:55am Community Member, 901 Posts

You would have to look in the "Browse" tab, where you browse the contents of the DB Tables..

Avatar
Philwm

13 July 2010 at 8:50am Community Member, 22 Posts

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

Avatar
banal

13 July 2010 at 10:18am Community Member, 901 Posts

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.

Avatar
TotalNet

13 July 2010 at 7:13pm Community Member, 181 Posts

^^^^ SPAM ^^^^