![]() |
| | LinkBack | Themen-Optionen | Thema durchsuchen | Thema bewerten | Ansicht |
|
#1
| |||
| |||
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
) Hat jemand eine Ahnung?
__________________ ________________________________________ Sand is just mud with all the fun squeezed out of it .... |
|
#2
| |||
| |||
| 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 |
![]() |
| Themen-Optionen | Thema durchsuchen |
| Ansicht | Thema bewerten |
| |
Ä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 |