HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


[v5.0.2 beta] Error editing catalogue entry

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#63413 (In Topic #13731)
Avatar

Well-settled

Chris,

I am sorry to bother you with the catalogue stuff, but after upgrading to 5.0.2 beta, I get an error when
I browse any catalogue categories as a staff member (popup windows):

1: fractional_edit is not defined
Lost redirect



When trying to edit a catalogue entry, it comes to this error:


 PHP NOTICE [8] Undefined variable: field_num in /opt/lampp/htdocs/mtbrrmag/cms/pages/modules/cms_catalogues.
php on line 210 (version: 5.0.2 beta 1, PHP version: 5.2.2, URL: /cms/cms_catalogues/_edit_entry/104.htm?catalogue_name=bike_
komponenten&redirect=http%3A%3Aslash%3A%3Aslash%3Awww.mountai
nbike-rennrad-magazin.de%3Aslash%3Asite%3Aslash%3Acatalogues%
3Aslash%3Aentry%3Aslash%3Akomponenten_zubehr%3Aslash%3Abeklei
dung%3Aslash%3Ahelme%3Aslash%3A_giro_fahrradhelm_ionos.htm)
Hier ist der Stack-Trace:

Below is a stack trace revealing the state the software was in when the error occurred. If this represents a bug in the unmodified software, you may want to check ocPortal website for a fix, and if there isn't one, report this as a bug. Please note that merely posting a stack trace is not sufficient for us to solve your problem; the stack trace is just an aid that presents us with additional information. We still need to know the error message, what you tried to do, how you tried to do it, version numbers, and any other appropriate information.
We apologise for this problem and if it's a bug we hope you will work with us so that we can fix it for you promptly.
File    '/opt/lampp/htdocs/mtbrrmag/sources/failure.php
'
Line    '594'
Function    'get_html_trace'
Args    

File    '/opt/lampp/htdocs/mtbrrmag/sources/global2.php
'
Line    '920'
Function    '_fatal_exit'
Args    

'PHP NOTICE [8] Undefined variable: field_num in /opt/lampp/htdocs/mtbrrmag/cms/pages/modules/cms_catalogues.
php on line 210'

File    '/opt/lampp/htdocs/mtbrrmag/sources/failure.php
'
Line    '161'
Function    'fatal_exit'
Args    

'PHP NOTICE [8] Undefined variable: field_num in /opt/lampp/htdocs/mtbrrmag/cms/pages/modules/cms_catalogues.
php on line 210'

File    '/opt/lampp/htdocs/mtbrrmag/sources/global2.php
'
Line    '779'
Function    '_ocportal_error_handler'
Args    

'notice'

8

'Undefined variable: field_num'

'/opt/lampp/htdocs/mtbrrmag/cms/pages/modules/cms_catalogues
.php'

210

File    '/opt/lampp/htdocs/mtbrrmag/cms/pages/modules/c
ms_catalogues.php'
Line    '210'
Function    'ocportal_error_handler'
Args    …

File    '/opt/lampp/htdocs/mtbrrmag/cms/pages/modules/c
ms_catalogues.php'
Line    '297'
Function    'get_form_fields'
Class    'Module_cms_catalogues'
Type    '->'
Object    Module_cms_catalogues::__set_state(array( 'lang_type' => 'CATALOGUE_ENTRY', 'select_name' => 'ENTRY', 'permissions_require' => 'mid', 'permissions_cat_require' => 'catalogues_catalogue', 'permissions_cat_name' => 'catalogue_name', 'permissions_cat_require_b' => 'catalogues_category', 'permissions_cat_name_b' => 'category_id', 'user_facing' => true, 'seo_type' => 'catalogue_entry', 'catalogue' => true, 'award_type' => 'catalogue_entry', 'possibly_some_kind_of_upload' => true, 'do_preview' => NULL, 'menu_label' => 'CATALOGUES', 'donext_category_id' => NULL, 'donext_catalogue_name' => NULL, 'module_type' => 'catalogues', 'redirect_type' => NULL, 'code_require' => NULL, 'javascript_require' => NULL, 'skip_validation' => false, 'default_type' => 'misc', 'author' => 'Chris Graham', 'organisation' => 'ocProducts', 'send_validation_request' => true, 'check_validation' => true, 'archive_entry_point' => NULL, 'archive_label' => NULL, 'view_entry_point' => NULL, 'protect_first' => 0, 'permission_page' => NULL, 'permission_module' => NULL, 'add_text' => '', 'edit_text' => '', 'extra_donext_entries' => NULL, 'extra_donext_categories' => NULL, 'extra_donext_whatever' => NULL, 'extra_donext_whatever_title' => NULL, 'do_next_editing_categories' => false, 'special_edit_frontend' => false, 'upload' => NULL, 'cat_aed_module' => Module_cms_catalogues_cat::__set_state(array( 'lang_type' => 'CATALOGUE_CATEGORY', 'select_name' => 'NAME', 'permissions_require' => 'cat_mid', 'permission_module' => 'catalogues_category', 'permissions_cat_require' => 'catalogues_catalogue', 'permissions_cat_name' => 'catalogue_name', 'seo_type' => 'catalogue_category', 'catalogue' => true, 'award_type' => 'catalogue_category', 'upload' => 'image', 'javascript' => 'var mt=document.getElementById(\'move_target\'); var form=mt.form; var crf=function() { var s=mt.selectedIndex==0; form.elements[\'move_days_lower\'].disabled=s; form.elements[\'move_days_higher\'].disabled=s; }; crf(); mt.onclick=crf;', 'menu_label' => 'CATALOGUES', 'donext_catalogue_name' => NULL, 'module_type' => NULL, 'redirect_type' => NULL, 'code_require' => NULL, 'javascript_require' => NULL, 'skip_validation' => false, 'default_type' => NULL, 'author' => 'Chris Graham', 'organisation' => 'ocProducts', 'user_facing' => false, 'send_validation_request' => true, 'check_validation' => true, 'archive_entry_point' => NULL, 'archive_label' => NULL, 'view_entry_point' => NULL, 'protect_first' => 0, 'permission_page' => NULL, 'permissions_cat_require_b' => NULL, 'permissions_cat_name_b' => NULL, 'add_text' => '', 'edit_text' => '', 'extra_donext_entries' => NULL, 'extra_donext_categories' => NULL, 'extra_donext_whatever' => NULL, 'extra_donext_whatever_title' => NULL, 'do_next_editing_categories' => false, 'special_edit_frontend' => false, 'possibly_some_kind_of_upload' => false, 'cat_aed_module' => NULL, 'alt_aed_module' => NULL, 'posting_form_title' => NULL, 'posting_form_text' => '', 'posting_form_text_parsed' => NULL, 'type_code' => 'c', 'non_integer_id' => false, 'output_of_action_is_confirmation' => false, 'second_stage_preview' => false, 'add_submit_name' => NULL, 'edit_submit_name' => NULL, 'do_preview' => true, 'add_one_label' => NULL, 'add_one_cat_label' => NULL, 'edit_this_label' => NULL, 'edit_one_label' => NULL, 'edit_this_cat_label' => NULL, 'edit_one_cat_label' => NULL, 'do_next_description' => NULL, 'appended_actions_already' => false, 'select_name_description' => NULL, 'care_please' => true, 'new_id' => NULL, 'no_blank_ids' => true, 'table_prefix' => '', 'array_key' => 'id', 'title_is_multi_lang' => true, 'orderer' => NULL, 'table' => NULL, )), 'alt_aed_module' => Module_cms_catalogues_alt::__set_state(array( 'lang_type' => 'CATALOGUE', 'select_name' => 'CATALOGUE', 'select_name_description' => 'DESCRIPTION_CATALOGUE', 'permissions_require' => 'cat_high', 'permission_module' => 'catalogues_catalogue', 'non_integer_id' => true, 'award_type' => 'catalogue', 'is_tree_catalogue' => false, 'menu_label' => 'CATALOGUES', 'javascript' => 'var fn=document.getElementById(\'title\'); if (fn) { var form=fn.form; fn.onchange=function() { if ((form.elements[\'name\']) && (form.elements[\'name\'].value==\'\')) form.elements[\'name\'].value=fn.value.toLowerCase().replace
(/[^\w\d\.\-]/g,\'_\').replace(/\_+$/,\'\'); }; }', 'module_type' => NULL, 'redirect_type' => NULL, 'code_require' => NULL, 'javascript_require' => NULL, 'skip_validation' => false, 'default_type' => NULL, 'author' => 'Chris Graham', 'organisation' => 'ocProducts', 'user_facing' => false, 'send_validation_request' => true, 'check_validation' => true, 'archive_entry_point' => NULL, 'archive_label' => NULL, 'view_entry_point' => NULL, 'protect_first' => 0, 'permission_page' => NULL, 'permissions_cat_require' => NULL, 'permissions_cat_name' => NULL, 'permissions_cat_require_b' => NULL, 'permissions_cat_name_b' => NULL, 'add_text' => '', 'edit_text' => '', 'extra_donext_entries' => NULL, 'extra_donext_categories' => NULL, 'extra_donext_whatever' => NULL, 'extra_donext_whatever_title' => NULL, 'do_next_editing_categories' => false, 'special_edit_frontend' => false, 'upload' => NULL, 'possibly_some_kind_of_upload' => false, 'cat_aed_module' => NULL, 'alt_aed_module' => NULL, 'seo_type' => NULL, 'posting_form_title' => NULL, 'posting_form_text' => '', 'posting_form_text_parsed' => NULL, 'type_code' => 'v', 'catalogue' => false, 'output_of_action_is_confirmation' => false, 'second_stage_preview' => false, 'add_submit_name' => NULL, 'edit_submit_name' => NULL, 'do_preview' => true, 'add_one_label' => NULL, 'add_one_cat_label' => NULL, 'edit_this_label' => NULL, 'edit_one_label' => NULL, 'edit_this_cat_label' => NULL, 'edit_one_cat_label' => NULL, 'do_next_description' => NULL, 'appended_actions_already' => false, 'care_please' => true, 'new_id' => NULL, 'no_blank_ids' => true, 'table_prefix' => '', 'array_key' => 'id', 'title_is_multi_lang' => true, 'orderer' => NULL, 'table' => NULL, )), 'posting_form_title' => NULL, 'posting_form_text' => '', 'posting_form_text_parsed' => NULL, 'javascript' => NULL, 'type_code' => 'd', 'non_integer_id' => false, 'output_of_action_is_confirmation' => false, 'second_stage_preview' => false, 'add_submit_name' => NULL, 'edit_submit_name' => NULL, 'add_one_label' => NULL, 'add_one_cat_label' => NULL, 'edit_this_label' => NULL, 'edit_one_label' => NULL, 'edit_this_cat_label' => NULL, 'edit_one_cat_label' => NULL, 'do_next_description' => NULL, 'appended_actions_already' => false, 'select_name_description' => NULL, 'care_please' => true, 'new_id' => NULL, 'no_blank_ids' => true, 'table_prefix' => '', 'array_key' => 'id', 'title_is_multi_lang' => true, 'orderer' => NULL, 'table' => NULL, ))
Args    

'bike_komponenten'

31

1

''

1

1

1

104

File    '/opt/lampp/htdocs/mtbrrmag/sources/aed_module.
php'
Line    '761'
Function    'fill_in_edit_form'
Class    'Module_cms_catalogues'
Type    '->'
Object    Module_cms_catalogues::__set_state(array( 'lang_type' => 'CATALOGUE_ENTRY', 'select_name' => 'ENTRY', 'permissions_require' => 'mid', 'permissions_cat_require' => 'catalogues_catalogue', 'permissions_cat_name' => 'catalogue_name', 'permissions_cat_require_b' => 'catalogues_category', 'permissions_cat_name_b' => 'category_id', 'user_facing' => true, 'seo_type' => 'catalogue_entry', 'catalogue' => true, 'award_type' => 'catalogue_entry', 'possibly_some_kind_of_upload' => true, 'do_preview' => NULL, 'menu_label' => 'CATALOGUES', 'donext_category_id' => NULL, 'donext_catalogue_name' => NULL, 'module_type' => 'catalogues', 'redirect_type' => NULL, 'code_require' => NULL, 'javascript_require' => NULL, 'skip_validation' => false, 'default_type' => 'misc', 'author' => 'Chris Graham', 'organisation' => 'ocProducts', 'send_validation_request' => true, 'check_validation' => true, 'archive_entry_point' => NULL, 'archive_label' => NULL, 'view_entry_point' => NULL, 'protect_first' => 0, 'permission_page' => NULL, 'permission_module' => NULL, 'add_text' => '', 'edit_text' => '', 'extra_donext_entries' => NULL, 'extra_donext_categories' => NULL, 'extra_donext_whatever' => NULL, 'extra_donext_whatever_title' => NULL, 'do_next_editing_categories' => false, 'special_edit_frontend' => false, 'upload' => NULL, 'cat_aed_module' => Module_cms_catalogues_cat::__set_state(array( 'lang_type' => 'CATALOGUE_CATEGORY', 'select_name' => 'NAME', 'permissions_require' => 'cat_mid', 'permission_module' => 'catalogues_category', 'permissions_cat_require' => 'catalogues_catalogue', 'permissions_cat_name' => 'catalogue_name', 'seo_type' => 'catalogue_category', 'catalogue' => true, 'award_type' => 'catalogue_category', 'upload' => 'image', 'javascript' => 'var mt=document.getElementById(\'move_target\'); var form=mt.form; var crf=function() { var s=mt.selectedIndex==0; form.elements[\'move_days_lower\'].disabled=s; form.elements[\'move_days_higher\'].disabled=s; }; crf(); mt.onclick=crf;', 'menu_label' => 'CATALOGUES', 'donext_catalogue_name' => NULL, 'module_type' => NULL, 'redirect_type' => NULL, 'code_require' => NULL, 'javascript_require' => NULL, 'skip_validation' => false, 'default_type' => NULL, 'author' => 'Chris Graham', 'organisation' => 'ocProducts', 'user_facing' => false, 'send_validation_request' => true, 'check_validation' => true, 'archive_entry_point' => NULL, 'archive_label' => NULL, 'view_entry_point' => NULL, 'protect_first' => 0, 'permission_page' => NULL, 'permissions_cat_require_b' => NULL, 'permissions_cat_name_b' => NULL, 'add_text' => '', 'edit_text' => '', 'extra_donext_entries' => NULL, 'extra_donext_categories' => NULL, 'extra_donext_whatever' => NULL, 'extra_donext_whatever_title' => NULL, 'do_next_editing_categories' => false, 'special_edit_frontend' => false, 'possibly_some_kind_of_upload' => false, 'cat_aed_module' => NULL, 'alt_aed_module' => NULL, 'posting_form_title' => NULL, 'posting_form_text' => '', 'posting_form_text_parsed' => NULL, 'type_code' => 'c', 'non_integer_id' => false, 'output_of_action_is_confirmation' => false, 'second_stage_preview' => false, 'add_submit_name' => NULL, 'edit_submit_name' => NULL, 'do_preview' => true, 'add_one_label' => NULL, 'add_one_cat_label' => NULL, 'edit_this_label' => NULL, 'edit_one_label' => NULL, 'edit_this_cat_label' => NULL, 'edit_one_cat_label' => NULL, 'do_next_description' => NULL, 'appended_actions_already' => false, 'select_name_description' => NULL, 'care_please' => true, 'new_id' => NULL, 'no_blank_ids' => true, 'table_prefix' => '', 'array_key' => 'id', 'title_is_multi_lang' => true, 'orderer' => NULL, 'table' => NULL, )), 'alt_aed_module' => Module_cms_catalogues_alt::__set_state(array( 'lang_type' => 'CATALOGUE', 'select_name' => 'CATALOGUE', 'select_name_description' => 'DESCRIPTION_CATALOGUE', 'permissions_require' => 'cat_high', 'permission_module' => 'catalogues_catalogue', 'non_integer_id' => true, 'award_type' => 'catalogue', 'is_tree_catalogue' => false, 'menu_label' => 'CATALOGUES', 'javascript' => 'var fn=document.getElementById(\'title\'); if (fn) { var form=fn.form; fn.onchange=function() { if ((form.elements[\'name\']) && (form.elements[\'name\'].value==\'\')) form.elements[\'name\'].value=fn.value.toLowerCase().replace
(/[^\w\d\.\-]/g,\'_\').replace(/\_+$/,\'\'); }; }', 'module_type' => NULL, 'redirect_type' => NULL, 'code_require' => NULL, 'javascript_require' => NULL, 'skip_validation' => false, 'default_type' => NULL, 'author' => 'Chris Graham', 'organisation' => 'ocProducts', 'user_facing' => false, 'send_validation_request' => true, 'check_validation' => true, 'archive_entry_point' => NULL, 'archive_label' => NULL, 'view_entry_point' => NULL, 'protect_first' => 0, 'permission_page' => NULL, 'permissions_cat_require' => NULL, 'permissions_cat_name' => NULL, 'permissions_cat_require_b' => NULL, 'permissions_cat_name_b' => NULL, 'add_text' => '', 'edit_text' => '', 'extra_donext_entries' => NULL, 'extra_donext_categories' => NULL, 'extra_donext_whatever' => NULL, 'extra_donext_whatever_title' => NULL, 'do_next_editing_categories' => false, 'special_edit_frontend' => false, 'upload' => NULL, 'possibly_some_kind_of_upload' => false, 'cat_aed_module' => NULL, 'alt_aed_module' => NULL, 'seo_type' => NULL, 'posting_form_title' => NULL, 'posting_form_text' => '', 'posting_form_text_parsed' => NULL, 'type_code' => 'v', 'catalogue' => false, 'output_of_action_is_confirmation' => false, 'second_stage_preview' => false, 'add_submit_name' => NULL, 'edit_submit_name' => NULL, 'do_preview' => true, 'add_one_label' => NULL, 'add_one_cat_label' => NULL, 'edit_this_label' => NULL, 'edit_one_label' => NULL, 'edit_this_cat_label' => NULL, 'edit_one_cat_label' => NULL, 'do_next_description' => NULL, 'appended_actions_already' => false, 'care_please' => true, 'new_id' => NULL, 'no_blank_ids' => true, 'table_prefix' => '', 'array_key' => 'id', 'title_is_multi_lang' => true, 'orderer' => NULL, 'table' => NULL, )), 'posting_form_title' => NULL, 'posting_form_text' => '', 'posting_form_text_parsed' => NULL, 'javascript' => NULL, 'type_code' => 'd', 'non_integer_id' => false, 'output_of_action_is_confirmation' => false, 'second_stage_preview' => false, 'add_submit_name' => NULL, 'edit_submit_name' => NULL, 'add_one_label' => NULL, 'add_one_cat_label' => NULL, 'edit_this_label' => NULL, 'edit_one_label' => NULL, 'edit_this_cat_label' => NULL, 'edit_one_cat_label' => NULL, 'do_next_description' => NULL, 'appended_actions_already' => false, 'select_name_description' => NULL, 'care_please' => true, 'new_id' => NULL, 'no_blank_ids' => true, 'table_prefix' => '', 'array_key' => 'id', 'title_is_multi_lang' => true, 'orderer' => NULL, 'table' => NULL, ))
Args    

'104'

File    '/opt/lampp/htdocs/mtbrrmag/sources/aed_module.
php'
Line    '221'
Function    '_ed'
Class    'standard_aed_module'
Type    '->'
Object    Module_cms_catalogues::__set_state(array( 'lang_type' => 'CATALOGUE_ENTRY', 'select_name' => 'ENTRY', 'permissions_require' => 'mid', 'permissions_cat_require' => 'catalogues_catalogue', 'permissions_cat_name' => 'catalogue_name', 'permissions_cat_require_b' => 'catalogues_category', 'permissions_cat_name_b' => 'category_id', 'user_facing' => true, 'seo_type' => 'catalogue_entry', 'catalogue' => true, 'award_type' => 'catalogue_entry', 'possibly_some_kind_of_upload' => true, 'do_preview' => NULL, 'menu_label' => 'CATALOGUES', 'donext_category_id' => NULL, 'donext_catalogue_name' => NULL, 'module_type' => 'catalogues', 'redirect_type' => NULL, 'code_require' => NULL, 'javascript_require' => NULL, 'skip_validation' => false, 'default_type' => 'misc', 'author' => 'Chris Graham', 'organisation' => 'ocProducts', 'send_validation_request' => true, 'check_validation' => true, 'archive_entry_point' => NULL, 'archive_label' => NULL, 'view_entry_point' => NULL, 'protect_first' => 0, 'permission_page' => NULL, 'permission_module' => NULL, 'add_text' => '', 'edit_text' => '', 'extra_donext_entries' => NULL, 'extra_donext_categories' => NULL, 'extra_donext_whatever' => NULL, 'extra_donext_whatever_title' => NULL, 'do_next_editing_categories' => false, 'special_edit_frontend' => false, 'upload' => NULL, 'cat_aed_module' => Module_cms_catalogues_cat::__set_state(array( 'lang_type' => 'CATALOGUE_CATEGORY', 'select_name' => 'NAME', 'permissions_require' => 'cat_mid', 'permission_module' => 'catalogues_category', 'permissions_cat_require' => 'catalogues_catalogue', 'permissions_cat_name' => 'catalogue_name', 'seo_type' => 'catalogue_category', 'catalogue' => true, 'award_type' => 'catalogue_category', 'upload' => 'image', 'javascript' => 'var mt=document.getElementById(\'move_target\'); var form=mt.form; var crf=function() { var s=mt.selectedIndex==0; form.elements[\'move_days_lower\'].disabled=s; form.elements[\'move_days_higher\'].disabled=s; }; crf(); mt.onclick=crf;', 'menu_label' => 'CATALOGUES', 'donext_catalogue_name' => NULL, 'module_type' => NULL, 'redirect_type' => NULL, 'code_require' => NULL, 'javascript_require' => NULL, 'skip_validation' => false, 'default_type' => NULL, 'author' => 'Chris Graham', 'organisation' => 'ocProducts', 'user_facing' => false, 'send_validation_request' => true, 'check_validation' => true, 'archive_entry_point' => NULL, 'archive_label' => NULL, 'view_entry_point' => NULL, 'protect_first' => 0, 'permission_page' => NULL, 'permissions_cat_require_b' => NULL, 'permissions_cat_name_b' => NULL, 'add_text' => '', 'edit_text' => '', 'extra_donext_entries' => NULL, 'extra_donext_categories' => NULL, 'extra_donext_whatever' => NULL, 'extra_donext_whatever_title' => NULL, 'do_next_editing_categories' => false, 'special_edit_frontend' => false, 'possibly_some_kind_of_upload' => false, 'cat_aed_module' => NULL, 'alt_aed_module' => NULL, 'posting_form_title' => NULL, 'posting_form_text' => '', 'posting_form_text_parsed' => NULL, 'type_code' => 'c', 'non_integer_id' => false, 'output_of_action_is_confirmation' => false, 'second_stage_preview' => false, 'add_submit_name' => NULL, 'edit_submit_name' => NULL, 'do_preview' => true, 'add_one_label' => NULL, 'add_one_cat_label' => NULL, 'edit_this_label' => NULL, 'edit_one_label' => NULL, 'edit_this_cat_label' => NULL, 'edit_one_cat_label' => NULL, 'do_next_description' => NULL, 'appended_actions_already' => false, 'select_name_description' => NULL, 'care_please' => true, 'new_id' => NULL, 'no_blank_ids' => true, 'table_prefix' => '', 'array_key' => 'id', 'title_is_multi_lang' => true, 'orderer' => NULL, 'table' => NULL, )), 'alt_aed_module' => Module_cms_catalogues_alt::__set_state(array( 'lang_type' => 'CATALOGUE', 'select_name' => 'CATALOGUE', 'select_name_description' => 'DESCRIPTION_CATALOGUE', 'permissions_require' => 'cat_high', 'permission_module' => 'catalogues_catalogue', 'non_integer_id' => true, 'award_type' => 'catalogue', 'is_tree_catalogue' => false, 'menu_label' => 'CATALOGUES', 'javascript' => 'var fn=document.getElementById(\'title\'); if (fn) { var form=fn.form; fn.onchange=function() { if ((form.elements[\'name\']) && (form.elements[\'name\'].value==\'\')) form.elements[\'name\'].value=fn.value.toLowerCase().replace
(/[^\w\d\.\-]/g,\'_\').replace(/\_+$/,\'\'); }; }', 'module_type' => NULL, 'redirect_type' => NULL, 'code_require' => NULL, 'javascript_require' => NULL, 'skip_validation' => false, 'default_type' => NULL, 'author' => 'Chris Graham', 'organisation' => 'ocProducts', 'user_facing' => false, 'send_validation_request' => true, 'check_validation' => true, 'archive_entry_point' => NULL, 'archive_label' => NULL, 'view_entry_point' => NULL, 'protect_first' => 0, 'permission_page' => NULL, 'permissions_cat_require' => NULL, 'permissions_cat_name' => NULL, 'permissions_cat_require_b' => NULL, 'permissions_cat_name_b' => NULL, 'add_text' => '', 'edit_text' => '', 'extra_donext_entries' => NULL, 'extra_donext_categories' => NULL, 'extra_donext_whatever' => NULL, 'extra_donext_whatever_title' => NULL, 'do_next_editing_categories' => false, 'special_edit_frontend' => false, 'upload' => NULL, 'possibly_some_kind_of_upload' => false, 'cat_aed_module' => NULL, 'alt_aed_module' => NULL, 'seo_type' => NULL, 'posting_form_title' => NULL, 'posting_form_text' => '', 'posting_form_text_parsed' => NULL, 'type_code' => 'v', 'catalogue' => false, 'output_of_action_is_confirmation' => false, 'second_stage_preview' => false, 'add_submit_name' => NULL, 'edit_submit_name' => NULL, 'do_preview' => true, 'add_one_label' => NULL, 'add_one_cat_label' => NULL, 'edit_this_label' => NULL, 'edit_one_label' => NULL, 'edit_this_cat_label' => NULL, 'edit_one_cat_label' => NULL, 'do_next_description' => NULL, 'appended_actions_already' => false, 'care_please' => true, 'new_id' => NULL, 'no_blank_ids' => true, 'table_prefix' => '', 'array_key' => 'id', 'title_is_multi_lang' => true, 'orderer' => NULL, 'table' => NULL, )), 'posting_form_title' => NULL, 'posting_form_text' => '', 'posting_form_text_parsed' => NULL, 'javascript' => NULL, 'type_code' => 'd', 'non_integer_id' => false, 'output_of_action_is_confirmation' => false, 'second_stage_preview' => false, 'add_submit_name' => NULL, 'edit_submit_name' => NULL, 'add_one_label' => NULL, 'add_one_cat_label' => NULL, 'edit_this_label' => NULL, 'edit_one_label' => NULL, 'edit_this_cat_label' => NULL, 'edit_one_cat_label' => NULL, 'do_next_description' => NULL, 'appended_actions_already' => false, 'select_name_description' => NULL, 'care_please' => true, 'new_id' => NULL, 'no_blank_ids' => true, 'table_prefix' => '', 'array_key' => 'id', 'title_is_multi_lang' => true, 'orderer' => NULL, 'table' => NULL, ))
Args    

File    '/opt/lampp/htdocs/mtbrrmag/sources/zones.php'
Line    '336'
Function    'run'
Class    'standard_aed_module'
Type    '->'
Object    Module_cms_catalogues::__set_state(array( 'lang_type' => 'CATALOGUE_ENTRY', 'select_name' => 'ENTRY', 'permissions_require' => 'mid', 'permissions_cat_require' => 'catalogues_catalogue', 'permissions_cat_name' => 'catalogue_name', 'permissions_cat_require_b' => 'catalogues_category', 'permissions_cat_name_b' => 'category_id', 'user_facing' => true, 'seo_type' => 'catalogue_entry', 'catalogue' => true, 'award_type' => 'catalogue_entry', 'possibly_some_kind_of_upload' => true, 'do_preview' => NULL, 'menu_label' => 'CATALOGUES', 'donext_category_id' => NULL, 'donext_catalogue_name' => NULL, 'module_type' => 'catalogues', 'redirect_type' => NULL, 'code_require' => NULL, 'javascript_require' => NULL, 'skip_validation' => false, 'default_type' => 'misc', 'author' => 'Chris Graham', 'organisation' => 'ocProducts', 'send_validation_request' => true, 'check_validation' => true, 'archive_entry_point' => NULL, 'archive_label' => NULL, 'view_entry_point' => NULL, 'protect_first' => 0, 'permission_page' => NULL, 'permission_module' => NULL, 'add_text' => '', 'edit_text' => '', 'extra_donext_entries' => NULL, 'extra_donext_categories' => NULL, 'extra_donext_whatever' => NULL, 'extra_donext_whatever_title' => NULL, 'do_next_editing_categories' => false, 'special_edit_frontend' => false, 'upload' => NULL, 'cat_aed_module' => Module_cms_catalogues_cat::__set_state(array( 'lang_type' => 'CATALOGUE_CATEGORY', 'select_name' => 'NAME', 'permissions_require' => 'cat_mid', 'permission_module' => 'catalogues_category', 'permissions_cat_require' => 'catalogues_catalogue', 'permissions_cat_name' => 'catalogue_name', 'seo_type' => 'catalogue_category', 'catalogue' => true, 'award_type' => 'catalogue_category', 'upload' => 'image', 'javascript' => 'var mt=document.getElementById(\'move_target\'); var form=mt.form; var crf=function() { var s=mt.selectedIndex==0; form.elements[\'move_days_lower\'].disabled=s; form.elements[\'move_days_higher\'].disabled=s; }; crf(); mt.onclick=crf;', 'menu_label' => 'CATALOGUES', 'donext_catalogue_name' => NULL, 'module_type' => NULL, 'redirect_type' => NULL, 'code_require' => NULL, 'javascript_require' => NULL, 'skip_validation' => false, 'default_type' => NULL, 'author' => 'Chris Graham', 'organisation' => 'ocProducts', 'user_facing' => false, 'send_validation_request' => true, 'check_validation' => true, 'archive_entry_point' => NULL, 'archive_label' => NULL, 'view_entry_point' => NULL, 'protect_first' => 0, 'permission_page' => NULL, 'permissions_cat_require_b' => NULL, 'permissions_cat_name_b' => NULL, 'add_text' => '', 'edit_text' => '', 'extra_donext_entries' => NULL, 'extra_donext_categories' => NULL, 'extra_donext_whatever' => NULL, 'extra_donext_whatever_title' => NULL, 'do_next_editing_categories' => false, 'special_edit_frontend' => false, 'possibly_some_kind_of_upload' => false, 'cat_aed_module' => NULL, 'alt_aed_module' => NULL, 'posting_form_title' => NULL, 'posting_form_text' => '', 'posting_form_text_parsed' => NULL, 'type_code' => 'c', 'non_integer_id' => false, 'output_of_action_is_confirmation' => false, 'second_stage_preview' => false, 'add_submit_name' => NULL, 'edit_submit_name' => NULL, 'do_preview' => true, 'add_one_label' => NULL, 'add_one_cat_label' => NULL, 'edit_this_label' => NULL, 'edit_one_label' => NULL, 'edit_this_cat_label' => NULL, 'edit_one_cat_label' => NULL, 'do_next_description' => NULL, 'appended_actions_already' => false, 'select_name_description' => NULL, 'care_please' => true, 'new_id' => NULL, 'no_blank_ids' => true, 'table_prefix' => '', 'array_key' => 'id', 'title_is_multi_lang' => true, 'orderer' => NULL, 'table' => NULL, )), 'alt_aed_module' => Module_cms_catalogues_alt::__set_state(array( 'lang_type' => 'CATALOGUE', 'select_name' => 'CATALOGUE', 'select_name_description' => 'DESCRIPTION_CATALOGUE', 'permissions_require' => 'cat_high', 'permission_module' => 'catalogues_catalogue', 'non_integer_id' => true, 'award_type' => 'catalogue', 'is_tree_catalogue' => false, 'menu_label' => 'CATALOGUES', 'javascript' => 'var fn=document.getElementById(\'title\'); if (fn) { var form=fn.form; fn.onchange=function() { if ((form.elements[\'name\']) && (form.elements[\'name\'].value==\'\')) form.elements[\'name\'].value=fn.value.toLowerCase().replace
(/[^\w\d\.\-]/g,\'_\').replace(/\_+$/,\'\'); }; }', 'module_type' => NULL, 'redirect_type' => NULL, 'code_require' => NULL, 'javascript_require' => NULL, 'skip_validation' => false, 'default_type' => NULL, 'author' => 'Chris Graham', 'organisation' => 'ocProducts', 'user_facing' => false, 'send_validation_request' => true, 'check_validation' => true, 'archive_entry_point' => NULL, 'archive_label' => NULL, 'view_entry_point' => NULL, 'protect_first' => 0, 'permission_page' => NULL, 'permissions_cat_require' => NULL, 'permissions_cat_name' => NULL, 'permissions_cat_require_b' => NULL, 'permissions_cat_name_b' => NULL, 'add_text' => '', 'edit_text' => '', 'extra_donext_entries' => NULL, 'extra_donext_categories' => NULL, 'extra_donext_whatever' => NULL, 'extra_donext_whatever_title' => NULL, 'do_next_editing_categories' => false, 'special_edit_frontend' => false, 'upload' => NULL, 'possibly_some_kind_of_upload' => false, 'cat_aed_module' => NULL, 'alt_aed_module' => NULL, 'seo_type' => NULL, 'posting_form_title' => NULL, 'posting_form_text' => '', 'posting_form_text_parsed' => NULL, 'type_code' => 'v', 'catalogue' => false, 'output_of_action_is_confirmation' => false, 'second_stage_preview' => false, 'add_submit_name' => NULL, 'edit_submit_name' => NULL, 'do_preview' => true, 'add_one_label' => NULL, 'add_one_cat_label' => NULL, 'edit_this_label' => NULL, 'edit_one_label' => NULL, 'edit_this_cat_label' => NULL, 'edit_one_cat_label' => NULL, 'do_next_description' => NULL, 'appended_actions_already' => false, 'care_please' => true, 'new_id' => NULL, 'no_blank_ids' => true, 'table_prefix' => '', 'array_key' => 'id', 'title_is_multi_lang' => true, 'orderer' => NULL, 'table' => NULL, )), 'posting_form_title' => NULL, 'posting_form_text' => '', 'posting_form_text_parsed' => NULL, 'javascript' => NULL, 'type_code' => 'd', 'non_integer_id' => false, 'output_of_action_is_confirmation' => false, 'second_stage_preview' => false, 'add_submit_name' => NULL, 'edit_submit_name' => NULL, 'add_one_label' => NULL, 'add_one_cat_label' => NULL, 'edit_this_label' => NULL, 'edit_one_label' => NULL, 'edit_this_cat_label' => NULL, 'edit_one_cat_label' => NULL, 'do_next_description' => NULL, 'appended_actions_already' => false, 'select_name_description' => NULL, 'care_please' => true, 'new_id' => NULL, 'no_blank_ids' => true, 'table_prefix' => '', 'array_key' => 'id', 'title_is_multi_lang' => true, 'orderer' => NULL, 'table' => NULL, ))
Args    

File    '/opt/lampp/htdocs/mtbrrmag/sources/site.php'
Line    '958'
Function    'load_module_page'
Args    

'cms/pages/modules/cms_catalogues.php'

'cms_catalogues'

File    '/opt/lampp/htdocs/mtbrrmag/sources/site.php'
Line    '745'
Function    'request_page'
Args    

'cms_catalogues'

true

File    '/opt/lampp/htdocs/mtbrrmag/cms/index.php'
Line    '50'
Function    'do_site'
Args    
Back to the top
 
Posted
Rating:
#63416
Avatar

Well-settled

Error: 1: fractional_edit is not defined

is also an issue when browsing gallery categories and forums. It seems an issue with everything having sub-categories.
Back to the top
 
Posted
Rating:
#63468
Avatar

Line 201 of cms/pages/modules/cms_catalogues.php needs changing from:

Code

      foreach ($special_fields as $field)
to:

Code

      foreach ($special_fields as $field_num=>$field)


The fractional_edit problem is probably something else. I suspect some JS error is happening during page load, which stops the Javascript fully initialising. Do any big errors come up in the browsers error console?


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#63476
Avatar

Well-settled

var field_num is ok with the change.


The error fractional_edit appears only in Firefox, not in IE, Chrome, Safari. Error console shows:

Fehler: fractional_edit is not defined
Quelldatei: " http://www.url.de/site/catalogues/category/bikes_full_suspension.htm?catalogue_name=bikes_fully"
Zeile: 1

Back to the top
 
Posted
Rating:
#63478
Avatar

Well-settled

I found function fractional_edit in default/templates/JAVASCRIPT_FRACTIONAL_EDIT.tpl

but in my template tree, it doesn't seem to require this template.
Back to the top
 
Posted
Rating:
#63487
Avatar

If you're logged in as staff ocPortal does an optimisation and merges a few Javascript files into javascript_staff___merged.js. So if you look at the HTML source and that, it should be in there.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#63498
Avatar

Well-settled

Hm, it isn't on my website. Also if removing all custom templates, it isn't populated.
Back to the top
 
Posted
Rating:
#63669

Non-joined user

I'm having the same issue
Back to the top
 
Posted
Rating:
#63670
Avatar

Yes, it's a bug. I thought I'd posted this yesterday, but I can't see my post so maybe I just forgot to. It will be fixed in the next patch release.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: