Multilingual Error Copying One Language To Another

Permalink 0 0 Browser Info Environment
We have an English USA site setup with a lot of pages and when we try to clone the tree to a new language, we get an error. I have attached the screenshot showing the error.

In looking around, there were quit a few issues that were similar, but the problem seemed to be with a cParentID being null or zero. This is a different issue with duplicate entry for some page IDs.

I noticed in some of the other posts it might have something to do with a language already setup and then deleted, but I have tried with languages I have never setup and it always throws the same error.

1 Attachment


Status: New
HDMZDevelopment replied on at Permalink Reply
I think I have figured out why this is happening, but not at all sure what to do about it.

The errors with the duplicate entries has something to do with pages that I have aliases setup for. If I delete those aliases before I copy the entire tree, it seems to work just fine, but then I have to go back in an re setup all of the aliases, in the original and new languages.

Thoughts?

concrete5 Environment Information

# concrete5 Version
Core Version - 8.4.3
Version Installed - 8.4.3
Database Version - 20180716000000

# concrete5 Packages
ExchangeCore reCAPTCHA (1.1.1), HDMZ Build (1.5.8), HDMZ Express Custom (0.9), HDMZ Site Search (0.0.1), Page Redirect (2.0), Page Selector Attribute (2.0)

# concrete5 Overrides
blocks/hdmz_google_search/add.php, blocks/hdmz_google_search/icon.png, blocks/hdmz_google_search/controller.php, blocks/hdmz_google_search/db.xml, blocks/hdmz_google_search/view.php, blocks/hdmz_google_search/edit.php, blocks/hdmz_google_search/form_setup_html.php, blocks/hdmz_google_search, blocks/switch_language/view.php, blocks/switch_language/view.js, blocks/switch_language/view.css, blocks/switch_language, blocks/core_area_layout/templates/accordion/view.php, blocks/core_area_layout/templates/accordion, blocks/core_area_layout/templates/image-layout/view.php, blocks/core_area_layout/templates/image-layout, blocks/core_area_layout/templates/horizontal-image-scroll/view.php, blocks/core_area_layout/templates/horizontal-image-scroll, blocks/core_area_layout/templates, blocks/core_area_layout, blocks/express_entry_list/controller.php, blocks/express_entry_list/templates/krossflo_parts/view.php, blocks/express_entry_list/templates/krossflo_parts/view.css, blocks/express_entry_list/templates/krossflo_parts, blocks/express_entry_list/templates, blocks/express_entry_list, blocks/hdmz_fess_site_search/view.php, blocks/hdmz_fess_site_search/view.css, blocks/hdmz_fess_site_search, blocks/image_slider/templates/random_image/view.php, blocks/image_slider/templates/random_image/view.css, blocks/image_slider/templates/random_image, blocks/image_slider/templates, blocks/image_slider, blocks/index.html, blocks/accordion/Layer_24.png, blocks/accordion/add.php, blocks/accordion/icon.png, blocks/accordion/controller.php, blocks/accordion/db.xml, blocks/accordion/view.php, blocks/accordion/templates/dropdown-list/view.php, blocks/accordion/templates/dropdown-list/view.js, blocks/accordion/templates/dropdown-list/view.css, blocks/accordion/templates/dropdown-list, blocks/accordion/templates/leadership/view.php, blocks/accordion/templates/leadership/view.js, blocks/accordion/templates/leadership/view.css, blocks/accordion/templates/leadership, blocks/accordion/templates, blocks/accordion/edit.php, blocks/accordion/view.js, blocks/accordion/form.php, blocks/accordion/view.css, blocks/accordion, blocks/autonav/templates/repligen_mega_menu/view.php, blocks/autonav/templates/repligen_mega_menu/view.js, blocks/autonav/templates/repligen_mega_menu/view.css, blocks/autonav/templates/repligen_mega_menu, blocks/autonav/templates, blocks/autonav, blocks/hdmz_vimeo/add.php, blocks/hdmz_vimeo/icon.png, blocks/hdmz_vimeo/controller.php, blocks/hdmz_vimeo/db.xml, blocks/hdmz_vimeo/view.php, blocks/hdmz_vimeo/edit.php, blocks/hdmz_vimeo/view.js, blocks/hdmz_vimeo/view.css, blocks/hdmz_vimeo/form_setup_html.php, blocks/hdmz_vimeo, blocks/image/controller.php, blocks/image/db.xml, blocks/image/templates/image_with_blocks.php, blocks/image/templates/descripton_on_overlay.php, blocks/image/templates/image_with_description/view.php, blocks/image/templates/image_with_description, blocks/image/templates, blocks/image/form.php, blocks/image, blocks/hdmz_pipeline/add.php, blocks/hdmz_pipeline/icon.png, blocks/hdmz_pipeline/controller.php, blocks/hdmz_pipeline/scrapbook.php, blocks/hdmz_pipeline/db.xml, blocks/hdmz_pipeline/view.php, blocks/hdmz_pipeline/edit.php, blocks/hdmz_pipeline/view.css, blocks/hdmz_pipeline/form_setup_html.php, blocks/hdmz_pipeline, blocks/page_list/templates/4_col_full_overlay.php, blocks/page_list/templates/2_col_partial_overlay.php, blocks/page_list/templates/2_col_full_overlay.php, blocks/page_list/templates/3_col_color_partial_overlay.php, blocks/page_list/templates/4_col_partial_overlay.php, blocks/page_list/templates/4_col_color_partial_overlay.php, blocks/page_list/templates/3_col_partial_overlay.php, blocks/page_list/templates/2_col_color_partial_overlay.php, blocks/page_list/templates/3_col_full_overlay.php, blocks/page_list/templates, blocks/page_list, blocks/rss_displayer/view.php, blocks/rss_displayer/templates/stock_quote/view.php, blocks/rss_displayer/templates/stock_quote, blocks/rss_displayer/templates, blocks/rss_displayer/view.js, blocks/rss_displayer/view.css, blocks/rss_displayer, blocks/hdmz_tab_content/add.php, blocks/hdmz_tab_content/icon.png, blocks/hdmz_tab_content/controller.php, blocks/hdmz_tab_content/db.xml, blocks/hdmz_tab_content/view.php, blocks/hdmz_tab_content/templates/tabs_view/view.php, blocks/hdmz_tab_content/templates/tabs_view, blocks/hdmz_tab_content/templates, blocks/hdmz_tab_content/edit.php, blocks/hdmz_tab_content/form_setup_html.php, blocks/hdmz_tab_content, blocks/hdmz_accordion_filter/add.php, blocks/hdmz_accordion_filter/icon.png, blocks/hdmz_accordion_filter/controller.php, blocks/hdmz_accordion_filter/db.xml, blocks/hdmz_accordion_filter/view.php, blocks/hdmz_accordion_filter/edit.php, blocks/hdmz_accordion_filter/form_setup_html.php, blocks/hdmz_accordion_filter, controllers/single_page/login.php, controllers/single_page/repligen_store.php, controllers/single_page/register.php, controllers/single_page/download_file.php, controllers/single_page/tangenxrfq.php, controllers/single_page/dashboard/tangenxrfq/import.php, controllers/single_page/dashboard/tangenxrfq/tangenxrfq_requests.php, controllers/single_page/dashboard/tangenxrfq, controllers/single_page/dashboard/krosflo/import.php, controllers/single_page/dashboard/krosflo, controllers/single_page/dashboard/tangenxrfq.php, controllers/single_page/dashboard/krosflo.php, controllers/single_page/dashboard/configurator/import.php, controllers/single_page/dashboard/configurator/configurator_invoices.php, controllers/single_page/dashboard/configurator, controllers/single_page/dashboard/configurator.php, controllers/single_page/dashboard, controllers/single_page/krosflo.php, controllers/single_page/video_library.php, controllers/single_page/resins.php, controllers/single_page/configurator.php, controllers/single_page, controllers/index.html, elements/index.html, elements/tangenxrfq/list.php, elements/tangenxrfq, elements/tangenxrfq.php, elements/dashboard/tangenxrfq/list.php, elements/dashboard/tangenxrfq/form.php, elements/dashboard/tangenxrfq, elements/dashboard/krosflo/list.php, elements/dashboard/krosflo/form.php, elements/dashboard/krosflo, elements/dashboard/configurator/list.php, elements/dashboard/configurator/form.php, elements/dashboard/configurator, elements/dashboard, elements/configurator/order.php, elements/configurator/list.php, elements/configurator, elements/header_required.php, elements/configurator.php, attributes/textarea/composer.php, attributes/textarea, attributes/text/composer.php, attributes/text, attributes/select/composer.php, attributes/select, authentication/index.html, authentication/concrete/form.php, authentication/concrete, jobs/index.html, css/tangenxrfq/form.css, css/tangenxrfq, css/app.css, css/krosflo/form.css, css/krosflo, css/configurator/form.css, css/configurator, js/mobile-menu.js, js/bootstrap/bootstrap.tooltip.js, js/bootstrap, js/jquery.tablesorter.min.js, js/modernizr.min.js, js/scrollreveal.min.js, js/main.js, js/bootstrap.min.js, js/scripts.js, js/date.js, js/configurator/import_admin.js, js/configurator, mail/index.html, mail/tangenxrfq_notification.php, mail/configurator_notification.php, mail/salesforce_error_notice.php, mail/tangenxrfq_user_notification.php, mail/configurator_user_notification.php, mail/blacklist_registrant.php, mail/blacklist_registrant_user.php, mail/shopify_error_notice.php, single_pages/video_library/view.php, single_pages/video_library, single_pages/login.php, single_pages/contact/view.php, single_pages/contact/view-old.php, single_pages/contact, single_pages/index.html, single_pages/repligen_store.php, single_pages/tangenxrfq/view.php, single_pages/tangenxrfq, single_pages/register.php, single_pages/download_file.php, single_pages/krosflo/view.php, single_pages/krosflo, single_pages/dashboard/tangenxrfq/import.php, single_pages/dashboard/tangenxrfq/tangenxrfq_requests.php, single_pages/dashboard/tangenxrfq, single_pages/dashboard/krosflo/import.php, single_pages/dashboard/krosflo, single_pages/dashboard/tangenxrfq.php, single_pages/dashboard/krosflo.php, single_pages/dashboard/configurator/import.php, single_pages/dashboard/configurator/configurator_invoices.php, single_pages/dashboard/configurator, single_pages/dashboard/configurator.php, single_pages/dashboard, single_pages/configurator/view.php, single_pages/configurator, single_pages/account/edit_profile.php, single_pages/account, single_pages/resins/view.php, single_pages/resins, themes/index.html, themes/repligen2018/page_forbidden.php, themes/repligen2018/right_sidebar.php, themes/repligen2018/css/blocks/accordions.less, themes/repligen2018/css/blocks/page-list.less, themes/repligen2018/css/blocks/image.less, themes/repligen2018/css/blocks/page-title.less, themes/repligen2018/css/blocks, themes/repligen2018/css/menu.less, themes/repligen2018/css/bootstrap-select.css, themes/repligen2018/css/styles.xml, themes/repligen2018/css/dura-responsive.css, themes/repligen2018/css/carousel.css, themes/repligen2018/css/dura-main.css, themes/repligen2018/css/bootstrap-modified.css, themes/repligen2018/css/color-gray.css, themes/repligen2018/css/typography.less, themes/repligen2018/css/build/blocks/testimonial.less, themes/repligen2018/css/build/blocks/date-navigation.less, themes/repligen2018/css/build/blocks/page-list.less, themes/repligen2018/css/build/blocks/image.less, themes/repligen2018/css/build/blocks/page-title-option-byline.less, themes/repligen2018/css/build/blocks/feature-template-hover-description.less, themes/repligen2018/css/build/blocks/image-slider.less, themes/repligen2018/css/build/blocks/topic-list.less, themes/repligen2018/css/build/blocks/page-attribute-display.less, themes/repligen2018/css/build/blocks/tags.less, themes/repligen2018/css/build/blocks/page-title.less, themes/repligen2018/css/build/blocks/next-previous.less, themes/repligen2018/css/build/blocks/feature.less, themes/repligen2018/css/build/blocks/faq.less, themes/repligen2018/css/build/blocks/page-list-template-thumbnail-grid.less, themes/repligen2018/css/build/blocks/page-list-option-buttons.less, themes/repligen2018/css/build/blocks, themes/repligen2018/css/build/bootstrap-3.2.0/forms.less, themes/repligen2018/css/build/bootstrap-3.2.0/utilities.less, themes/repligen2018/css/build/bootstrap-3.2.0/navs.less, themes/repligen2018/css/build/bootstrap-3.2.0/component-animations.less, themes/repligen2018/css/build/bootstrap-3.2.0/responsive-utilities.less, themes/repligen2018/css/build/bootstrap-3.2.0/grid.less, themes/repligen2018/css/build/bootstrap-3.2.0/breadcrumbs.less, themes/repligen2018/css/build/bootstrap-3.2.0/media.less, themes/repligen2018/css/build/bootstrap-3.2.0/mixins/forms.less, themes/repligen2018/css/build/bootstrap-3.2.0/mixins/text-emphasis.less, themes/repligen2018/css/build/bootstrap-3.2.0/mixins/nav-vertical-align.less, themes/repligen2018/css/build/bootstrap-3.2.0/mixins/table-row.less, themes/repligen2018/css/build/bootstrap-3.2.0/mixins/hide-text.less, themes/repligen2018/css/build/bootstrap-3.2.0/mixins/grid.less, themes/repligen2018/css/build/bootstrap-3.2.0/mixins/gradients.less, themes/repligen2018/css/build/bootstrap-3.2.0/mixins/nav-divider.less, themes/repligen2018/css/build/bootstrap-3.2.0/mixins/buttons.less, themes/repligen2018/css/build/bootstrap-3.2.0/mixins/list-group.less, themes/repligen2018/css/build/bootstrap-3.2.0/mixins/image.less, themes/repligen2018/css/build/bootstrap-3.2.0/mixins/reset-filter.less, themes/repligen2018/css/build/bootstrap-3.2.0/mixins/text-overflow.less, themes/repligen2018/css/build/bootstrap-3.2.0/mixins/size.less, themes/repligen2018/css/build/bootstrap-3.2.0/mixins/background-variant.less, themes/repligen2018/css/build/bootstrap-3.2.0/mixins/pagination.less, themes/repligen2018/css/build/bootstrap-3.2.0/mixins/center-block.less, themes/repligen2018/css/build/bootstrap-3.2.0/mixins/responsive-visibility.less, themes/repligen2018/css/build/bootstrap-3.2.0/mixins/labels.less, themes/repligen2018/css/build/bootstrap-3.2.0/mixins/grid-framework.less, themes/repligen2018/css/build/bootstrap-3.2.0/mixins/border-radius.less, themes/repligen2018/css/build/bootstrap-3.2.0/mixins/clearfix.less, themes/repligen2018/css/build/bootstrap-3.2.0/mixins/opacity.less, themes/repligen2018/css/build/bootstrap-3.2.0/mixins/alerts.less, themes/repligen2018/css/build/bootstrap-3.2.0/mixins/dropdowns.less, themes/repligen2018/css/build/bootstrap-3.2.0/mixins/popovers.less, themes/repligen2018/css/build/bootstrap-3.2.0/mixins/progress-bar.less, themes/repligen2018/css/build/bootstrap-3.2.0/mixins/vendor-prefixes.less, themes/repligen2018/css/build/bootstrap-3.2.0/mixins/resize.less, themes/repligen2018/css/build/bootstrap-3.2.0/mixins/modals.less, themes/repligen2018/css/build/bootstrap-3.2.0/mixins/tooltip.less, themes/repligen2018/css/build/bootstrap-3.2.0/mixins/panels.less, themes/repligen2018/css/build/bootstrap-3.2.0/mixins/tab-focus.less, themes/repligen2018/css/build/bootstrap-3.2.0/mixins, themes/repligen2018/css/build/bootstrap-3.2.0/carousel.less, themes/repligen2018/css/build/bootstrap-3.2.0/print.less, themes/repligen2018/css/build/bootstrap-3.2.0/buttons.less, themes/repligen2018/css/build/bootstrap-3.2.0/list-group.less, themes/repligen2018/css/build/bootstrap-3.2.0/navbar.less, themes/repligen2018/css/build/bootstrap-3.2.0/button-groups.less, themes/repligen2018/css/build/bootstrap-3.2.0/progress-bars.less, themes/repligen2018/css/build/bootstrap-3.2.0/bootstrap.less, themes/repligen2018/css/build/bootstrap-3.2.0/glyphicons.less, themes/repligen2018/css/build/bootstrap-3.2.0/variables.less, themes/repligen2018/css/build/bootstrap-3.2.0/responsive-embed.less, themes/repligen2018/css/build/bootstrap-3.2.0/jumbotron.less, themes/repligen2018/css/build/bootstrap-3.2.0/badges.less, themes/repligen2018/css/build/bootstrap-3.2.0/pagination.less, themes/repligen2018/css/build/bootstrap-3.2.0/pager.less, themes/repligen2018/css/build/bootstrap-3.2.0/input-groups.less, themes/repligen2018/css/build/bootstrap-3.2.0/type.less, themes/repligen2018/css/build/bootstrap-3.2.0/normalize.less, themes/repligen2018/css/build/bootstrap-3.2.0/theme.less, themes/repligen2018/css/build/bootstrap-3.2.0/code.less, themes/repligen2018/css/build/bootstrap-3.2.0/thumbnails.less, themes/repligen2018/css/build/bootstrap-3.2.0/labels.less, themes/repligen2018/css/build/bootstrap-3.2.0/alerts.less, themes/repligen2018/css/build/bootstrap-3.2.0/dropdowns.less, themes/repligen2018/css/build/bootstrap-3.2.0/popovers.less, themes/repligen2018/css/build/bootstrap-3.2.0/wells.less, themes/repligen2018/css/build/bootstrap-3.2.0/scaffolding.less, themes/repligen2018/css/build/bootstrap-3.2.0/tables.less, themes/repligen2018/css/build/bootstrap-3.2.0/modals.less, themes/repligen2018/css/build/bootstrap-3.2.0/mixins.less, themes/repligen2018/css/build/bootstrap-3.2.0/close.less, themes/repligen2018/css/build/bootstrap-3.2.0/tooltip.less, themes/repligen2018/css/build/bootstrap-3.2.0/panels.less, themes/repligen2018/css/build/bootstrap-3.2.0, themes/repligen2018/css/build/body.less, themes/repligen2018/css/build/core/include/mixins.less, themes/repligen2018/css/build/core/include, themes/repligen2018/css/build/core, themes/repligen2018/css/build/captcha.less, themes/repligen2018/css/build/edit-mode.less, themes/repligen2018/css/build/buttons.less, themes/repligen2018/css/build/reset.less, themes/repligen2018/css/build/pagination.less, themes/repligen2018/css/build/add-ons/calendar.less, themes/repligen2018/css/build/add-ons, themes/repligen2018/css/build/search.less, themes/repligen2018/css/build/errors.less, themes/repligen2018/css/build/footer.less, themes/repligen2018/css/build/mobile/navigation.less, themes/repligen2018/css/build/mobile, themes/repligen2018/css/build/content.less, themes/repligen2018/css/build/header.less, themes/repligen2018/css/build/fonts/blue-sky.less, themes/repligen2018/css/build/fonts/night-road.less, themes/repligen2018/css/build/fonts/royal.less, themes/repligen2018/css/build/fonts/defaults.less, themes/repligen2018/css/build/fonts/hdmz.less, themes/repligen2018/css/build/fonts, themes/repligen2018/css/build/custom-design-classes/block-sidebar-padded.less, themes/repligen2018/css/build/custom-design-classes/testimonial-bio.less, themes/repligen2018/css/build/custom-design-classes/block-sidebar-wrapped.less, themes/repligen2018/css/build/custom-design-classes/area-content-accent.less, themes/repligen2018/css/build/custom-design-classes/blog-entry-list.less, themes/repligen2018/css/build/custom-design-classes/recent-blog-entry.less, themes/repligen2018/css/build/custom-design-classes, themes/repligen2018/css/build/mixins.less, themes/repligen2018/css/build/breadcrumb.less, themes/repligen2018/css/build/miscellaneous-styles.less, themes/repligen2018/css/build, themes/repligen2018/css/presets/blue-sky.less, themes/repligen2018/css/presets/night-road.less, themes/repligen2018/css/presets/royal.less, themes/repligen2018/css/presets/defaults.less, themes/repligen2018/css/presets/hdmz.less, themes/repligen2018/css/presets, themes/repligen2018/css/import.less, themes/repligen2018/css/main.less, themes/repligen2018/css, themes/repligen2018/images/pin.png, themes/repligen2018/images/background-slider-night-road.png, themes/repligen2018/images/background-slider-blue-sky.png, themes/repligen2018/images/background-slider-royal.png, themes/repligen2018/images/map.png, themes/repligen2018/images/background-slider-default.png, themes/repligen2018/images/map-mobile.png, themes/repligen2018/images/background.png, themes/repligen2018/images/hq-pin.png, themes/repligen2018/images/fpo.png, themes/repligen2018/images/icons/remove_icon.png, themes/repligen2018/images/icons/user.png, themes/repligen2018/images/icons/delete_small.png, themes/repligen2018/images/icons, themes/repligen2018/images/default-banner.jpg, themes/repligen2018/images, themes/repligen2018/js/bootstrap-select.js, themes/repligen2018/js/scripts.js, themes/repligen2018/js/dura-main.js, themes/repligen2018/js/carousel.js, themes/repligen2018/js, themes/repligen2018/blank.php, themes/repligen2018/page_theme.php, themes/repligen2018/page_not_found.php, themes/repligen2018/home.php, themes/repligen2018/left_sidebar.php, themes/repligen2018/elements/footer_bottom.php, themes/repligen2018/elements/header_top.php, themes/repligen2018/elements/header.php, themes/repligen2018/elements/footer.php, themes/repligen2018/elements, themes/repligen2018/accordions.php, themes/repligen2018/view.php, themes/repligen2018/thumbnail.png, themes/repligen2018/default.php, themes/repligen2018/full.php, themes/repligen2018, tools/index.html, tools/track_protected_video.php, tools/async_news_feed.php, page_templates/index.html, views/index.html, src/Area/GlobalArea.php, src/Area, src/Mail/Service.php, src/Mail/MailServiceProvider.php, src/Mail, src/SalesforceProvider.php, src/UserCurrencyProvider.php, src/ShopifyMultipassProvider.php, src/TangenxrfqHtmlRfqProvider.php, src/ConfiguratorHtmlInvoiceProvider.php

# concrete5 Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache/2.4.18 (Ubuntu)

# Server API
apache2handler

# PHP Version
7.0.32-0ubuntu0.16.04.1

# PHP Extensions
apache2handler, bcmath, bz2, calendar, Core, ctype, curl, date, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, igbinary, imagick, imap, intl, json, ldap, libxml, mbstring, mcrypt, memcached, mongodb, mysqli, mysqlnd, odbc, openssl, pcre, PDO, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, readline, redis, Reflection, session, shmop, SimpleXML, sockets, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 1024M
post_max_size - 300M
sql.safe_mode - Off
upload_max_filesize - 300M
ldap.max_links - Unlimited
memcached.sess_lock_max_wait - 0
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
opcache.max_accelerated_files - 2000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36