Same here. When I want edit Page content I have error:
"Your title or content is blank. This is not allowed. Please go back and correct this."
Its not blank. I cant edit anything:/. Can you help me?
I think is something here - modifypage.php:
Code:
//Make sure input isn't blank
if ($title == "" or $content == ""){
include "header.php";
echo "<h2>Error</h2>";
echo "Your title or content is blank. This is not allowed. Please <a href='pages.php?page=".$page."'>go back</a> and correct this.";
include "footer.php";
die();
}
$query = "UPDATE article_content SET title='".$title."' WHERE page='".$page."'";
mysql_query($query);
$query = "UPDATE article_content SET content='".$content."' WHERE page='".$page."'";
mysql_query($query);
$date = date('Y m d');
$query = "UPDATE article_content SET date='".$date."' WHERE page='".$page."'";
mysql_query($query);
include "header.php";
echo "<h2>Completed</h2>";
echo "Done! Your page has been updated! <a href='pages.php'>Go back to the page editor.</a>";
include "footer.php";
?>