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

ocPortal 8 RC5 released

Login / Search

 [ Join | More ]
 
Posted
Rating:
#83528
Avatar

ocStaff (admin)

Comment: #news_293

Hamburgler said

when mass uploading a 1.63mb zip file of 5 images to a gallery i got this

An error has occurred

PHP WARNING [2] zip_read(): 71 is not a valid Zip Directory resource in cms/pages/modules/cms_galleries.php on line 387 (version: 8-RC5, PHP version: 5.2.17, URL: /cms/pg/cms_galleries/__gimp/index.php?cat=wvw&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/thenewh6/public_html/pf/sources/failure.php'
Line    '683'
Function    'get_html_trace'
Args   

File    '/home/thenewh6/public_html/pf/sources/global2.php'
Line    '979'
Function    '_fatal_exit'
Args   
'PHP WARNING [2] zip_read(): 71 is not a valid Zip Directory resource in cms/pages/modules/cms_galleries.php on line 387'


File    '/home/thenewh6/public_html/pf/sources/failure.php'
Line    '217'
Function    'fatal_exit'
Args   
'PHP WARNING [2] zip_read(): 71 is not a valid Zip Directory resource in cms/pages/modules/cms_galleries.php on line 387'


File    '/home/thenewh6/public_html/pf/sources/global2.php'
Line    '853'
Function    '_ocportal_error_handler'
Args   
'warning'

2

'zip_read(): 71 is not a valid Zip Directory resource'

'cms/pages/modules/cms_galleries.php'

387


Function    'ocportal_error_handler'
Args    …

File    '/home/thenewh6/public_html/pf/cms/pages/modules/cms_galleri
es.php'
Line    '387'
Function    'zip_read'
Args   
NULL


File    '/home/thenewh6/public_html/pf/cms/pages/modules/cms_galleri
es.php'
Line    '142'
Function    '__gimp'
Class    'Module_cms_galleries'
Object    Module_cms_galleries::__set_state(array( 'lang_type' => 'IMAGE', 'select_name_description' => 'DESCRIPTION_IMAGE', 'select_name' => 'IMAGE', 'permissions_require' => 'mid', 'permissions_cat_require' => 'galleries', 'permissions_cat_name' => 'cat', 'user_facing' => true, 'seo_type' => 'image', 'upload' => 'image', 'award_type' => 'image', 'javascript' => 'standardAlternateFields(\'file\',\'url\'); standardAlternateFields(\'file2\',\'thumb_url\');', 'menu_label' => 'GALLERIES', 'table' => 'images', 'donext_type' => NULL, 'module_type' => 'galleries', '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, '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_galleries_cat::__set_state(array( 'lang_type' => 'GALLERY', 'select_name' => 'NAME', 'permissions_require' => 'cat_mid', 'permission_module' => 'galleries', 'seo_type' => 'gallery', 'upload' => 'image', 'non_integer_id' => true, 'award_type' => 'gallery', 'menu_label' => 'GALLERIES', 'table' => 'galleries', 'javascript' => 'var fn=document.getElementById(\'fullname\'); 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, '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' => 'd', '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, '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, 'table_prefix' => '', 'array_key' => 'id', 'title_is_multi_lang' => true, 'orderer' => NULL, )), 'alt_aed_module' => Module_cms_galleries_alt::__set_state(array( 'lang_type' => 'VIDEO', 'select_name' => 'NAME', 'permissions_require' => 'mid', 'permissions_cat_require' => 'galleries', 'permissions_cat_name' => 'cat', 'user_facing' => true, 'seo_type' => 'video', 'upload' => 'file', 'javascript' => 'standardAlternateFields(\'file\',\'url\'); standardAlternateFields(\'file2\',\'thumb_url\');', 'award_type' => 'video', 'menu_label' => 'GALLERIES', 'table' => 'videos', '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, 'protect_first' => 0, 'permission_page' => NULL, 'permission_module' => NULL, 'permissions_cat_require_b' => NULL, 'permissions_cat_name_b' => NULL, 'add_text' => ocp_tempcode::__set_state(array( 'code_to_preexecute' => '$TPL_FUNCS[\'tcpfunc_PARAGRAPH\']="eval(\$FULL_RESET_VAR_CO
DE); echo \"<p\",\n   (isset(\$bound_CLASS)?(\" class=\\\"\".( isset (\$bound_CLASS)?(((isset(\$bound_CLASS->preprocessable_bits)
) && (\$bound_CLASS->pure_lang))?output_tempcode_parameter( isset (\$bound_CLASS)?\$bound_CLASS:NULL,\"CLASS\",\"PARAGRAPH\"):
str_replace(\$GLOBALS[\'HTML_ESCAPE_1_STRREP\'],\$GLOBALS[\'H
TML_ESCAPE_2\'],output_tempcode_parameter( isset (\$bound_CLASS)?\$bound_CLASS:NULL,\"CLASS\",\"PARAGRAPH\"))
):attach_message(do_lang_tempcode(\'MISSING_TEMPLATE_PARAMETE
R\',\"CLASS\",\"PARAGRAPH\"),\"warn\")).\"\\\"\"):\'\'),\n \">\\n   \",\n   output_tempcode_paramet
er( isset (\$bound_TEXT)?\$bound_TEXT:NULL,\"TEXT\",\"PARAGRAPH\"),\n   
\"\\n</p>\\n\";"; ', 'seq_parts' => array ( 0 => array ( 0 => 'tcpfunc_PARAGRAPH', 1 => array ( '_GUID' => '', 'TEXT' => ocp_tempcode::__set_state(array( 'code_to_preexecute' => '$TPL_FUNCS[\'do_runtime_4f8ada77abd0f1.00937747\']="echo ecv(\$cl,array(),2,\"ALSO_AUDIO\",\$parameters);"; ', 'seq_parts' => array ( 0 => array ( 0 => 'do_runtime_4f8ada77abd0f1.00937747', 1 => array ( ), 2 => 2, 3 => 'ALSO_AUDIO', 4 => '', ), ), 'preprocessable_bits' => array ( ), 'last_attach' => NULL, 'pure_lang' => true, 'codename' => ':container', 'cached_output' => NULL, )), 'CLASS' => NULL, ), 2 => 1, 3 => '', 4 => NULL, ), ), 'preprocessable_bits' => array ( ), 'last_attach' => 'PARAGRAPH', 'pure_lang' => NULL, 'codename' => '(mixed)', 'cached_output' => NULL, )), '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' => '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, 'table_prefix' => '', 'array_key' => 'id', 'title_is_multi_lang' => true, 'orderer' => 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, 'care_please' => true, 'new_id' => NULL, 'no_blank_ids' => true, 'posting_field_required' => true, 'table_prefix' => '', 'array_key' => 'id', 'title_is_multi_lang' => true, 'orderer' => NULL, ))
Type    '->'
Args   

File    '/home/thenewh6/public_html/pf/sources/aed_module.php'
Line    '191'
Function    'run_start'
Class    'Module_cms_galleries'
Object    Module_cms_galleries::__set_state(array( 'lang_type' => 'IMAGE', 'select_name_description' => 'DESCRIPTION_IMAGE', 'select_name' => 'IMAGE', 'permissions_require' => 'mid', 'permissions_cat_require' => 'galleries', 'permissions_cat_name' => 'cat', 'user_facing' => true, 'seo_type' => 'image', 'upload' => 'image', 'award_type' => 'image', 'javascript' => 'standardAlternateFields(\'file\',\'url\'); standardAlternateFields(\'file2\',\'thumb_url\');', 'menu_label' => 'GALLERIES', 'table' => 'images', 'donext_type' => NULL, 'module_type' => 'galleries', '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, '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_galleries_cat::__set_state(array( 'lang_type' => 'GALLERY', 'select_name' => 'NAME', 'permissions_require' => 'cat_mid', 'permission_module' => 'galleries', 'seo_type' => 'gallery', 'upload' => 'image', 'non_integer_id' => true, 'award_type' => 'gallery', 'menu_label' => 'GALLERIES', 'table' => 'galleries', 'javascript' => 'var fn=document.getElementById(\'fullname\'); 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, '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' => 'd', '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, '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, 'table_prefix' => '', 'array_key' => 'id', 'title_is_multi_lang' => true, 'orderer' => NULL, )), 'alt_aed_module' => Module_cms_galleries_alt::__set_state(array( 'lang_type' => 'VIDEO', 'select_name' => 'NAME', 'permissions_require' => 'mid', 'permissions_cat_require' => 'galleries', 'permissions_cat_name' => 'cat', 'user_facing' => true, 'seo_type' => 'video', 'upload' => 'file', 'javascript' => 'standardAlternateFields(\'file\',\'url\'); standardAlternateFields(\'file2\',\'thumb_url\');', 'award_type' => 'video', 'menu_label' => 'GALLERIES', 'table' => 'videos', '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, 'protect_first' => 0, 'permission_page' => NULL, 'permission_module' => NULL, 'permissions_cat_require_b' => NULL, 'permissions_cat_name_b' => NULL, 'add_text' => ocp_tempcode::__set_state(array( 'code_to_preexecute' => '$TPL_FUNCS[\'tcpfunc_PARAGRAPH\']="eval(\$FULL_RESET_VAR_CO
DE); echo \"<p\",\n   (isset(\$bound_CLASS)?(\" class=\\\"\".( isset (\$bound_CLASS)?(((isset(\$bound_CLASS->preprocessable_bits)
) && (\$bound_CLASS->pure_lang))?output_tempcode_parameter( isset (\$bound_CLASS)?\$bound_CLASS:NULL,\"CLASS\",\"PARAGRAPH\"):
str_replace(\$GLOBALS[\'HTML_ESCAPE_1_STRREP\'],\$GLOBALS[\'H
TML_ESCAPE_2\'],output_tempcode_parameter( isset (\$bound_CLASS)?\$bound_CLASS:NULL,\"CLASS\",\"PARAGRAPH\"))
):attach_message(do_lang_tempcode(\'MISSING_TEMPLATE_PARAMETE
R\',\"CLASS\",\"PARAGRAPH\"),\"warn\")).\"\\\"\"):\'\'),\n \">\\n   \",\n   output_tempcode_paramet
er( isset (\$bound_TEXT)?\$bound_TEXT:NULL,\"TEXT\",\"PARAGRAPH\"),\n   
\"\\n</p>\\n\";"; ', 'seq_parts' => array ( 0 => array ( 0 => 'tcpfunc_PARAGRAPH', 1 => array ( '_GUID' => '', 'TEXT' => ocp_tempcode::__set_state(array( 'code_to_preexecute' => '$TPL_FUNCS[\'do_runtime_4f8ada77abd0f1.00937747\']="echo ecv(\$cl,array(),2,\"ALSO_AUDIO\",\$parameters);"; ', 'seq_parts' => array ( 0 => array ( 0 => 'do_runtime_4f8ada77abd0f1.00937747', 1 => array ( ), 2 => 2, 3 => 'ALSO_AUDIO', 4 => '', ), ), 'preprocessable_bits' => array ( ), 'last_attach' => NULL, 'pure_lang' => true, 'codename' => ':container', 'cached_output' => NULL, )), 'CLASS' => NULL, ), 2 => 1, 3 => '', 4 => NULL, ), ), 'preprocessable_bits' => array ( ), 'last_attach' => 'PARAGRAPH', 'pure_lang' => NULL, 'codename' => '(mixed)', 'cached_output' => NULL, )), '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' => '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, 'table_prefix' => '', 'array_key' => 'id', 'title_is_multi_lang' => true, 'orderer' => 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, 'care_please' => true, 'new_id' => NULL, 'no_blank_ids' => true, 'posting_field_required' => true, 'table_prefix' => '', 'array_key' => 'id', 'title_is_multi_lang' => true, 'orderer' => NULL, ))
Type    '->'
Args   
'__gimp'


File    '/home/thenewh6/public_html/pf/sources/zones.php'
Line    '424'
Function    'run'
Class    'standard_aed_module'
Object    Module_cms_galleries::__set_state(array( 'lang_type' => 'IMAGE', 'select_name_description' => 'DESCRIPTION_IMAGE', 'select_name' => 'IMAGE', 'permissions_require' => 'mid', 'permissions_cat_require' => 'galleries', 'permissions_cat_name' => 'cat', 'user_facing' => true, 'seo_type' => 'image', 'upload' => 'image', 'award_type' => 'image', 'javascript' => 'standardAlternateFields(\'file\',\'url\'); standardAlternateFields(\'file2\',\'thumb_url\');', 'menu_label' => 'GALLERIES', 'table' => 'images', 'donext_type' => NULL, 'module_type' => 'galleries', '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, '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_galleries_cat::__set_state(array( 'lang_type' => 'GALLERY', 'select_name' => 'NAME', 'permissions_require' => 'cat_mid', 'permission_module' => 'galleries', 'seo_type' => 'gallery', 'upload' => 'image', 'non_integer_id' => true, 'award_type' => 'gallery', 'menu_label' => 'GALLERIES', 'table' => 'galleries', 'javascript' => 'var fn=document.getElementById(\'fullname\'); 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, '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' => 'd', '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, '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, 'table_prefix' => '', 'array_key' => 'id', 'title_is_multi_lang' => true, 'orderer' => NULL, )), 'alt_aed_module' => Module_cms_galleries_alt::__set_state(array( 'lang_type' => 'VIDEO', 'select_name' => 'NAME', 'permissions_require' => 'mid', 'permissions_cat_require' => 'galleries', 'permissions_cat_name' => 'cat', 'user_facing' => true, 'seo_type' => 'video', 'upload' => 'file', 'javascript' => 'standardAlternateFields(\'file\',\'url\'); standardAlternateFields(\'file2\',\'thumb_url\');', 'award_type' => 'video', 'menu_label' => 'GALLERIES', 'table' => 'videos', '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, 'protect_first' => 0, 'permission_page' => NULL, 'permission_module' => NULL, 'permissions_cat_require_b' => NULL, 'permissions_cat_name_b' => NULL, 'add_text' => ocp_tempcode::__set_state(array( 'code_to_preexecute' => '$TPL_FUNCS[\'tcpfunc_PARAGRAPH\']="eval(\$FULL_RESET_VAR_CO
DE); echo \"<p\",\n   (isset(\$bound_CLASS)?(\" class=\\\"\".( isset (\$bound_CLASS)?(((isset(\$bound_CLASS->preprocessable_bits)
) && (\$bound_CLASS->pure_lang))?output_tempcode_parameter( isset (\$bound_CLASS)?\$bound_CLASS:NULL,\"CLASS\",\"PARAGRAPH\"):
str_replace(\$GLOBALS[\'HTML_ESCAPE_1_STRREP\'],\$GLOBALS[\'H
TML_ESCAPE_2\'],output_tempcode_parameter( isset (\$bound_CLASS)?\$bound_CLASS:NULL,\"CLASS\",\"PARAGRAPH\"))
):attach_message(do_lang_tempcode(\'MISSING_TEMPLATE_PARAMETE
R\',\"CLASS\",\"PARAGRAPH\"),\"warn\")).\"\\\"\"):\'\'),\n \">\\n   \",\n   output_tempcode_paramet
er( isset (\$bound_TEXT)?\$bound_TEXT:NULL,\"TEXT\",\"PARAGRAPH\"),\n   
\"\\n</p>\\n\";"; ', 'seq_parts' => array ( 0 => array ( 0 => 'tcpfunc_PARAGRAPH', 1 => array ( '_GUID' => '', 'TEXT' => ocp_tempcode::__set_state(array( 'code_to_preexecute' => '$TPL_FUNCS[\'do_runtime_4f8ada77abd0f1.00937747\']="echo ecv(\$cl,array(),2,\"ALSO_AUDIO\",\$parameters);"; ', 'seq_parts' => array ( 0 => array ( 0 => 'do_runtime_4f8ada77abd0f1.00937747', 1 => array ( ), 2 => 2, 3 => 'ALSO_AUDIO', 4 => '', ), ), 'preprocessable_bits' => array ( ), 'last_attach' => NULL, 'pure_lang' => true, 'codename' => ':container', 'cached_output' => NULL, )), 'CLASS' => NULL, ), 2 => 1, 3 => '', 4 => NULL, ), ), 'preprocessable_bits' => array ( ), 'last_attach' => 'PARAGRAPH', 'pure_lang' => NULL, 'codename' => '(mixed)', 'cached_output' => NULL, )), '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' => '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, 'table_prefix' => '', 'array_key' => 'id', 'title_is_multi_lang' => true, 'orderer' => 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, 'care_please' => true, 'new_id' => NULL, 'no_blank_ids' => true, 'posting_field_required' => true, 'table_prefix' => '', 'array_key' => 'id', 'title_is_multi_lang' => true, 'orderer' => NULL, ))
Type    '->'
Args   

File    '/home/thenewh6/public_html/pf/sources/site.php'
Line    '1,016'
Function    'load_module_page'
Args   
'cms/pages/modules/cms_galleries.php'

'cms_galleries'


File    '/home/thenewh6/public_html/pf/sources/site.php'
Line    '785'
Function    'request_page'
Args   
'cms_galleries'

true


File    '/home/thenewh6/public_html/pf/cms/index.php'
Line    '50'
Function    'do_site'
Args   


Fixed:
Attachment
cms/pages/modules/cms_galleries.php
» Download: cms_galleries.php (83 Kb, 49 downloads so far)





Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Rating:
#83529
Avatar

ocStaff (admin)

Fletch said

Sorry, but this one has turned into a ball of chalk.

I've encountered so many errors so far that I don't even intend to continue trying to sort things out on my cloned site.

I know this isn't a very helpful comment, but there are so many 'gotchas' that I don't even know where to start …

I'll probably get over it, but for now it looks like 7.1.6 is going to be the last ocP upgrade I intend to live with.

bummer


I haven't read through your subsequent posts yet, but this release should have been very stable given how constrained changes have been. I tested in a number of browsers since the last release, and ran through the whole test set again. So if there are any new bugs it might have been maybe one bug that recurred – anyway I will see.



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Rating:
#83530
Avatar

ocStaff (admin)

Fletch said

Problem(s) transitioning between 'Quick reply' and 'Full editor'






Fix for switching to full reply attached:
Attachment
themes/default/templates/COMMENTS_POSTING_FORM.tpl
» Download: COMMENTS_POSTING_FORM.tpl (17 Kb, 50 downloads so far)


(a mis-placed ";" changed the logic – it was meant to just wipe out placeholder text, but ended up wiping all text)

The "ensure_1d" problem was fixed way back, possible RC1 - but you might have JAVASCRIPT_EDITING.tpl or JAVASCRIPT_POSTING.tpl overrides.



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Rating:
#83531
Avatar

ocStaff (admin)

temp1024 said

Something funky is definitely happening even on these forums which is running RC3.

Replied to Fletch, but FYI this version here is always a bit bastardised for testing purposes, so don't listen to what it says in view-source ;).



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Rating:
#83532
Avatar

ocStaff (admin)

Duck said

I am not sure what changed with the new notifications system but now I only get notified when someone "LIKES" something I have posted but I used to get notified when someone replied to a topic in which I am participating and I no longer do. Why is that?


'Likes' would be a specific notification you can turn on or off from the notification settings form.

Replies to your own topic would be triggered by the special "Automatically monitor content you've touched" setting on the notification settings form. If that's not checked, it will only do it if you explicitly choose to monitor a topic.



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Rating:
#83533
Avatar

ocStaff (admin)

sholzy said




Do you use the plupload addon (non-bundled)? If so, please try reinstalling it as fixes have been made in here also. Otherwise either:
  1. could you open a bug report ticket with whatever details I'd need to test this on your site, and info about what browser you are using.
  2. You might find something in your browser's error log about a corrupt javascript_swfupload.js, put &keep_no_minify=1 into the URL (to turn off JS compression) and then let me know the error (i.e. line number and error message).




Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Rating:
#83534
Avatar

ocStaff (admin)

Ok, so we only have one new bug here and dozens fixed :).



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Rating:
#83536
Avatar

Community saint

Petrikuhr said

I was about to post about this one, your video post says it all, very inventive bug report. :)
ROTFLMAO!

You ain't seen nuffin' yet …

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#83537
Avatar

Community saint

Fletch said

Problem(s) transitioning between 'Quick reply' and 'Full editor'




@Fletch,
:offtopic:
Those little gems of bug reports are elegant, indelicate, pragmatic and funky all at the same time, and very entertaining. I keep wondering that you could gather quite an audience if you'd do some about the little "bugs" of life in the same humoristic manner. Maybe you already do this on your site and I've missed them not having visited in a while. I wish to see more, even if it is just about bugs on these RCs! But this may be wishful thinking, since Chris keeps fixing things so quickly to the points where there might be no bug left for you to report on.:(

You made my day, thanks!:)

Jean

 
Back to the top
 
Posted
Rating:
#83538
Avatar

Community saint

Fix for switching to full reply attached: …
… (a mis-placed ";" changed the logic – it was meant to just wipe out placeholder text, but ended up wiping all text)
Fixed!

The "ensure_1d" problem was fixed way back, possible RC1 - but you might have JAVASCRIPT_EDITING.tpl or JAVASCRIPT_POSTING.tpl overrides.
JAVASCRIPT_POSTING.tpl was the override culprit.

Allow me a brief explanation.
  • When doing the 'theme' upgrade, the upgrader DOES report overrides and recommends the action to be taken.
  • In my case, these are lengthy reports.
  • I have been working through the report, but in this case I hadn't quite reached 'JAVASCRIPT_POSTING.tpl', hence the issue.

I don't actually have a recommendation for a solution for this 'problem' for other users that find themselves in a similar predicament. All I know is that you cannot ignore the report results!

Back to work to identify further overrides that require to be 'changed'/'reinstated'/'whatever'.

I shall be more careful to check before whingeing openly in forum!

 :thumbs:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#83539
Avatar

Community saint

Chris Graham said


'Likes' would be a specific notification you can turn on or off from the notification settings form.

Replies to your own topic would be triggered by the special "Automatically monitor content you've touched" setting on the notification settings form. If that's not checked, it will only do it if you explicitly choose to monitor a topic.


I have Checkmarked the Content Touched thingy but I still don't get notified of my forum topics unless someone likes something.
Back to the top
 
Posted
Rating:
#83541
Avatar

ocStaff (admin)

Duck said

Chris Graham said


'Likes' would be a specific notification you can turn on or off from the notification settings form.

Replies to your own topic would be triggered by the special "Automatically monitor content you've touched" setting on the notification settings form. If that's not checked, it will only do it if you explicitly choose to monitor a topic.


I have Checkmarked the Content Touched thingy but I still don't get notified of my forum topics unless someone likes something.


It's not retroactive, so for existing topics you will need to click monitor.



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Rating:
#83542
Avatar

ocStaff (admin)

Fletch said

Fix for switching to full reply attached: …
… (a mis-placed ";" changed the logic – it was meant to just wipe out placeholder text, but ended up wiping all text)
Fixed!

The "ensure_1d" problem was fixed way back, possible RC1 - but you might have JAVASCRIPT_EDITING.tpl or JAVASCRIPT_POSTING.tpl overrides.
JAVASCRIPT_POSTING.tpl was the override culprit.

Allow me a brief explanation.
  • When doing the 'theme' upgrade, the upgrader DOES report overrides and recommends the action to be taken.
  • In my case, these are lengthy reports.
  • I have been working through the report, but in this case I hadn't quite reached 'JAVASCRIPT_POSTING.tpl', hence the issue.

I don't actually have a recommendation for a solution for this 'problem' for other users that find themselves in a similar predicament. All I know is that you cannot ignore the report results!

Back to work to identify further overrides that require to be 'changed'/'reinstated'/'whatever'.

I shall be more careful to check before whingeing openly in forum!

 :thumbs:


Over the years I have developed a thick skin and a "calmly deal with facts" approach :lol:. It is a large package, occasional stress is not surprising.

Javascript overrides are always tricky, there is so much core code in those. I'd hope people rarely had a reason to override them, but I guess otherwise you'll just need to keep a change log or write your own little "upgrade stage 2" checklist.



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Item has a rating of 5 (Liked by Robbie GoacherLiked by Jean)  
Rating:
#83543
Avatar

Community saint

Jean said

You made my day, thanks!

ROTFLMAO-2!

With a response like yours, and also the one from Petrikuhr, I don't need much encouragement to continue. But I should be mindful of the views of the staff and other 'busy' users who would rather have the facts stated as 'facts' only.

For me it is a bit of catharsis, and helps to defuse the situation in my own mind.



P.S. I initially typed in the word 'cathartic', but it didn't seem right, so I looked it up. Glad I did …
… a cathartic is a substance that accelerates defecation.
ooerrrr, that is certainly not what I wanted to convey!

 :lol:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#83547
Avatar

Community saint

Fletch I love your way to use the needed humor  for most problems. Its the only way to stay a live.  Great!!

Greets from a to cold and raining Netherlands


digiflash | Photography,Webdesign and digital art community (dutch)
Back to the top
 
Posted
Rating:
#83549
Avatar

Community saint

Harry-S said

Fletch I love your way to use the needed humor  for most problems. Its the only way to stay a live.  Great!!

Greets from a to cold and raining Netherlands


Thanks Harry.

I may (or may not) have mentioned it before, but I've spent about 5 or 6 years in Zuid-Limburg in the past, and a cold, rainy Netherlands is not an attractive proposition while the sun starts to warm us up here Portugal.

Of course, you probably wouldn't consider living in Zuid-Limburg as the same as living in the Netherlands, but I won't start that discussion here!

 :lol:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#83551
Avatar

Community saint

Fletch said

Harry-S said

Fletch I love your way to use the needed humor  for most problems. Its the only way to stay a live.  Great!!

Greets from a to cold and raining Netherlands


Thanks Harry.

I may (or may not) have mentioned it before, but I've spent about 5 or 6 years in Zuid-Limburg in the past, and a cold, rainy Netherlands is not an attractive proposition while the sun starts to warm us up here Portugal.

Of course, you probably wouldn't consider living in Zuid-Limburg as the same as living in the Netherlands, but I won't start that discussion here!

 :lol:

lolol Fletch, If this is going on here, I will come to Portugal. Above where I live is nothing then water…. so the north. Its freecing here to night brrrrrrrrrr  


digiflash | Photography,Webdesign and digital art community (dutch)
Back to the top
 
Posted
Rating:
#83556
Avatar

Community saint

Due to other constraints, I have missed out on testing the last 2 RCs. I've just reverted  my clone site to 7.1.6 and am waiting for RC6 to drop to start testing that version.

I personally don't care how many RCs there are as long as we are moving forward and I hope that the official release has 0 known bugs.

As for the frustration of testing what seems to be endless issues, I just look on it as one more gift I can make to the greater community. Given how much code was touched in this release, it is really not surprising to see so much popping up and I expect even more as people delve into the new features rather than just replicating "what was" on their sites.

But, just so we can blame it all on Chris, he is right that the first (and maybe several more) releases should have been labelled 'beta'.   :)

I'm looking forward to RC6 and getting back to testing - especially some of the new features.

Bob

Back to the top
 
Posted
Rating:
#83561
Avatar

Community saint

Chris Graham said

sholzy said

And another one…

This one is from the 'Site Tree Editor' trying to expand the 'Zone: Welcome' branch. All other branches seem to expand properly.






If you open up the browser development tools, find the network request for the site_tree.php script, and open it in a new tab, do you see an error message?

I could not reproduce.
This is the only thing on the page:
This page contains the following errors:

error on line 1 at column 1991: EntityRef: expecting ';'
Below is a rendering of the page up to the first error.

Same error happens when I'm in the menu editor and try to expand 'Zone: Welcome'. Same as with the site tree editor, all other branches open as expected.

Steve

Back to the top
 
Posted
Rating:
#83562
Avatar

ocStaff (admin)

sholzy said

Chris Graham said

sholzy said

And another one…

This one is from the 'Site Tree Editor' trying to expand the 'Zone: Welcome' branch. All other branches seem to expand properly.






If you open up the browser development tools, find the network request for the site_tree.php script, and open it in a new tab, do you see an error message?

I could not reproduce.
This is the only thing on the page:
This page contains the following errors:

error on line 1 at column 1991: EntityRef: expecting ';'
Below is a rendering of the page up to the first error.

Same error happens when I'm in the menu editor and try to expand 'Zone: Welcome'. Same as with the site tree editor, all other branches open as expected.

Could you put through a bug report ticket with the URL please, I'll need to do an analysis.



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Expand