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.


ocPortal 8 RC5 released - Comments

Login / Search

 [ Join | More ]
 

ocPortal 8 RC5 released

Posted 18 April 2012, 3:02 PM

8 RC5 released. Read the full article for a list of changes, and upgrade information.

Read more


Avatar
I was hoping this one would have cleared up with rc5. Not sure if it's a bug or my system.

Added a custom catalog field with this data type "A link to an item of 'catalogue_category' content", and later received a popup on Chrome when entering the catalog entry screen, and that field just hangs there showing as loading. No errors or stack traces other than the popup.



Avatar

sholzy said

I was hoping this one would have cleared up with rc5. Not sure if it's a bug or my system.

Added a custom catalog field with this data type "A link to an item of 'catalogue_category' content", and later received a popup on Chrome when entering the catalog entry screen, and that field just hangs there showing as loading. No errors or stack traces other than the popup.






Attachment
sources/hooks/systems/ajax_tree/choose_catalogue_category.php
» Download: choose_catalogue_category.php (4 Kb, 376 downloads so far)


Fix attached. This will allow the user adding an entry (or doing a search) to choose from all categories across all catalogues. This particular field type doesn't support scoping to a particular catalogue.


Avatar
Oke I have found one to, if I want to take the respondility for a contact us, I got a error:

Code

PHP WARNING [2] Missing argument 5 for forum_driver_ocf::make_post_forum_topic(), called in /xxx/xxxx/xxxxx/xxxxxx/public_html/adminzone/pages/modules/admin_messaging.php on line 242 and defined in sources/forum/ocf.php on line 209 (version: 8-RC5, PHP version: 5.2.17, URL: /adminzone/pg/admin_messaging/take/4f7dcab106490/index.php?message_type=contact)




Avatar

Harry-S said

Oke I have found one to, if I want to take the respondility for a contact us, I got a error:

Code

PHP WARNING [2] Missing argument 5 for forum_driver_ocf::make_post_forum_topic(), called in /xxx/xxxx/xxxxx/xxxxxx/public_html/adminzone/pages/modules/admin_messaging.php on line 242 and defined in sources/forum/ocf.php on line 209 (version: 8-RC5, PHP version: 5.2.17, URL: /adminzone/pg/admin_messaging/take/4f7dcab106490/index.php?message_type=contact)







Fixed:
Attachment
adminzone/pages/modules/admin_messaging.php
» Download: admin_messaging.php (8 Kb, 384 downloads so far)


Avatar
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.



Show 4 replies


Avatar
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   

Show 1 reply


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



Avatar

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
Avatar

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:


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

Show 1 reply


Show 3 more replies


Avatar
Fletch-

FLV is a container format; when QT complains that it needs another plug-in, it's basically saying that it does not have a codec to decode the stream. Do you know what the underlying format packaged in the FLV file is?

The real issue is why are your browsers not handling the FLV file directly since they all support this container format. Is it truly any FLV that does not decode in browser? How about an MPEG-4 stream packaged as FLV?

Bob
Avatar

BobS said

Fletch-

FLV is a container format; when QT complains that it needs another plug-in, it's basically saying that it does not have a codec to decode the stream. Do you know what the underlying format packaged in the FLV file is?

The real issue is why are your browsers not handling the FLV file directly since they all support this container format. Is it truly any FLV that does not decode in browser? How about an MPEG-4 stream packaged as FLV?

Bob


Sorry I can't respond knowledgeably to that, Bob, as I haven't got a clue about the codecs used or missing.

But here's the rub; the identical vid with .flv extension plays perfectly on the live site running on version 7.1.6. And there isn't a whimper from any of the browsers, either.

Ergo, I have to assume it is something to do with one of the v8 files causing the problem. Which one is the question. And I don't know the answer - yet!

 :thumbs:
Avatar

Fletch said

Sorry I can't respond knowledgeably to that, Bob, as I haven't got a clue about the codecs used or missing.

But here's the rub; the identical vid with .flv extension plays perfectly on the live site running on version 7.1.6. And there isn't a whimper from any of the browsers, either.

Ergo, I have to assume it is something to do with one of the v8 files causing the problem. Which one is the question. And I don't know the answer - yet!

 :thumbs:
You are right. If it plays in v7, it should play in v8. Does it play via jwplayer in 7.1.6? If so, it's most likely a change in jwplayer but I suspect it will take Chris to sort this.

Bob
Avatar
This should fix it:
Attachment
sources/mime_types.php
» Download: mime_types.php (4 Kb, 351 downloads so far)


In our attempt to allow people to de-flashify ocPortal, this time an anomalous "_" stopped flv's getting picked p as supported videos.
Avatar

Chris Graham said

This should fix it:
It certainly did. Look …




thanks

Avatar

Fletch said

Chris Graham said

This should fix it:
It certainly did. Look …



​​​

Another splendid creation, Fletch!
Brilliant voice-over!  lol:lol: and wowed:cool:by the subject

Show 1 more reply






Avatar
Oh poo, I rather thought I might update my actual site as RC5 should obviously be pretty stable, what do I get, a kick in the royal behind for my trouble, ploppy!

I finished the upgrader without any problems, so i thought, I navigated to my sites index and got this:
An error has occurred

Non-closed brace or directive in template on line 1 (version: 8-RC5, PHP version: 5.3.8, URL: /index.php?page=start&keep_fatalistic=1)
You have turned on stack traces for all errors, via having keep_fatalistic=1 in the URL. This means that this may not actually be a fatal error, you have just asked for it to be presented as such (perhaps to help you find where it came from).

Expanded advice
A template is corrupt.

How did this happen?
The file may have uploaded incorrectly, or it may have been edited incorrectly.

Tempcode directives must end. i.e. For any {+START,…} there must be a {+END} somewhere later in the file.

Any kind of variable (parameter, symbol, language reference, or directive) must have a closing brace (}) corresponding to it's opening brace ({). e.g. {EXAMPLE,a,{B} is invalid and should be {$EXAMPLE,a,{B}}.

How do I fix it?
If you have mis-edited a template correct that error. If you can't because the template editor itself shows the error then open up ocPortal using the default theme and safe-mode by appending &keep_safe_mode=1&keep_theme=default to a URL then browsing to the editor as normal (or ?keep_safe_mode=1&keep_theme=default if the URL you are adding to it doesn't have any parameters on yet). The Setup Wizard asked you to bookmark the safe-mode URL so you may find it in your bookmarks if you're struggling.

You can use the 'Integrity checker' option within the upgrader to find a list of all corrupt files. You can access the upgrader by calling up the '/upgrader.php' URL on your site.

Once you have identified which files are corrupt you need to re-upload them. Download the manual installer from the ocPortal website that corresponds to your version, and then upload the files using an FTP client (or by some other means if you prefer).
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/rockbabe/public_html/sources/failure.php
'
Line    '683'
Function    'get_html_trace'
Args    

File    '/home/rockbabe/public_html/sources/global2.php
'
Line    '979'
Function    '_fatal_exit'
Args    

object

File    '/home/rockbabe/public_html/sources/failure.php
'
Line    '237'
Function    'fatal_exit'
Args    

object

File    '/home/rockbabe/public_html/sources/global2.php
'
Line    '939'
Function    '_generic_exit'
Args    

object

'WARN_SCREEN'

File    '/home/rockbabe/public_html/sources/tempcode_co
mpiler.php'
Line    '533'
Function    'warn_exit'
Args    

object

File    '/home/rockbabe/public_html/sources/tempcode_co
mpiler.php'
Line    '646'
Function    'compile_template'
Args    

'{$REPLACE,'

''

'Rock_Babe'

'EN'

File    '/home/rockbabe/public_html/sources/menus.php'
Line    '674'
Function    'template_to_tempcode'
Args    

'{$REPLACE,'

File    '/home/rockbabe/public_html/sources/menus.php'
Line    '537'
Function    'render_menu_branch'
Args    …

1

File    '/home/rockbabe/public_html/sources/menus.php'
Line    '376'
Function    'render_menu'
Args    …

NULL

'tree'

true

File    '/home/rockbabe/public_html/sources/blocks/side
_stored_menu.php'
Line    '86'
Function    'build_stored_menu'
Args    

'tree'

'site'

false

File    '/home/rockbabe/public_html/sources/zones.php'
Line    '695'
Function    'run'
Class    'Block_side_stored_menu'
Object    Block_side_stored_menu::__set_state(array( ))
Type    '->'
Args    

array ( 'param' => 'site', 'type' => 'tree', 'caption' => 'Pages', 'block' => 'side_stored_menu', )

File    '/home/rockbabe/public_html/sources/tempcode.ph
p'
Line    '740'
Function    'do_block'
Args    

'side_stored_menu'

array ( 'param' => 'site', 'type' => 'tree', 'caption' => 'Pages', 'block' => 'side_stored_menu', )

File    '/home/rockbabe/public_html/sources/tempcode.ph
p'
Line    '1,017'
Function    'handle_symbol_preprocessing'
Args    

array ( 0 => array ( ), 1 => 0, 2 => 'BLOCK', 3 => array ( 0 => 'param=site', 1 => 'type=tree', 2 => 'caption=Pages', 3 => 'block=side_stored_menu', ), )

NULL

File    '/home/rockbabe/public_html/sources/tempcode.ph
p'
Line    '829'
Function    'handle_symbol_preprocessing'
Class    'ocp_tempcode'
Object    object
Type    '->'
Args    

File    '/home/rockbabe/public_html/sources/tempcode.ph
p'
Line    '1,017'
Function    'handle_symbol_preprocessing'
Args    …

NULL

File    '/home/rockbabe/public_html/sources/site.php'
Line    '832'
Function    'handle_symbol_preprocessing'
Class    'ocp_tempcode'
Object    object
Type    '->'
Args    

File    '/home/rockbabe/public_html/index.php'
Line    '104'
Function    'do_site'
Args  


Avatar
Earlier I tried several times, I could not get through.

I tried this time, I got through, sort-of - getting a Critical Error screen as well!



YAY! lol, at least I get the download link now eh?

Show 3 replies


Avatar
Showing "More Replies" shows something other than more replies, it shows the front page of this site, with an internal error warning!

Show 2 replies


Avatar
I don't think we've gone up to an RC5 before. RC1 should have been a beta, but on the tail end of this we are being very strict by:
  • ensuring no new functionality (however temptingly small) goes into v8 (we have an 'unstable' branch in git)
  • making sure the v8 gold is truly a copy of the final RC release, rebadged. i.e. v8 will only be released when an RC is found to have close to zero bugs.
I'm hoping this is that final RC, pushing quick fixes for all the little issues people have picked up on has taken quite some time over the last weeks ;).

Avatar
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
Avatar
Hi Fletch,

It's easy to forget that this is still only a Release Candidate.  If you install a pre-release version you are going to find issues - that's exactly why it's a pre-release version!

I'm sure you're frustrated, but before making your final decision, maybe wait for v8 to actually be released.  You don't have to put yourself through the pain of being a pre-release tester if you don't want to!   :)
Avatar

O said

Hi Fletch,

It's easy to forget that this is still only a Release Candidate.  If you install a pre-release version you are going to find issues - that's exactly why it's a pre-release version!

I'm sure you're frustrated, but before making your final decision, maybe wait for v8 to actually be released.  You don't have to put yourself through the pain of being a pre-release tester if you don't want to!   :)
I'm sure your advice is well meant, but it is certainly unnecessary. I've been with ocPortal since version 2.0, and have managed to weather the storms for each upgrade, frustrated or not.

But thanks for the encouragement!

 :o


Show 1 more reply


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

Last time I tried to switch from quick to full editor (I don't know which RC version it was) my text would appear in the full editor and I could add text to it, but when I previewed it, the original text from the quick reply disappeared and only the changes that I made while in full editor stayed.

I didn't have the time then to report it, and ended up forgetting about it.

Show 1 reply


Avatar
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?

Show 5 replies


Avatar

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


Are you upgrading each RC as each RC is released (7.x.x -> RC1 -> RC2 etc.), or are you starting over from 7.x.x each time (7.x.x -> RC5)?

I finally jumped on the bandwagon with RC4 upgrading my clone from 7.1.6 and had very few problems, but I'm probably not digging as deep for bugs as some are.

Fletch said

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

I notice that behavior on this forum with the current RC. I have also noticed this problem when I first started using ocP (early 7.x), but it seemed to clear up after a few upgrades. I had gotten into the habit of copying my text before switching to the full editor, so at first I didn't notice the new glitch.
Avatar
Are you upgrading each RC as each RC is released (7.x.x -> RC1 -> RC2 etc.), or are you starting over from 7.x.x each time (7.x.x -> RC5)?

Each as they appear.

That is why I am showing signs of frustration. I had expected each newer upgrade to work as well as the previous one(s) as soon as they had been patched piecemeal.

Unfortunately, for me, it appears that RC5 has brought its own baggage with it. I will continue to 'find' the gremlins, but I suspect an RC6 will overtake anything I try to do.

Hi, freakin Ho!



Avatar

Show 3 replies


Avatar



Show 30 more replies

There are too many online users to list.
Control functions:

Quick reply   Expand