Project

General

Profile

Actions

Bug #14401

closed

function rfw() not found in the tstemplate extension from TER

Added by Stephane Schitter almost 20 years ago. Updated over 19 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2004-11-23
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
3.7-dev
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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 251

By 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)

Actions #1

Updated by Sebastian Kurfuerst over 19 years ago

Is this problem already fixed? I think so, right?

Actions #2

Updated by Stephane Schitter over 19 years ago

I don't think so -- actually this is not the correct answer.

It is fixed in the tstemplate extension that is shipped with Typo3 3.7 or 3.8, but it is not fixed on the TER version of the tstemplate extension. So basically some extensions are out of sync between the TER and the "global" extensions bundled with Typo3.

So it will only get fixed when Kasper updates the version in the TER.

See related bug #982

Actions #3

Updated by Sebastian Kurfuerst over 19 years ago

Can somebody else upload a new tstemplate version to TER, or can only Kasper do this?

Actions #4

Updated by Karsten Dambekalns over 19 years ago

Closing this:
a) why would one update tstemplate from the TER, in a brand new core?
b) the actual bug (differing versions in core and TER) is #928

Actions

Also available in: Atom PDF