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.


Can't remove periodic newsletter

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#98640 (In Topic #19438)

Honoured member

When trying to remove a periodic newsletter I get the following error.  I looked inside my templates directory and the file is not ther.  I just downloaded a copy of 9.0.7 and extracted it and it isn't in it either.

Code

Critical error - bailing out
This is an error that has been elevated to critical error status because it occurred
during the primary error mechanism reporting system itself (possibly due to it occuring
within the standard output framework). It may be masking a secondary error that occurred
before this, but was never output - if so, it is likely strongly related to this
one, thus fixing this will fix the other.
A template file is missing:PERIODIC_NEWSLETTER_REMOVE(themes/default/templates/PERIODIC_NEWSLETTER_REMOVE.tpl
or an overridden equivalent to this path) (version: 9.0.7, PHP version: 5.3.22, URL:
/adminzone/index.php?page=admin_newsletter&type=whatsnew)
Stack trace...
File -> '/home/catcom/public_html/sources/failure.php'
Line -> 792
Function -> 'die_html_trace'
Args -> array (
0 => 'A template file is missing: <kbd>PERIODIC_NEWSLETTER_REMOVE</kbd> (<kbd>themes/default/templates/PERIODIC_NEWSLETTER_REMOVE.tpl</kbd>
or an overridden equivalent to this path) (version: 9.0.7, PHP version: 5.3.22, URL:
/adminzone/index.php?page=admin_newsletter&amp;type=whatsnew)',
)
File -> '/home/catcom/public_html/sources/global2.php'
Line -> 1012
Function -> '_fatal_exit'
Args -> array
File -> '/home/catcom/public_html/sources/tempcode.php'
Line -> 575
Function -> 'fatal_exit'
Args -> array
File -> '/home/catcom/public_html/adminzone/pages/modules/admin_newsletter.php'
Line -> 868
Function -> 'do_template'
Args -> array
File -> '/home/catcom/public_html/adminzone/pages/modules/admin_newsletter.php'
Line -> 84
Function -> 'automatic_whats_new'
Class -> 'Module_admin_newsletter'
Object -> Module_admin_newsletter::__set_state(array(
'lang_type' => 'NEWSLETTER',
'select_name' => 'TITLE',
'do_preview' => NULL,
'cache_level_counts' =>
array (
),
'menu_label' => 'NEWSLETTER',
'table' => 'newsletters',
'title_is_multi_lang' => true,
'module_type' => 'newsletter',
'redirect_type' => NULL,
'code_require' => NULL,
'javascript_require' => NULL,
'skip_validation' => false,
'default_type' => 'misc',
'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,
'protect_first' => 0,
'permission_page' => NULL,
'permission_module' => NULL,
'permissions_require' => 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' =>
array (
0 =>
array (
0 => 'newsletters',
1 =>
array (
0 => '_SELF',
1 =>
array (
'type' => 'new',
),
2 => '_SELF',
),
2 => 'Send out issue',
),
1 =>
array (
0 => 'newsletter_from_changes',
1 =>
array (
0 => '_SELF',
1 =>
array (
'type' => 'whatsnew',
),
2 => '_SELF',
),
2 => 'Send out/schedule issue: New content',
3 => 'DOC_NEWSLETTER_CONTENT',
),
2 =>
array (
0 => 'view_archive',
1 =>
array (
0 => '_SELF',
1 =>
array (
'type' => 'archive',
),
2 => '_SELF',
),
2 => 'Newsletter archive',
),
3 =>
array (
0 => 'subscribers',
1 =>
array (
0 => '_SELF',
1 =>
array (
'type' => 'subscribers',
),
2 => '_SELF',
),
2 => 'View subscribers',
),
4 =>
array (
0 => 'import_subscribers',
1 =>
array (
0 => '_SELF',
1 =>
array (
'type' => 'import_subscribers',
),
2 => '_SELF',
),
2 => 'Import newsletter subscribers',
),
5 =>
array (
0 => 'newsletter_email_bounce',
1 =>
array (
0 => '_SELF',
1 =>
array (
'type' => 'bounce_filter_a',
),
2 => '_SELF',
),
2 => 'Bounce filter',
),
),
'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,
'add_one_label' =>
ocp_tempcode::__set_state(array(
'code_to_preexecute' => '$TPL_FUNCS[\'do_runtime_51df93966f3f33.83829586\']="echo
ecv(\\$cl,array(),2,\\"ADD_NEWSLETTER\\",\\$parameters);";
',
'seq_parts' =>
array (
0 =>
array (
0 => 'do_runtime_51df93966f3f33.83829586',
1 =>
array (
),
2 => 2,
3 => 'ADD_NEWSLETTER',
4 => '',
),
),
'preprocessable_bits' =>
array (
),
'last_attach' => NULL,
'pure_lang' => true,
'codename' => ':container',
'cached_output' => NULL,
)),
'add_one_cat_label' => NULL,
'edit_this_label' =>
ocp_tempcode::__set_state(array(
'code_to_preexecute' => '$TPL_FUNCS[\'do_runtime_51df93966f4141.87968618\']="echo
ecv(\\$cl,array(),2,\\"EDIT_THIS_NEWSLETTER\\",\\$parameters);";
',
'seq_parts' =>
array (
0 =>
array (
0 => 'do_runtime_51df93966f4141.87968618',
1 =>
array (
),
2 => 2,
3 => 'EDIT_THIS_NEWSLETTER',
4 => '',
),
),
'preprocessable_bits' =>
array (
),
'last_attach' => NULL,
'pure_lang' => true,
'codename' => ':container',
'cached_output' => NULL,
)),
'edit_one_label' =>
ocp_tempcode::__set_state(array(
'code_to_preexecute' => '$TPL_FUNCS[\'do_runtime_51df93966f4348.99012321\']="echo
ecv(\\$cl,array(),2,\\"EDIT_NEWSLETTER\\",\\$parameters);";
',
'seq_parts' =>
array (
0 =>
array (
0 => 'do_runtime_51df93966f4348.99012321',
1 =>
array (
),
2 => 2,
3 => 'EDIT_NEWSLETTER',
4 => '',
),
),
'preprocessable_bits' =>
array (
),
'last_attach' => NULL,
'pure_lang' => true,
'codename' => ':container',
'cached_output' => 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',
'orderer' => NULL,
))
Type -> '->'
Args -> array (
)
File -> '/home/catcom/public_html/sources/aed_module.php'
Line -> 205
Function -> 'run_start'
Class -> 'Module_admin_newsletter'
Object -> Module_admin_newsletter::__set_state(array(
'lang_type' => 'NEWSLETTER',
'select_name' => 'TITLE',
'do_preview' => NULL,
'cache_level_counts' =>
array (
),
'menu_label' => 'NEWSLETTER',
'table' => 'newsletters',
'title_is_multi_lang' => true,
'module_type' => 'newsletter',
'redirect_type' => NULL,
'code_require' => NULL,
'javascript_require' => NULL,
'skip_validation' => false,
'default_type' => 'misc',
'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,
'protect_first' => 0,
'permission_page' => NULL,
'permission_module' => NULL,
'permissions_require' => 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' =>
array (
0 =>
array (
0 => 'newsletters',
1 =>
array (
0 => '_SELF',
1 =>
array (
'type' => 'new',
),
2 => '_SELF',
),
2 => 'Send out issue',
),
1 =>
array (
0 => 'newsletter_from_changes',
1 =>
array (
0 => '_SELF',
1 =>
array (
'type' => 'whatsnew',
),
2 => '_SELF',
),
2 => 'Send out/schedule issue: New content',
3 => 'DOC_NEWSLETTER_CONTENT',
),
2 =>
array (
0 => 'view_archive',
1 =>
array (
0 => '_SELF',
1 =>
array (
'type' => 'archive',
),
2 => '_SELF',
),
2 => 'Newsletter archive',
),
3 =>
array (
0 => 'subscribers',
1 =>
array (
0 => '_SELF',
1 =>
array (
'type' => 'subscribers',
),
2 => '_SELF',
),
2 => 'View subscribers',
),
4 =>
array (
0 => 'import_subscribers',
1 =>
array (
0 => '_SELF',
1 =>
array (
'type' => 'import_subscribers',
),
2 => '_SELF',
),
2 => 'Import newsletter subscribers',
),
5 =>
array (
0 => 'newsletter_email_bounce',
1 =>
array (
0 => '_SELF',
1 =>
array (
'type' => 'bounce_filter_a',
),
2 => '_SELF',
),
2 => 'Bounce filter',
),
),
'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,
'add_one_label' =>
ocp_tempcode::__set_state(array(
'code_to_preexecute' => '$TPL_FUNCS[\'do_runtime_51df93966f3f33.83829586\']="echo
ecv(\\$cl,array(),2,\\"ADD_NEWSLETTER\\",\\$parameters);";
',
'seq_parts' =>
array (
0 =>
array (
0 => 'do_runtime_51df93966f3f33.83829586',
1 =>
array (
),
2 => 2,
3 => 'ADD_NEWSLETTER',
4 => '',
),
),
'preprocessable_bits' =>
array (
),
'last_attach' => NULL,
'pure_lang' => true,
'codename' => ':container',
'cached_output' => NULL,
)),
'add_one_cat_label' => NULL,
'edit_this_label' =>
ocp_tempcode::__set_state(array(
'code_to_preexecute' => '$TPL_FUNCS[\'do_runtime_51df93966f4141.87968618\']="echo
ecv(\\$cl,array(),2,\\"EDIT_THIS_NEWSLETTER\\",\\$parameters);";
',
'seq_parts' =>
array (
0 =>
array (
0 => 'do_runtime_51df93966f4141.87968618',
1 =>
array (
),
2 => 2,
3 => 'EDIT_THIS_NEWSLETTER',
4 => '',
),
),
'preprocessable_bits' =>
array (
),
'last_attach' => NULL,
'pure_lang' => true,
'codename' => ':container',
'cached_output' => NULL,
)),
'edit_one_label' =>
ocp_tempcode::__set_state(array(
'code_to_preexecute' => '$TPL_FUNCS[\'do_runtime_51df93966f4348.99012321\']="echo
ecv(\\$cl,array(),2,\\"EDIT_NEWSLETTER\\",\\$parameters);";
',
'seq_parts' =>
array (
0 =>
array (
0 => 'do_runtime_51df93966f4348.99012321',
1 =>
array (
),
2 => 2,
3 => 'EDIT_NEWSLETTER',
4 => '',
),
),
'preprocessable_bits' =>
array (
),
'last_attach' => NULL,
'pure_lang' => true,
'codename' => ':container',
'cached_output' => 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',
'orderer' => NULL,
))
Type -> '->'
Args -> array (
0 => 'whatsnew',
)
File -> '/home/catcom/public_html/sources/zones.php'
Line -> 425
Function -> 'run'
Class -> 'standard_aed_module'
Object -> Module_admin_newsletter::__set_state(array(
'lang_type' => 'NEWSLETTER',
'select_name' => 'TITLE',
'do_preview' => NULL,
'cache_level_counts' =>
array (
),
'menu_label' => 'NEWSLETTER',
'table' => 'newsletters',
'title_is_multi_lang' => true,
'module_type' => 'newsletter',
'redirect_type' => NULL,
'code_require' => NULL,
'javascript_require' => NULL,
'skip_validation' => false,
'default_type' => 'misc',
'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,
'protect_first' => 0,
'permission_page' => NULL,
'permission_module' => NULL,
'permissions_require' => 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' =>
array (
0 =>
array (
0 => 'newsletters',
1 =>
array (
0 => '_SELF',
1 =>
array (
'type' => 'new',
),
2 => '_SELF',
),
2 => 'Send out issue',
),
1 =>
array (
0 => 'newsletter_from_changes',
1 =>
array (
0 => '_SELF',
1 =>
array (
'type' => 'whatsnew',
),
2 => '_SELF',
),
2 => 'Send out/schedule issue: New content',
3 => 'DOC_NEWSLETTER_CONTENT',
),
2 =>
array (
0 => 'view_archive',
1 =>
array (
0 => '_SELF',
1 =>
array (
'type' => 'archive',
),
2 => '_SELF',
),
2 => 'Newsletter archive',
),
3 =>
array (
0 => 'subscribers',
1 =>
array (
0 => '_SELF',
1 =>
array (
'type' => 'subscribers',
),
2 => '_SELF',
),
2 => 'View subscribers',
),
4 =>
array (
0 => 'import_subscribers',
1 =>
array (
0 => '_SELF',
1 =>
array (
'type' => 'import_subscribers',
),
2 => '_SELF',
),
2 => 'Import newsletter subscribers',
),
5 =>
array (
0 => 'newsletter_email_bounce',
1 =>
array (
0 => '_SELF',
1 =>
array (
'type' => 'bounce_filter_a',
),
2 => '_SELF',
),
2 => 'Bounce filter',
),
),
'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,
'add_one_label' =>
ocp_tempcode::__set_state(array(
'code_to_preexecute' => '$TPL_FUNCS[\'do_runtime_51df93966f3f33.83829586\']="echo
ecv(\\$cl,array(),2,\\"ADD_NEWSLETTER\\",\\$parameters);";
',
'seq_parts' =>
array (
0 =>
array (
0 => 'do_runtime_51df93966f3f33.83829586',
1 =>
array (
),
2 => 2,
3 => 'ADD_NEWSLETTER',
4 => '',
),
),
'preprocessable_bits' =>
array (
),
'last_attach' => NULL,
'pure_lang' => true,
'codename' => ':container',
'cached_output' => NULL,
)),
'add_one_cat_label' => NULL,
'edit_this_label' =>
ocp_tempcode::__set_state(array(
'code_to_preexecute' => '$TPL_FUNCS[\'do_runtime_51df93966f4141.87968618\']="echo
ecv(\\$cl,array(),2,\\"EDIT_THIS_NEWSLETTER\\",\\$parameters);";
',
'seq_parts' =>
array (
0 =>
array (
0 => 'do_runtime_51df93966f4141.87968618',
1 =>
array (
),
2 => 2,
3 => 'EDIT_THIS_NEWSLETTER',
4 => '',
),
),
'preprocessable_bits' =>
array (
),
'last_attach' => NULL,
'pure_lang' => true,
'codename' => ':container',
'cached_output' => NULL,
)),
'edit_one_label' =>
ocp_tempcode::__set_state(array(
'code_to_preexecute' => '$TPL_FUNCS[\'do_runtime_51df93966f4348.99012321\']="echo
ecv(\\$cl,array(),2,\\"EDIT_NEWSLETTER\\",\\$parameters);";
',
'seq_parts' =>
array (
0 =>
array (
0 => 'do_runtime_51df93966f4348.99012321',
1 =>
array (
),
2 => 2,
3 => 'EDIT_NEWSLETTER',
4 => '',
),
),
'preprocessable_bits' =>
array (
),
'last_attach' => NULL,
'pure_lang' => true,
'codename' => ':container',
'cached_output' => 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',
'orderer' => NULL,
))
Type -> '->'
Args -> array (
)
File -> '/home/catcom/public_html/sources/site.php'
Line -> 858
Function -> 'load_module_page'
Args -> array (
0 => 'adminzone/pages/modules/admin_newsletter.php',
1 => 'admin_newsletter',
)
File -> '/home/catcom/public_html/sources/site.php'
Line -> 646
Function -> 'request_page'
Args -> array (
0 => 'admin_newsletter',
1 => true,
)
File -> '/home/catcom/public_html/adminzone/index.php'
Line -> 39
Function -> 'do_site'
Args -> array (
)
Details here are intended only for the website/system-administrator, not for regular
website users.
ģIf you are a regular website user, please let the website staff deal with this problem.
Depending on the error, and only if the website installation finished, you may need
to
edit the installation options
(theinfo.phpfile).
ocProducts maintains full documentation for all procedures and tools. These may be
found on the
ocPortal website
. If you are unable to easily solve this problem, we may be contacted from our website
and can help resolve it for you.
ocPortal
is a
CMS
for building websites, developed by ocProducts.

Back to the top
 
Posted
Rating:
#98654
Avatar

Hi,

I've uploaded a fix for this for you.


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

Quick reply   Contract

Your name:
Your message: