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.

Hosting Requirements

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

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

Migrating to a new server


Reply

2 Posts   1026 Views

Avatar
Vidy

4 July 2012 at 3:46pm Community Member, 1 Post

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

5 July 2012 at 7:02pm Forum Moderator, 5511 Posts

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