I just upgraded my Drupal site from 5 to 6. I have also upgraded Views from 5.x to 6.x-2.3. The status update shows everything normal. The update.php shows no error. But when I go into admin/build/views, I do not see any of the views I had from 5.x. I did some search and have not found a issue related to my problem. So I hope someone can let me a hand.

Comments

aitala’s picture

You need to update your views from V1 to V2. It is not automatic. Go Views >> Tools >> Convert

Eric

churkl’s picture

I just tried what you said, But it is telling me there is no view to convert. Which tables are the old view stored. So I can probably restore the table and try again?

Thank you.

Churk

aitala’s picture

Hm... that I do not know.

Eric

churkl’s picture

I got my views back from the DB. Can you give me more information on how to convert them. I try converting one, and it is giving me an error message:

Display "Defaults" uses fields but there are none defined for it or all are excluded.

Do I need to enable all the default views?

aitala’s picture

No, I think that means that you have not selected any fields to display in the View. You may need to read the Advanced help that comes with V2 or hunt down the documentation - http://views-help.doc.logrus.com/

Simple views are pretty easy to convert, but it can be tricky.

E

merlinofchaos’s picture

Views 2 views are storedin the table views_view; Views 1 views are stored in the table view_view (only a very slight difference in table name).

If for some reason your views are not appearing, and assuming you have a backup, you should also be able to export your old views from backup and attempt to import them on your D6 site and it will make an effort to convert them.

Please note that most Drupal devs have a much better experience simply rewriting the views, because Views 2 is a lot better and many things can be done differently and should be done differently.

churkl’s picture

Thank you very much for the info. I have opted to rewrite the views because many of the views would not be converted and since I am not very familiar with Drupal, recreating would be a lot each to find documentation on than try to get lucky looking for how to convert older customized views.

churkl’s picture

Status: Active » Closed (won't fix)
liquidcms’s picture

ahhh.. just found the convert views page.. this makes more sense now.. :).. too bad not a "convert all button" :(