View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004217 | Composr | errorlog | public | 2020-04-29 12:05 | 2020-05-01 22:34 |
Reporter | sontowma | Assigned To | Chris Graham | ||
Severity | Feature-request | ||||
Status | resolved | Resolution | fixed | ||
Product Version | |||||
Fixed in Version | |||||
Summary | 0004217: Failure to upload an All Hands journal | ||||
Description | An error has occurred PHP WARNING [2] preg_replace() [<a href='http://www.php.net/manual/en/function.preg-replace.php'>function.preg-replace.php</a>]: Compilation failed: invalid range in character class at offset 6 in sources/downloads2.php on line 630 (version: 9.0.12, PHP version: 7.3.16, URL: /cms/cms_downloads/_ad.htm?redirect=https%3A%3Aslash%3A%3Aslash%3Awww.warsashassociation.net%3Aslash%3Asite%3Aslash%3Adownloads%3Aslash%3Amisc%3Aslash%3A91.htm%3Forder%3Dt.text_original%2BASC&uploading=1) Here is the 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 '/home/warsash/www/www/sources/failure.php' Line '843' Function 'get_html_trace' Args File '/home/warsash/www/www/sources/global2.php' Line '1,041' Function '_fatal_exit' Args ... File '/home/warsash/www/www/sources/failure.php' Line '226' Function 'fatal_exit' Args 'PHP WARNING [2] preg_replace() [<a href=\'http://www.php.net/manual/en/function.preg-replace.php\'>function.preg-replace.php</a>]: Compilation failed: invalid range in character class at offset 6 in sources/downloads2.php on line 630' File '/home/warsash/www/www/sources/global2.php' Line '904' Function '_ocportal_error_handler' Args 'warning' 2 'preg_replace() [<a href=\'http://www.php.net/manual/en/function.preg-replace.php\'>function.preg-replace.php</a>]: Compilation failed: invalid range in character class at offset 6' 'sources/downloads2.php' 630 Function 'ocportal_error_handler' Args 2 'preg_replace() [<a href=\'http://www.php.net/manual/en/function.preg-replace.php\'>function.preg-replace.php</a>]: Compilation failed: invalid range in character class at offset 6' 'sources/downloads2.php' 630 array File '/home/warsash/www/www/sources/downloads2.php' Line '630' Function 'preg_replace' Args ... File '/home/warsash/www/www/sources/downloads2.php' Line '591' Function 'create_data_mash' Args ... 'xml' true File '/home/warsash/www/www/sources/downloads2.php' Line '679' Function 'create_data_mash' Args ... 'pdf' File '/home/warsash/www/www/cms/pages/modules/cms_downloads.php' Line '668' Function 'add_download' Args 91 'All Hands 2020-1 (UK Spring)' 'uploads/downloads/5ea96c48af1358.09895850.dat' '' 'The Warsash Association' '' NULL 0 0 1 0 '' 'AH2020-1 final v6a.pdf' 2812032 0 0 NULL File '/home/warsash/www/www/sources/aed_module.php' Line '654' Function 'add_actualisation' Class 'Module_cms_downloads' Object Module_cms_downloads::__set_state(array( 'lang_type' => 'DOWNLOAD', 'select_name' => 'NAME', 'permissions_require' => 'mid', 'permissions_cat_require' => 'downloads', 'permissions_cat_name' => 'category_id', 'user_facing' => true, 'seo_type' => 'downloads_download', 'upload' => 'file', 'javascript' => 'var url=document.getElementById(\'url\'); var form=url.form; var crf=function() { var s=url.value!=\'\'; if (form.elements[\'copy_to_server\']) form.elements[\'copy_to_server\'].disabled=!s; if (form.elements[\'file_size\']) form.elements[\'file_size\'].disabled=!s; }; crf(); url.onchange=crf; url.onkeyup=crf; var cost=document.getElementById(\'cost\'); if (cost) { var form=cost.form; var crf2=function() { var s=(cost.value!=\'\') && (cost.value!=\'0\'); if (form.elements[\'submitter_gets_points\']) form.elements[\'submitter_gets_points\'].disabled=!s; }; crf2(); cost.onchange=crf2; cost.onkeyup=crf2; }', 'award_type' => 'download', 'menu_label' => 'SECTION_DOWNLOADS', 'table' => 'download_downloads', 'donext_type' => NULL, 'module_type' => 'downloads', '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, 'view_label' => NULL, 'protect_first' => 0, 'permission_page' => NULL, 'permission_module' => 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' => Module_cms_downloads_cat::__set_state(array( 'lang_type' => 'DOWNLOAD_CATEGORY', 'select_name' => 'NAME', 'permissions_require' => 'cat_mid', 'permission_module' => 'downloads', 'seo_type' => 'downloads_category', 'upload' => 'image', 'award_type' => 'download_category', 'protect_first' => 1, 'menu_label' => 'SECTION_DOWNLOADS', '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, 'view_label' => NULL, '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, '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, 'javascript' => NULL, 'type_code' => 'd', 'catalogue' => false, '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, 'entries_title' => NULL, 'categories_title' => NULL, 'do_next_description' => NULL, 'appended_actions_already' => false, 'select_name_description' => NULL, 'care_please' => true, 'new_id' => NULL, 'no_blank_ids' => true, 'posting_field_required' => true, 'donext_type' => NULL, 'donext_category_id' => NULL, 'cached_entry_rows' => NULL, 'cached_max_rows' => NULL, 'permission_page_name' => NULL, 'table_prefix' => '', 'array_key' => 'id', 'title_is_multi_lang' => true, 'orderer_is_multi_lang' => NULL, 'orderer' => NULL, 'table' => NULL, )), 'alt_aed_module' => Module_cms_downloads_alt::__set_state(array( 'lang_type' => 'DOWNLOAD_LICENCE', 'select_name' => 'TITLE', 'permissions_require' => 'cat_high', 'user_facing' => false, 'menu_label' => 'SECTION_DOWNLOADS', 'donext_type' => NULL, 'module_type' => NULL, 'redirect_type' => NULL, 'code_require' => NULL, 'javascript_require' => NULL, 'skip_validation' => false, 'default_type' => NULL, 'author' => 'Chris Graham', 'organisation' => 'ocProducts', 'send_validation_request' => true, 'check_validation' => true, 'archive_entry_point' => NULL, 'archive_label' => NULL, 'view_entry_point' => NULL, 'view_label' => NULL, 'protect_first' => 0, 'permission_page' => NULL, 'permission_module' => 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, 'award_type' => NULL, 'posting_form_title' => NULL, 'posting_form_text' => '', 'posting_form_text_parsed' => NULL, 'javascript' => NULL, 'type_code' => 'd', 'catalogue' => false, '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, 'entries_title' => NULL, 'categories_title' => NULL, 'do_next_description' => NULL, 'appended_actions_already' => false, 'select_name_description' => NULL, 'care_please' => true, 'new_id' => NULL, 'no_blank_ids' => true, 'posting_field_required' => true, 'donext_category_id' => NULL, 'cached_entry_rows' => NULL, 'cached_max_rows' => NULL, 'permission_page_name' => NULL, 'table_prefix' => '', 'array_key' => 'id', 'title_is_multi_lang' => true, 'orderer_is_multi_lang' => NULL, 'orderer' => NULL, 'table' => NULL, )), 'posting_form_title' => NULL, 'posting_form_text' => '', 'posting_form_text_parsed' => NULL, 'type_code' => 'd', 'catalogue' => false, '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, 'entries_title' => NULL, 'categories_title' => NULL, 'do_next_description' => NULL, 'appended_actions_already' => false, 'select_name_description' => NULL, 'care_please' => true, 'new_id' => NULL, 'no_blank_ids' => true, 'posting_field_required' => true, 'donext_category_id' => NULL, 'cached_entry_rows' => NULL, 'cached_max_rows' => NULL, 'permission_page_name' => NULL, 'table_prefix' => '', 'array_key' => 'id', 'title_is_multi_lang' => true, 'orderer_is_multi_lang' => NULL, 'orderer' => NULL, )) Type '->' Args File '/home/warsash/www/www/sources/aed_module.php' Line '214' Function '_ad' Class 'standard_aed_module' Object Module_cms_downloads::__set_state(array( 'lang_type' => 'DOWNLOAD', 'select_name' => 'NAME', 'permissions_require' => 'mid', 'permissions_cat_require' => 'downloads', 'permissions_cat_name' => 'category_id', 'user_facing' => true, 'seo_type' => 'downloads_download', 'upload' => 'file', 'javascript' => 'var url=document.getElementById(\'url\'); var form=url.form; var crf=function() { var s=url.value!=\'\'; if (form.elements[\'copy_to_server\']) form.elements[\'copy_to_server\'].disabled=!s; if (form.elements[\'file_size\']) form.elements[\'file_size\'].disabled=!s; }; crf(); url.onchange=crf; url.onkeyup=crf; var cost=document.getElementById(\'cost\'); if (cost) { var form=cost.form; var crf2=function() { var s=(cost.value!=\'\') && (cost.value!=\'0\'); if (form.elements[\'submitter_gets_points\']) form.elements[\'submitter_gets_points\'].disabled=!s; }; crf2(); cost.onchange=crf2; cost.onkeyup=crf2; }', 'award_type' => 'download', 'menu_label' => 'SECTION_DOWNLOADS', 'table' => 'download_downloads', 'donext_type' => NULL, 'module_type' => 'downloads', '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, 'view_label' => NULL, 'protect_first' => 0, 'permission_page' => NULL, 'permission_module' => 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' => Module_cms_downloads_cat::__set_state(array( 'lang_type' => 'DOWNLOAD_CATEGORY', 'select_name' => 'NAME', 'permissions_require' => 'cat_mid', 'permission_module' => 'downloads', 'seo_type' => 'downloads_category', 'upload' => 'image', 'award_type' => 'download_category', 'protect_first' => 1, 'menu_label' => 'SECTION_DOWNLOADS', '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, 'view_label' => NULL, '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, '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, 'javascript' => NULL, 'type_code' => 'd', 'catalogue' => false, '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, 'entries_title' => NULL, 'categories_title' => NULL, 'do_next_description' => NULL, 'appended_actions_already' => false, 'select_name_description' => NULL, 'care_please' => true, 'new_id' => NULL, 'no_blank_ids' => true, 'posting_field_required' => true, 'donext_type' => NULL, 'donext_category_id' => NULL, 'cached_entry_rows' => NULL, 'cached_max_rows' => NULL, 'permission_page_name' => NULL, 'table_prefix' => '', 'array_key' => 'id', 'title_is_multi_lang' => true, 'orderer_is_multi_lang' => NULL, 'orderer' => NULL, 'table' => NULL, )), 'alt_aed_module' => Module_cms_downloads_alt::__set_state(array( 'lang_type' => 'DOWNLOAD_LICENCE', 'select_name' => 'TITLE', 'permissions_require' => 'cat_high', 'user_facing' => false, 'menu_label' => 'SECTION_DOWNLOADS', 'donext_type' => NULL, 'module_type' => NULL, 'redirect_type' => NULL, 'code_require' => NULL, 'javascript_require' => NULL, 'skip_validation' => false, 'default_type' => NULL, 'author' => 'Chris Graham', 'organisation' => 'ocProducts', 'send_validation_request' => true, 'check_validation' => true, 'archive_entry_point' => NULL, 'archive_label' => NULL, 'view_entry_point' => NULL, 'view_label' => NULL, 'protect_first' => 0, 'permission_page' => NULL, 'permission_module' => 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, 'award_type' => NULL, 'posting_form_title' => NULL, 'posting_form_text' => '', 'posting_form_text_parsed' => NULL, 'javascript' => NULL, 'type_code' => 'd', 'catalogue' => false, '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, 'entries_title' => NULL, 'categories_title' => NULL, 'do_next_description' => NULL, 'appended_actions_already' => false, 'select_name_description' => NULL, 'care_please' => true, 'new_id' => NULL, 'no_blank_ids' => true, 'posting_field_required' => true, 'donext_category_id' => NULL, 'cached_entry_rows' => NULL, 'cached_max_rows' => NULL, 'permission_page_name' => NULL, 'table_prefix' => '', 'array_key' => 'id', 'title_is_multi_lang' => true, 'orderer_is_multi_lang' => NULL, 'orderer' => NULL, 'table' => NULL, )), 'posting_form_title' => NULL, 'posting_form_text' => '', 'posting_form_text_parsed' => NULL, 'type_code' => 'd', 'catalogue' => false, '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, 'entries_title' => NULL, 'categories_title' => NULL, 'do_next_description' => NULL, 'appended_actions_already' => false, 'select_name_description' => NULL, 'care_please' => true, 'new_id' => NULL, 'no_blank_ids' => true, 'posting_field_required' => true, 'donext_category_id' => NULL, 'cached_entry_rows' => NULL, 'cached_max_rows' => NULL, 'permission_page_name' => NULL, 'table_prefix' => '', 'array_key' => 'id', 'title_is_multi_lang' => true, 'orderer_is_multi_lang' => NULL, 'orderer' => NULL, )) Type '->' Args File '/home/warsash/www/www/sources/zones.php' Line '425' Function 'run' Class 'standard_aed_module' Object Module_cms_downloads::__set_state(array( 'lang_type' => 'DOWNLOAD', 'select_name' => 'NAME', 'permissions_require' => 'mid', 'permissions_cat_require' => 'downloads', 'permissions_cat_name' => 'category_id', 'user_facing' => true, 'seo_type' => 'downloads_download', 'upload' => 'file', 'javascript' => 'var url=document.getElementById(\'url\'); var form=url.form; var crf=function() { var s=url.value!=\'\'; if (form.elements[\'copy_to_server\']) form.elements[\'copy_to_server\'].disabled=!s; if (form.elements[\'file_size\']) form.elements[\'file_size\'].disabled=!s; }; crf(); url.onchange=crf; url.onkeyup=crf; var cost=document.getElementById(\'cost\'); if (cost) { var form=cost.form; var crf2=function() { var s=(cost.value!=\'\') && (cost.value!=\'0\'); if (form.elements[\'submitter_gets_points\']) form.elements[\'submitter_gets_points\'].disabled=!s; }; crf2(); cost.onchange=crf2; cost.onkeyup=crf2; }', 'award_type' => 'download', 'menu_label' => 'SECTION_DOWNLOADS', 'table' => 'download_downloads', 'donext_type' => NULL, 'module_type' => 'downloads', '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, 'view_label' => NULL, 'protect_first' => 0, 'permission_page' => NULL, 'permission_module' => 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' => Module_cms_downloads_cat::__set_state(array( 'lang_type' => 'DOWNLOAD_CATEGORY', 'select_name' => 'NAME', 'permissions_require' => 'cat_mid', 'permission_module' => 'downloads', 'seo_type' => 'downloads_category', 'upload' => 'image', 'award_type' => 'download_category', 'protect_first' => 1, 'menu_label' => 'SECTION_DOWNLOADS', '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, 'view_label' => NULL, '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, '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, 'javascript' => NULL, 'type_code' => 'd', 'catalogue' => false, '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, 'entries_title' => NULL, 'categories_title' => NULL, 'do_next_description' => NULL, 'appended_actions_already' => false, 'select_name_description' => NULL, 'care_please' => true, 'new_id' => NULL, 'no_blank_ids' => true, 'posting_field_required' => true, 'donext_type' => NULL, 'donext_category_id' => NULL, 'cached_entry_rows' => NULL, 'cached_max_rows' => NULL, 'permission_page_name' => NULL, 'table_prefix' => '', 'array_key' => 'id', 'title_is_multi_lang' => true, 'orderer_is_multi_lang' => NULL, 'orderer' => NULL, 'table' => NULL, )), 'alt_aed_module' => Module_cms_downloads_alt::__set_state(array( 'lang_type' => 'DOWNLOAD_LICENCE', 'select_name' => 'TITLE', 'permissions_require' => 'cat_high', 'user_facing' => false, 'menu_label' => 'SECTION_DOWNLOADS', 'donext_type' => NULL, 'module_type' => NULL, 'redirect_type' => NULL, 'code_require' => NULL, 'javascript_require' => NULL, 'skip_validation' => false, 'default_type' => NULL, 'author' => 'Chris Graham', 'organisation' => 'ocProducts', 'send_validation_request' => true, 'check_validation' => true, 'archive_entry_point' => NULL, 'archive_label' => NULL, 'view_entry_point' => NULL, 'view_label' => NULL, 'protect_first' => 0, 'permission_page' => NULL, 'permission_module' => 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, 'award_type' => NULL, 'posting_form_title' => NULL, 'posting_form_text' => '', 'posting_form_text_parsed' => NULL, 'javascript' => NULL, 'type_code' => 'd', 'catalogue' => false, '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, 'entries_title' => NULL, 'categories_title' => NULL, 'do_next_description' => NULL, 'appended_actions_already' => false, 'select_name_description' => NULL, 'care_please' => true, 'new_id' => NULL, 'no_blank_ids' => true, 'posting_field_required' => true, 'donext_category_id' => NULL, 'cached_entry_rows' => NULL, 'cached_max_rows' => NULL, 'permission_page_name' => NULL, 'table_prefix' => '', 'array_key' => 'id', 'title_is_multi_lang' => true, 'orderer_is_multi_lang' => NULL, 'orderer' => NULL, 'table' => NULL, )), 'posting_form_title' => NULL, 'posting_form_text' => '', 'posting_form_text_parsed' => NULL, 'type_code' => 'd', 'catalogue' => false, '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, 'entries_title' => NULL, 'categories_title' => NULL, 'do_next_description' => NULL, 'appended_actions_already' => false, 'select_name_description' => NULL, 'care_please' => true, 'new_id' => NULL, 'no_blank_ids' => true, 'posting_field_required' => true, 'donext_category_id' => NULL, 'cached_entry_rows' => NULL, 'cached_max_rows' => NULL, 'permission_page_name' => NULL, 'table_prefix' => '', 'array_key' => 'id', 'title_is_multi_lang' => true, 'orderer_is_multi_lang' => NULL, 'orderer' => NULL, )) Type '->' Args File '/home/warsash/www/www/sources/site.php' Line '876' Function 'load_module_page' Args 'cms/pages/modules/cms_downloads.php' 'cms_downloads' File '/home/warsash/www/www/sources/site.php' Line '660' Function 'request_page' Args 'cms_downloads' true File '/home/warsash/www/www/cms/index.php' Line '38' Function 'do_site' Args Parameters MAX_FILE_SIZE 524288000 label_for__name Name name All Hands 2020-1 (UK Spring) require__name 1 label_for__category_id Category category_id 91 require__category_id 1 file on require__file 0 require__url 0 label_for__copy_to_server Copy to the server tick_on_form__copy_to_server 0 require__copy_to_server 0 label_for__file_size File size require__file_size 0 comcode__description 1 label_for__description Description description description_parsed <div class="custom_content"> </div> label_for__img_file Image require__img_file 0 label_for__validated Validated tick_on_form__validated 0 require__validated 0 comcode__comments 1 label_for__comments Additional information comments comments_parsed <div class="custom_content"> </div> label_for__cost Cost cost 0 require__cost 1 label_for__submitter_gets_points Submitter-gets-points tick_on_form__submitter_gets_points 0 require__submitter_gets_points 0 label_for__allow_comments Allow comments allow_comments 1 require__allow_comments 0 label_for__notes Notes notes pre_f_notes 1 require__notes 0 meta_keywords (array) label_for__meta_keywords (array) require__meta_keywords 0 label_for__meta_description Concise description meta_description require__meta_description 0 http_referer https://www.warsashassociation.net/cms/cms_downloads/ad.htm?cat=91&redirect=https%3A%3Aslash%3A%3Aslash%3Awww.warsashassociation.net%3Aslash%3Asite%3Aslash%3Adownloads%3Aslash%3Amisc%3Aslash%3A91.htm%3Forder%3Dt.text_original%2BASC description__is_wysiwyg 1 comments__is_wysiwyg 1 url uploads/downloads/5ea96c48af1358.09895850.dat | ||||
Steps To Reproduce | Enter Journals section & go into the relevant year (2020) Used 'Add a new download' link Above error message followed by Stack Trace appears Possibly associated with PHP 7 upgrade a few weeks ago | ||||
Tags | No tags attached. | ||||
Time estimation (hours) | |||||
Sponsorship open | |||||
|
Issue only affects ocPortal, and is due to a breaking change in PHP 7.3 that was discussed in an RFC (https://wiki.php.net/rfc/pcre2-migration#backward_incompatible_changes) but never was included in the final release notes of PHP 7.3. Fixed in ocPortal, and made a note on the PHP documentation about this. |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-04-29 12:05 | sontowma | New Issue | |
2020-05-01 22:34 | Chris Graham | Assigned To | => Chris Graham |
2020-05-01 22:34 | Chris Graham | Status | non-assigned => resolved |
2020-05-01 22:34 | Chris Graham | Resolution | open => fixed |
2020-05-01 22:34 | Chris Graham | Note Added: 0006527 |