22
The error message is coming from this define in /modules/newbb/language/english/main.php
define("_MD_INVALID_SUBMIT","Invalid submission. You could have exceeded session time. Please re-submit or make a backup of your post and login to resubmit if necessary.");
The version of that file is
Quote:
// $Id: main.php,v 1.6 2005/05/19 12:21:45 phppp Exp $
but I cannot tell exactly what version of newbb it is. Definitely it is one of the versions by 'phppp', because that name appears in many files.
It is either 1.16 or 1.16a, I cannot tell, here is the /modules/newbb/xoops_version.php file (with the email address changed)
// $Id: xoops_version.php,v 1.8 2005/06/03 01:35:02 phppp Exp $
// ------------------------------------------------------------------------ //
// XOOPS - PHP Content Management System //
// Copyright (c) 2000 XOOPS.org //
// //
// ------------------------------------------------------------------------ //
// This program is free software; you can redistribute it and/or modify //
// it under the terms of the GNU General Public License as published by //
// the Free Software Foundation; either version 2 of the License, or //
// (at your option) any later version. //
// //
// You may not change or alter any portion of this comment or credits //
// of supporting developers from this source code or any supporting //
// source code which is considered copyrighted (c) material of the //
// original comment or credit authors. //
// //
// This program is distributed in the hope that it will be useful, //
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
// GNU General Public License for more details. //
// //
// You should have received a copy of the GNU General Public License //
// along with this program; if not, write to the Free Software //
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
// ------------------------------------------------------------------------ //
$modversion['name'] = _MI_NEWBB_NAME;
$modversion['version'] = 1.16;
$modversion['description'] = _MI_NEWBB_DESC;
$modversion['credits'] = "NewBB 2 developed by Marko Schmuck (predator) and D.J. (phppp)";
$modversion['author'] = "D.J. (phppp)";
$modversion['help'] = "";
$modversion['license'] = "GNU General Public License (GPL) see LICENSE";
$modversion['official'] = 0;
$modversion['image'] = "images/xoopsbb_slogo.png";
$modversion['dirname'] = "newbb";
$modversion['author_realname'] = "XOOPS CHINA Dev Group";
$modversion['author_website_url'] = "https://xoops.org.cn";
$modversion['author_website_name'] = "XOOPS CHINA";
$modversion['author_email'] = "xxxx@example.com";
$modversion['status_version'] = "1.16a";
$modversion['status'] = "20060105";
$modversion['warning'] = "The further development of NewBB 2";
It appears the error message is invoked by /modules/newbb/post.php, lines 124 to 131
if(!$token_valid || !$time_valid){
$_POST['contents_preview'] = 1;
$_POST['contents_submit'] = null;
$_POST['contents_upload'] = null;
if(!$token_valid) echo "errorMsg">"._MD_INVALID_SUBMIT."
";
if(!$time_valid) echo "errorMsg">".sprintf(_MD_POSTING_LIMITED,$xoopsModuleConfig['post_timelimit'])."
";
echo "
both" />";
}
You would need to find out where the vars $token_valid and $time_valid are set. It appears they are both set in the same file (/modules/newbb/post.php), but I do not understand _how_ they are set.
HTH
P
NO to the Microsoft Office format as an ISO standard. Sign the
petition