I can't successfully import! Keep getting this error message:

"An illegal choice has been detected. Please contact the site administrator."

Logs say this:
Location http://drupal6.tentofappointment.com/admin/content/types/import
Referrer http://drupal6.tentofappointment.com/admin/content/types/import
Message Illegal choice in Select the default context element.
Severity error

I like using this editor, but I didn't have this problem when I used the WYSIWYG bridge to CKEditor.

Any solutions beside going back to the bridge API?

Comments

Vc Developer’s picture

Actually I'm getting the same failure using API bridge too!

dczepierga’s picture

Status: Active » Postponed (maintainer needs more info)

Could u give some more information? Because for now i don't know how to help u...
Pls write which module do u use to import, and instruction step by step what'd u do...
It helps as to reproduce this bug and after that to fix it or find any solution.

Greetings

Vc Developer’s picture

Thanks for your reply! I was importing a content type from the same type to make it in another type. For example a Story Type to a Message Type and here how it looks:

$content['type']  = array (
  'name' => 'Natsarim Video Message',
  'type' => 'natsarim_vmessage',
  'description' => 'A story, similar in form to a page, is ideal for creating and displaying content that informs or engages website visitors. Press releases, site announcements, and informal blog-like entries may all be created with a story entry. By default, a story entry is automatically featured on the site\'s initial home page, and provides the ability to post comments.',
  'title_label' => 'Title',
  'body_label' => 'Body',
  'min_word_count' => '0',
  'help' => '',
  'node_options' => 
  array (
    'status' => true,
    'revision' => true,
    'promote' => false,
    'sticky' => false,
  ),
  'node_expire' => '',
  'node_expire_max' => '',
  'node_expire_required' => false,
  'language_content_type' => '0',
  'upload' => '1',
  'node_default_display_page' => '0',
  'node_default_display_teaser' => '0',
  'show_preview_changes' => true,
  'show_diff_inline' => false,
  'enable_revisions_page' => true,
  'ffp_upload' => 
  array (
    'file_path' => '',
    'file_path_cleanup' => 
    array (
      'file_path_pathauto' => 0,
      'file_path_tolower' => 0,
      'file_path_transliterate' => 0,
    ),
    'file_name' => '[filefield-onlyname-original].[filefield-extension-original]',
    'file_name_cleanup' => 
    array (
      'file_name_pathauto' => 0,
      'file_name_tolower' => 0,
      'file_name_transliterate' => 0,
    ),
    'file_alias' => 'sites/drupal6c.tentofappointment.com/files/[filefield-onlyname-original].[filefield-extension-original]',
    'file_alias_display' => 0,
    'file_alias_cleanup' => 
    array (
      'file_alias_pathauto' => 0,
      'file_alias_tolower' => 0,
      'file_alias_transliterate' => 0,
    ),
    'retroactive_update' => '',
    'active_updating' => 0,
  ),
  'old_type' => 'natsarim_vmessage',
  'orig_type' => '',
  'module' => 'node',
  'custom' => '1',
  'modified' => '1',
  'locked' => '0',
  'image_attach' => '0',
  'image_attach_maximum' => '0',
  'image_attach_size_teaser' => 'thumbnail',
  'image_attach_size_body' => 'thumbnail',
  'nodewords_edit_metatags' => 1,
  'nodewords_metatags_generation_method' => '0',
  'nodewords_metatags_generation_source' => '2',
  'nodewords_use_alt_attribute' => 1,
  'nodewords_filter_modules_output' => 
  array (
    'imagebrowser' => false,
    'img_assist' => false,
  ),
  'nodewords_filter_regexp' => '',
  'comment' => '2',
  'comment_default_mode' => '4',
  'comment_default_order' => '1',
  'comment_default_per_page' => '50',
  'comment_controls' => '3',
  'comment_anonymous' => 0,
  'comment_subject_field' => '1',
  'comment_preview' => '1',
  'comment_form_location' => '0',
  'context_node' => 
  array (
    'anonymous_ui' => false,
    'authenticated_ui' => false,
    'did_you_know_ui' => false,
    'front_ui' => false,
  ),
  'context_node_default' => false,
  'custom_breadcrumbs_show_form_table' => 1,
  'scheduler_publish_enable' => 0,
  'scheduler_publish_touch' => 0,
  'scheduler_publish_required' => 0,
  'scheduler_publish_revision' => 0,
  'scheduler_unpublish_enable' => 0,
  'scheduler_unpublish_required' => 0,
  'scheduler_unpublish_revision' => 0,
  'skinr_settings' => 
  array (
    'comment_group' => 
    array (
      'garland' => 
      array (
        'advanced' => 
        array (
          '_additional' => '',
          '_template' => '',
        ),
      ),
      'mix_and_match' => 
      array (
        'widgets' => 
        array (
          'grid-width' => 
          array (
          ),
          'fusion-content-alignment' => '',
          'background-color' => '',
          'link-color' => '',
        ),
        'advanced' => 
        array (
          '_additional' => '',
          '_template' => '',
        ),
      ),
    ),
    'node_group' => 
    array (
      'garland' => 
      array (
        'advanced' => 
        array (
          '_additional' => '',
          '_template' => '',
        ),
      ),
      'mix_and_match' => 
      array (
        'widgets' => 
        array (
          'grid-width' => 
          array (
          ),
          'fusion-content-alignment' => '',
          'fusion-float-imagefield' => '',
          'background-color' => '',
          'link-color' => '',
        ),
        'advanced' => 
        array (
          '_additional' => '',
          '_template' => '',
        ),
      ),
    ),
  ),
);
$content['fields']  = array (
  0 => 
  array (
    'label' => 'Image',
    'field_name' => 'field_image',
    'type' => 'filefield',
    'widget_type' => 'imagefield_widget',
    'change' => 'Change basic information',
    'weight' => '31',
    'file_extensions' => 'png gif jpg jpeg',
    'progress_indicator' => 'bar',
    'file_path' => '',
    'max_filesize_per_file' => '',
    'max_filesize_per_node' => '',
    'max_resolution' => 0,
    'min_resolution' => 0,
    'custom_alt' => 0,
    'alt' => '',
    'custom_title' => 0,
    'title_type' => 'textfield',
    'title' => '',
    'use_default_image' => 0,
    'default_image_upload' => '',
    'default_image' => NULL,
    'description' => 'Upload the image of this video.',
    'ffp_field_image' => 
    array (
      'file_path' => 'images/video',
      'file_path_cleanup' => 
      array (
        'file_path_pathauto' => 0,
        'file_path_tolower' => 1,
        'file_path_transliterate' => 0,
      ),
      'file_name' => '[filefield-onlyname-original].[filefield-extension-original]',
      'file_name_cleanup' => 
      array (
        'file_name_pathauto' => 0,
        'file_name_tolower' => 1,
        'file_name_transliterate' => 0,
      ),
      'file_alias' => 'sites/drupal6.tentofappointment.com/files/[filefield-onlyname-original].[filefield-extension-original]',
      'file_alias_display' => 0,
      'file_alias_cleanup' => 
      array (
        'file_alias_pathauto' => 0,
        'file_alias_tolower' => 1,
        'file_alias_transliterate' => 0,
      ),
      'retroactive_update' => '',
      'active_updating' => 0,
    ),
    'group' => false,
    'required' => 0,
    'multiple' => '0',
    'list_field' => '0',
    'list_default' => 1,
    'description_field' => '0',
    'op' => 'Save field settings',
    'module' => 'filefield',
    'widget_module' => 'imagefield',
    'columns' => 
    array (
      'fid' => 
      array (
        'type' => 'int',
        'not null' => false,
        'views' => true,
      ),
      'list' => 
      array (
        'type' => 'int',
        'size' => 'tiny',
        'not null' => false,
        'views' => true,
      ),
      'data' => 
      array (
        'type' => 'text',
        'serialize' => true,
        'views' => true,
      ),
    ),
    'display_settings' => 
    array (
      'label' => 
      array (
        'format' => 'hidden',
      ),
      'format' => 'default',
      'css-class' => 
      array (
      ),
      'region' => 'disabled',
      'ds_weight' => '-93',
      'full' => 
      array (
        'label' => 
        array (
          'format' => 'hidden',
        ),
        'format' => 'imagefield__cloud_zoom__Featured_Video__Featured_Video',
        'css-class' => '',
        'region' => 'disabled',
        'type' => 'filefield',
        'parent_id' => '',
        'field_id' => 'field_image',
        'label_value' => '',
        'exclude' => 1,
        'weight' => '-93',
      ),
      5 => 
      array (
        'format' => 'image_plain',
        'exclude' => 0,
      ),
      'teaser' => 
      array (
        'format' => 'image_plain',
        'exclude' => 0,
      ),
      4 => 
      array (
        'format' => 'image_plain',
        'exclude' => 0,
      ),
      2 => 
      array (
        'format' => 'image_plain',
        'exclude' => 0,
      ),
      3 => 
      array (
        'format' => 'image_plain',
        'exclude' => 0,
      ),
      'token' => 
      array (
        'format' => 'image_plain',
        'exclude' => 0,
      ),
    ),
  ),
);
$content['extra']  = array (
  'title' => '-5',
  'body_field' => '0',
  'revision_information' => '20',
  'author' => '20',
  'options' => '25',
  'comment_settings' => '30',
  'menu' => '-2',
  'book' => '10',
  'path' => '30',
  'attachments' => '30',
  'context_node' => '0',
  'custom_breadcrumbs' => '30',
  'nodewords' => '10',
);

I created an issue with CCK also hoping they could direct me to a solution, because it may be there problem.

dczepierga’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

Issue is not active over 3 month so i closed it.

If problem still exists pls update to last DEV version of CKEditor module, last CKEditor library and then try to reproduce this problem again. If it doesn't help pls report it and write as much details as u can.

Greetings