Project

General

Profile

Actions

Bug #19610

closed

404 error after saving page properties when "Include subpages" is set

Added by Lucio Pozertti about 16 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2008-11-13
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)

Actions #1

Updated by Lucio Pozertti about 16 years ago

Correction:
when access option "Show at any logging" is set (instead of "Include subpages")

Actions #2

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

Actions #3

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">
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet href="#internalStyle" type="text/css"?>
&lt;html&gt;
&lt;head&gt;
&lt;SCRIPT LANGUAGE=&quot;JavaScript&quot;&gt;

&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;p&gt;Page not found!&lt;/p&gt;
&lt;/body&gt;
&lt;/html&gt;';
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.

Actions

Also available in: Atom PDF