Bug #28330
closed
Error when opening TYPO3 manual in versions 4.5.3
Added by Ralle Büchnitz over 13 years ago.
Updated about 6 years ago.
Description
I get the following error when I try to open any link of the integrated typo3 manual.
p.e.: Full Manual (in one page)
PHP Warning: Missing argument 2 for SC_view_help::render_Table(), called in /html/typo3/typo3_src-4.5.3/typo3/view_help.php on line 392 and defined in /html/typo3/typo3_src-4.5.3/typo3/view_help.php line 460
Files
The problem is that the function render_Table() is called only with the argument $table. But since #24418 $table should be the second argument.
We need to add the first argument to the function call and it must be the full CSH key (may be different from table name).
Does it work when you add $this->mainKey as first argument to the function call?
After I added the missing parameter to the other function call on line 219 of view_help.php the detail sections seem to be rendered correctly. Though $table-variable isn't initialized in context of this function.
When I add the missing parameter to the line 392 in view_help.php the error no longer appears. But the rendered view section is almost empty. (See attached screenshot)
Patch set 1 of change I2b3e2cf45d4b7b411e7e7b007c7650df0bd79ea8 has been pushed to the review server.
It is available at http://review.typo3.org/3704
Patch set 1 of change I5aee7ea455ac37c7f287b9f5bd96d6bef22b83e8 has been pushed to the review server.
It is available at http://review.typo3.org/3705
Patch set 2 of change I2b3e2cf45d4b7b411e7e7b007c7650df0bd79ea8 has been pushed to the review server.
It is available at http://review.typo3.org/3704
- Subject changed from Error when opening Typo3 manual in versions 4.5.3 to Error when opening TYPO3 manual in versions 4.5.3
Patch set 2 of change I5aee7ea455ac37c7f287b9f5bd96d6bef22b83e8 has been pushed to the review server.
It is available at http://review.typo3.org/3705
- Status changed from New to Under Review
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF