Bug #19610
closed404 error after saving page properties when "Include subpages" is set
0%
Description
when the access option "Include subpages" is set on the page properties and I change once again somethings (e.g. page title) on the page properties of the same page or of their subpages, I get an 404 error after saving and it won't redirect to the list view.
TYPO3 is installed locally for testing.
URL of root page: http://cms.mydomain.tld/subdir/
Backend: http://cms.mydomain.tld/subdir/
Error log:
192.168.102.1 - - [13/Nov/2008:23:28:16 +0100] "GET /subdir/typo3/alt_doc.php?edit[pages]52=edit&returnUrl=http%3A%2F%2Fcms.mydomain.tld%2Fsubdir%2Ftypo3%2Fdb_list.php%3Fid%3D29 HTTP/1.1" 200 107925
192.168.102.1 - - [13/Nov/2008:23:28:23 +0100] "POST /subdir/typo3/alt_doc.php?&edit[pages]52=edit&returnUrl=http%3A%2F%2Fcms.mydomain.tld%2Fsubdir%2Ftypo3%2Fdb_list.php%3Fid%3D29 HTTP/1.1" 404 881
(issue imported from #M9792)
Updated by Lucio Pozertti about 16 years ago
Correction:
when access option "Show at any logging" is set (instead of "Include subpages")
Updated by Lucio Pozertti about 16 years ago
sorry, the problem appears in both cases:
when access option "Show at any logging" OR "Include subpages" is set
Updated by Lucio Pozertti about 16 years ago
I localized where the problem is coming from.
I use a third party script (see below) for redirection on 404 error.
It worked fine on TYPO3 version prior to version 4.1.
But since v4.2.x, it got above 404 error while setting "pageNotFound_handling" in Install Tool to:
[FE][pageNotFound_handling] = USER_FUNCTION:fileadmin/scripts/pagenotfound.php:user_pagenotfound->pagenotfound
PHP class:
class user_pagenotfound {
function pagenotfound($param, $conf) {
header("HTTP/1.0 404 Not Found");
print '
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;>
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet href="#internalStyle" type="text/css"?>
<html>
<head>
<SCRIPT LANGUAGE="JavaScript">
</script>
</head>
<body>
<p>Page not found!</p>
</body>
</html>';
exit;
}
}
?>
Solution: I had to clear the above value of "pageNotFound_handling" in Install Tool.
But I don't really see where is the incompatibility.