Project

General

Profile

Actions

Bug #15437

closed

4.0beta1 tempalte module error

Added by Stefano Cecere over 18 years ago. Updated almost 18 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2006-01-17
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

when accessing the template module i get this really odd error:

Error in init.php: Path to TYPO3 main dir could not be resolved correctly.

This happens if the last 6 characters of this path, , (\$temp_path) is NOT "typo3/" for some reason.
You may have a strange server configuration. Or maybe you didn't set constant TYPO3_MOD_PATH in your module?
If you expect any help from anybody on this issue, you should save this page as an html document and send it along with your request for help!
Array
(
[TYPO3_OS] =>
[PATH_thisScript] => /var/www/krur/sogniesapori/typo3/sysext/tstemplate/ts/index.php
[php_sapi_name()] => apache2handler
[TYPO3_MOD_PATH] => ext/tstemplate/ts/
[PATH_TRANSLATED] => /var/www/krur/sogniesapori/typo3/sysext/tstemplate/ts/index.php
[SCRIPT_FILENAME] => /var/www/krur/sogniesapori/typo3/sysext/tstemplate/ts/index.php
)

on my local OsX php4 machine it works well, i get this error on a PHP Version 4.4.0-4 - Apache 2 - Debian machine

if i go back to 3.9dev (just switch teh sources) it works all ok.
(issue imported from #M2299)


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #15311: under template module : "Error in init.php: Path to TYPO3 main dir could not be resolved correctly."ClosedMichael Stucki2005-12-28

Actions
Actions #1

Updated by Stefano Cecere over 18 years ago

i can't anyway edit templates from the web.list mode

Actions #2

Updated by Stefano Cecere over 18 years ago

4.0beta1 works perfectly if i move all tstemplate* ext from typo3/sysext to typo3/ext directory (obvioulsly i have to deinstall, create the new global ext dir and reinstall them)

Actions #3

Updated by Sebastian Kurfuerst over 18 years ago

Hi,
I cannot reproduce this currently. I use newest CVS source, with all tsemplate extensions in sysext/ , and it works without any problem.
Greets, Sebastian

Actions #4

Updated by Stefano Cecere over 18 years ago

ok i'll check it with beta2

Actions #5

Updated by Michael Stucki over 18 years ago

Has been fixed already.

Actions

Also available in: Atom PDF