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.

We've moved the forum!

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.

Hosting Requirements /

What you need to consider when choosing a hosting provider and plan.

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

Migrating to a new server


Go to End


2 Posts   2234 Views

Avatar
Vidy

Community Member, 1 Post

4 July 2012 at 3:46pm

I copied all the files to a differnt server and imported the database also.
when i run the url
/dev/build?flush=1
i get error
Creating database tables
SecureFileAccessToken

Fatal error: Class 'Enum' not found in /home/sapphire/core/model/Database.php(233) : eval()'d code on line 1
can someone please help me on this

Avatar
Willr

Forum Moderator, 5523 Posts

5 July 2012 at 7:02pm

Did all the files get copied across? Check to ensure that Enum.php exists (sapphire/core/model/fieldtypes)