migrator icon indicating copy to clipboard operation
migrator copied to clipboard

All pages are blank after upgrading

Open jasonishoy opened this issue 2 years ago • 1 comments

I upgraded a Statamic website from version 2.11.21 to 3.3.68 using the Statamic migrator. Upon checking the dashboard, I noticed that all elements appear to have been successfully migrated on the admin side. However, the front-end displays only blank pages.

image

routes/web.php image

resources/views/home.antlers.html image

jasonishoy avatar Feb 10 '23 18:02 jasonishoy

The migrator primarily migrates your data, but your theme/frontend/views will likely need some extra love.

Due to the evolution of antlers templating, we cannot guarantee a complete migration of your theme, but we attempt to update the most obvious stuff for you.

For example, your views will be copied over, extensions are updated to .antlers.html, partial tags are migrated, but not too much more than that. Quite a few of your tags, modifiers, etc. will need to be updated by hand, as will your css/js build, etc.

Take a look over all that stuff, and if you're still having trouble let us know. Hard to say though without seeing the codebase though.

Hope it helps!

jesseleite avatar Feb 12 '23 00:02 jesseleite