Getting a series of errors when updating a Gallery. After changing the choice of template, or saving a Gallery, on pressing Save I get the following error messages above the CMS Admin Menu items .. but the odd thing is the Save takes effect - i.e. the change I have made works OK so it looks to me like it is trying to do the same operation twice.
So, the Error Mesages:
Code: Select all
Warning: Cannot modify header information - headers already sent by (output started at /home/imtdorgu/public_html/admin4rt8hHuib654/moduleinterface.php:99) in /home/imtdorgu/public_html/include.php on line 96
Warning: Cannot modify header information - headers already sent by (output started at /home/imtdorgu/public_html/admin4rt8hHuib654/moduleinterface.php:99) in /home/imtdorgu/public_html/include.php on line 99
Warning: Cannot modify header information - headers already sent by (output started at /home/imtdorgu/public_html/admin4rt8hHuib654/moduleinterface.php:99) in /home/imtdorgu/public_html/include.php on line 102
Warning: Cannot modify header information - headers already sent by (output started at /home/imtdorgu/public_html/admin4rt8hHuib654/moduleinterface.php:99) in /home/imtdorgu/public_html/include.php on line 103
Warning: Cannot modify header information - headers already sent by (output started at /home/imtdorgu/public_html/admin4rt8hHuib654/moduleinterface.php:99) in /home/imtdorgu/public_html/include.php on line 106
Warning: Cannot modify header information - headers already sent by (output started at /home/imtdorgu/public_html/admin4rt8hHuib654/moduleinterface.php:99) in /home/imtdorgu/public_html/include.php on line 109
Code: Select all
if( isset($CMS_ADMIN_PAGE) )
{
function cms_admin_sendheaders($content_type = 'text/html',$charset = '')
{
if( !$charset ) $charset = get_encoding();
// Date in the past
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
// always modified
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
// HTTP/1.1
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
// HTTP/1.0
header("Pragma: no-cache");
// Language shizzle
header("Content-Type: $content_type; charset=$charset");
}
Code: Select all
include_once(dirname(__FILE__) . '/index.php');
Code: Select all
<?php
# CMS Made Simple Configuration File
# Documentation: /doc/CMSMS_config_reference.pdf
#
$config['dbms'] = 'mysql';
$config['db_hostname'] = 'localhost';
$config['db_username'] = '****';
$config['db_password'] = '****';
$config['db_name'] = '****';
$config['db_prefix'] = 'cms_';
$config['db_port'] = 0;
$config['root_url'] = 'http://www.imtd.org.uk';
$config['timezone'] = 'Europe/London';
$config['default_encoding'] = 'utf-8';
$config['url_rewriting'] = 'mod_rewrite';
$config['page_extension'] = '.html';
$config['use_hierarchy'] = '1';
$config['query_var'] = 'page';
$config['admin_dir'] = 'xxxxxxxxxxxxxxxx';
# $config['admin_dir'] = 'admin';
# $config['debug_to_log'] = '1';
# $config['debug'] = '1';
?>
Code: Select all
CMS Install Information
CMS Version 1.11.11
Installed Modules
CMSMailer 5.2.2
CMSPrinting 1.0.5
SEOTools2 1.2.1
MenuManager 1.8.6
MicroTiny 1.2.7
ModuleManager 1.5.8
News 2.14.4
Search 1.7.11
ThemeManager 1.1.8
FormBuilder 0.7.3
Captcha 0.4.6
CGExtensions 1.42.2
FrontEndUsers 1.24.1
CustomContent 1.10
FileManager 1.4.5
NMS 2.4.3
Gallery 2.0.1
Uploads 1.18.4
CGSimpleSmarty 1.7.4
Regards
Mike