Ich konnte das Problem schonmal eingrenzen:
require('./wp-blog-header.php');
$offset = (int) $_GET['offset'];
$wall = new RumWall($offset);
if (isset($_POST['sub']))
{
echo "1";
$author = trim(strip_tags($_POST['author']));
$email = trim(strip_tags($_POST['email']));
$url = trim(strip_tags($_POST['url']));
$content = trim(strip_tags($_POST['content']));
if (strlen($author) > 0 && strlen($content) > 0)
{
echo "2";
if ($wall->SaveTag($author, $email, $url, $content))
{
echo "3";
if (!isset($_POST['returnurl']))
{
echo "4";
header("location: wall.php");
}
else
{
header("location: ".$_POST['returnurl']);
}
}
}
}
Alles anzeigen
Ich habe mal testweise ein paar echo's eingebaut um zu sehen, wie weit das Script kommt. 1 und 2 werden ausgefuehrt, 3 und 4 nicht. Sieht fuer mich danach aus, das
if ($wall->SaveTag($author, $email, $url, $content))
false ist. Aber warum? Wie koennte ich dabei nach nem Fehler suchen? Vor allem - warum kann das ploetzlich bedingt durch das Update nicht mehr funktionieren?