Bug #14401
closedfunction rfw() not found in the tstemplate extension from TER
0%
Description
I have just come across the following bug in Typo3 CVS (3.8.0-dev) version, after having installed tstemplate as a local extension (from the TER, tstemplave v0.0.4). Seems it has not yet been fixed, or has the error reappeared ?
Remember that the objective of 3.8.0 is to remove many global extensions and I think the versions on TER are not necessarily the same as those that were shipped with 3.7.0. tstemplate seems to be a good example.
A solution is highlighted in this old bug report about the same problem:
http://lists.netfielders.de/pipermail/typo3-dev/2003-November/001004.html
Here is a copy of the email thread mentioned earlier:
[Typo3-dev] 3.6-dev & function rfw() undefined
Robert Lemke rl at robertlemke.de
Tue Nov 18 15:36:58 CET 2003
Hi Jinn,
thanks for your report, I already stumbled over that bug. There are
other place where rfw doesn't work either but we fixed that already,
will upload the changes soon.
rob
On Tue, 2003-11-18 at 14:16, Jinn Koriech wrote:
Hi all,
I'm not sure if this is the right place to report this?
I'm using PHP-4.3.4 on RedHat-7.3.
I've pulled down the TYPO3core from the SF CVS repository - I guess
that's where all work is most recent? I was hoping to get into the code
and help in any way I can.I've found a fix for this problem, but I'm not sure if I've picked up
the right version of the ext/ folder. I've looked for a module in the
SF project 'TYPO3Extension Development Platform' and didn't find
anything relevant.In the CVS version of TYPO3core there's a CVSreadme.txt that indicates
to get the most recent tar package of the TYPO3 source and copy the ext/
folder across. I've done this from the typo3_src-3.5.0-3.tar.bz2
package, and most things work fine. I used the dummy-3.5.0-3.tar.bz2 to
set up the instance of the site.However, in the BE, whenever I hit the Template module, then a page
without a template I get the following error.Fatal error: Call to undefined function: rfw() in
/home/www/vhosts-typo3/typo3_src-3.6/typo3/ext/tstemplate/ts/index.php
on line 251By putting $GLOBALS['TBE_TEMPLATE']->rfw in place of rfw on the line
reported, I fixed the problem. Is this the right fix? Is there another
version of the ext/ folder somewhere that already has a series of fixes
for 3.6-dev?Thanks for your help, and hopefully I can put more back into the project
soon.Cheers,
Jinn
(issue imported from #M528)