Antwort
 
LinkBack Themen-Optionen Thema durchsuchen Thema bewerten Ansicht
  #1  
Alt 03.12.06, 09:41
Forum Newbie
 
Registriert seit: 20.02.06
Ort: Dar Es Salaam
Alter: 33
Beiträge: 48
mchenzi eine Nachricht über Skype™ schicken
TYPO3_MOD_PATH bei th_mailformplus nicht richtig gesetzt

Hallo
Ich benutze Typo3 4.0.2 habe PHP 4.4.4 und das ganze als CGI laufen (Managed Server bei 1und1)

Wenn ich mailformplus installiere geht alles bis auf das Backend Modul in dem man die logs anschauen kann. Da erscheint folgende Fehlermeldung:
HTML-Code:
Error in init.php: Path to TYPO3 main dir could not be resolved correctly.

This happens if the last 6 characters of this path, /homepages/30/d171144326/htdocs/typo3cms/safaristansania/typo3conf/, (\$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] => /homepages/30/d171144326/htdocs/typo3cms/safaristansania/typo3conf/ext/th_mailformplus/mod1/index.php
    [php_sapi_name()] => cgi
    [TYPO3_MOD_PATH] => ext/th_mailformplus/mod1/
    [PATH_TRANSLATED] => /homepages/30/d171144326/htdocs/typo3cms/safaristansania/typo3conf/ext/th_mailformplus/mod1/index.php
    [SCRIPT_FILENAME] => /usr/local/apache/share/cgi-bin/php4
)
Ich habe schon ohne erfolg veruscht die conf.php im Modul zu ändern.
Hat jemand eine Ahnung?
__________________
________________________________________
Sand is just mud with all the fun squeezed out of it ....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
Sponsored Links
  #2  
Alt 13.12.06, 14:39
Forum Zuschauer
 
Registriert seit: 12.12.06
Alter: 53
Beiträge: 4

Moin,
das Problem hatte ich auch und hier konnte mir auch keiner weiterhelfen, also habe ich den Autor direkt angeschrieben. Nach nicht mal 30 min hatte ich die Antwort:

strange....
[SCRIPT_FILENAME] => /usr/local/apache/share/cgi-bin/php4
this might be the problem because i have the following in mod1/conf.php:
if (substr_count($_SERVER['SCRIPT_FILENAME'], 'typo3conf') > 0) {
define('TYPO3_MOD_PATH', '../typo3conf/ext/th_mailformplus/mod1/');
} else {
define('TYPO3_MOD_PATH', 'ext/th_mailformplus/mod1/'); }

since your SCRIPT_FILENAME path does not contain "typo3conf" the TYPO3_MOD_PATH is set to "ext/th_mailformplus/mod1/" - which is not correct in your case because you have installed the ext. in the "local" ext. dir (typo3conf/ext).

quick fix:
just write
define('TYPO3_MOD_PATH', '../typo3conf/ext/th_mailformplus/mod1/');
below of the lines i posted before. this sets the mod-path hardcoded to "typo3conf/ext/..." (local installation).

this should help.

Hat es auch bei mir. Vielleicht ja auch bei dir

gruß
Frank
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
Antwort


Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge anzufügen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

vB Code ist An.
Smileys sind An.
[IMG] Code ist An.
HTML-Code ist Aus.
Trackbacks are An
Pingbacks are An
Refbacks are An


Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Cookies werden nicht gesetzt mortoX TYPO3 4.x Fragen und Probleme 3 28.04.08 21:46
ab_downloads & th_mailformplus ex-sys Alle anderen Extensions 4 14.05.07 22:45
REALUrl will nicht richtig MistaD News (tt_news, mininews und Co) 10 06.04.07 22:50
Formular - Eingabefelder werden nicht untereinander gesetzt. baghira TYPO3 4.x Fragen und Probleme 2 21.12.06 08:15
interne Links werden nicht richtig gesetzt... gigasol TYPO3 3.x Rich Text Editor 0 27.06.06 12:30


Alle Zeitangaben in WEZ +1. Es ist jetzt 08:20 Uhr.


Powered by vBulletin® Version 3.6.8 Patch Level 2 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Template-Modifikationen durch TMS