Hello,
in the Phprunner-Version 3.0 there seems to be an error in the file addnewitem. In the if-statement on line 7 the number
of opening and closing braces do not match.
if(!@$_SESSION["UserID"] || (!CheckSecurity(@$_SESSION["OwnerID"],"Add") && !CheckSecurity(@$_SESSION["OwnerID"],"Edit"))
{
$_SESSION["MyURL"]=$_SERVER["SCRIPT_NAME"]."?".$_SERVER["QUERY_STRING"];
header("Location: login.php?message=expired");
return;
}
However, I added a closing brace
if(!@$_SESSION["UserID"] || (!CheckSecurity(@$_SESSION["OwnerID"],"Add") && !CheckSecurity(@$_SESSION["OwnerID"],"Edit")))
Thereafter I got the message
Warning: Cannot modify header information - headers already sent by (output started at C:\Dokumente und Einstellungen\tb\Eigene Dateien\phprunner\werbemittel_neu\include\jsvariables.php:1
There seems to be a damaged template set online.
Regards
Thomas