Zum Inhalt springen

dam_cron und dazugehöriger cronjob

Erstellt am 30. Juli 2007 · 1 Antwort · letzte Antwort am 31. Juli 2007

Tags: Dateien & FAL, Frage

dabjoern ·

Hallo Leute,

ich habe dam_cron installiert und einen Nutzer _CLI_txdamcronM1 angelegt und der Redakteursgruppe zugeordnet. Ich habe mal folgenden Befehl über SSH ausgeführt:

php /kunden/domain.de/webseiten/typo3/typo3conf/ext/dam_cron/cron/dam_indexer.php

Dabei wird mir folgender Fehler ausgegeben:

X-Powered-By: PHP/4.4.1 Content-type: text/html 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] => 
    [php_sapi_name()] => cgi
    [TYPO3_MOD_PATH] => ../typo3conf/ext/dam_cron/cron/
    [PATH_TRANSLATED] => 
    [SCRIPT_FILENAME] => 
)

PHP Logo

Rufe ich den indexer über Webbrowser auf, erhalte ich die Fehlermeldung:

Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /kunden/domain.de/webseiten/typo3/typo3conf/ext/dam_cron/cron/dam_indexer.php on line 6

Kann mir jemand einen Tipp geben, was ich falsch mache?

Viele Grüße
dabjoern

theonlyrobi ·

Hallo Leute,

ich habe auch die dam_cron Extension installiert und bei mir kommt genau die Fehlermeldung ebenfalls. Hat jemand eine Idee? Bin für jede Anregung dankbar!