197
deka87:
thank you for your reply.
sorry if it seems i playing with codes but im not a developer and should find the error in some kind of try and error.
Ok. it shows that headers was not sent until newbb/post.php so we can proceed.
Now we are sure about it.
Please again back the code to include/functions.php
this time i added headers_list to see what happens there.
Also add that right after global variables.
function redirect_header($url, $time = 3, $message = '', $addredirect = true, $allowExternalLink = false)
{
global $xoopsConfig, $xoopsLogger, $xoopsUserIsAdmin;
// add this irmtfan
if(headers_sent($headers_file, $headers_line)) {
echo "n".'**Headers already sent in file "'.$headers_file.'" on line "'.$headers_line.'"';
/* What headers are going to be sent? */
var_dump(headers_list());
$xoopsLogger->dump();
exit();
}
// add this irmtfan
$xoopsPreload =& XoopsPreload::getInstance();
$xoopsPreload->triggerEvent('core.include.functions.redirectheader', array($url, $time, $message, $addredirect, $allowExternalLink));
if you add that after global and still you have the "Thanks for your submission" then add it after $xoopsPreload
hopefully we can find something now.