Drupal 6 to 7 Ubercart 筆記

01.選擇版型 Garland

02.把webform nd ds ds_ui uc_csv 移掉,因為昇級會錯誤

03.把收集目前所有啟用的模組
drush pml --no-core --type=module --status=enabled --pipe > modules.txt

04.把模組取消啟用
cat modules.txt | xargs drush -y dis

05.把D6的資料夾全砍掉,只留 sites

06.
mkdir default/files/styles
mkdir default/temp
chmod -R 777 default/temp
chmod -R 777 default/files/styles


07.把D7的資料夾全複製到 D6 資料夾中

08.把所有的D7模組dl到D6

09.執行drush updatedb

10.啟用模組

11.fields轉換
/admin/structure/content_migrate


drush pm-disable

02.drush pm-uninstall advanced_help boost devel google_analytics securepages smtp uc_ajax_cart uc_coupon uc_csv uc_deliverytimeslot imageapi imagecache imagecache_ui

drush pm-disable imageapi imagecache imagecache_ui  absolute_messages nodewords exclude_node_title page_title uc_discounts_alt advanced_help uc_multi_stock backup_migrate block_class block_edit floating_block protected_node scroll_to_top ie_css_optimizer securepages stickynav uc_webform update_advanced jquery_countdown cck_fieldgroup_tabs taxonomy_hide christmas_snow taxonomy_manager views_nivo_slider views_slideshow_slider views_slideshow views_ticker webform yosia_uc_posurl menu_html maillog devel contemplate ckeditor smtp ds ds_ui nd ajax_load

drush pm-uninstall  imageapi imagecache imagecache_ui  absolute_messages nodewords exclude_node_title page_title uc_discounts_alt advanced_help uc_multi_stock backup_migrate block_class block_edit floating_block protected_node scroll_to_top ie_css_optimizer securepages stickynav uc_webform update_advanced jquery_countdown cck_fieldgroup_tabs taxonomy_hide christmas_snow taxonomy_manager views_nivo_slider views_slideshow_slider views_slideshow views_ticker webform yosia_uc_posurl menu_html maillog devel contemplate ckeditor smtp ds ds_ui nd


drush dl migrate entity token rules views admin_menu module_filter cck editablefields link ctools date ds nd imageapi phpmailer regcode captcha
ajax_load jquery_ui jquery_update views views_bulk_operations views_export views_filters_populate xmlsitemap bueditor checkbox_validate email_registration fboauth legal libraries lightbox2 pathauto token transliteration

mkdir default/files/styles
mkdir default/temp
chmod -R 777 default/temp
chmod -R 777 default/files/styles

drush dl   ubercart uc_addresses uc_advanced_catalog uc_ajax_cart uc_bank_transfer uc_coupon uc_csv uc_discounts_alt uc_extra_fields_pane uc_multi_stock uc_optional_checkout_review uc_order_prefix uc_out_of_stock uc_simple_quote uc_views uc_webform



drush en admin_menu module_filter cck migrate migrate_ui content_migrate

drush en editablefields link ctools date

drush en ds ds_ui nd

drush en imageapi_gd

drush en phpmailer regcode captcha

drush en views views_ui fboauth legal libraries lightbox2 pathauto token transliteration

drush en uc_cart uc_order uc_product uc_store uc_catalog uc_discounts uc_payment uc_attribute uc_reports uc_roles uc_shipping uc_quote uc_cart_links uc_extra_fields_pane uc_optional_checkout_review uc_order_prefix uc_out_of_stock uc_simple_quote uc_stock uc_addresses uc_advanced_catalog uc_flatrate uc_bank_transfer uc_payment_pack uc_views uc_views_addresses uc_views_attribute uc_views_bulk_operations uc_views_marketing

drush en jquery_ui jquery_update

/admin/structure/content_migrate

啟用預設模組
drush pm-enable standard

把語系改成台灣
admin/config/regional/settings
PS.有一些奇怪的錯誤訊息,改完後就解決了!

留言

熱門文章