[TYPO3] Extension tcdirectmail, file mailer.php doesnt work on windows server

Roman roman at capo.se
Thu Feb 21 10:07:08 CET 2008


Hi!
I am trying to use the tcdirectmail extension. I have used it on a unix
server without problems, but now I have installed it with the same
configuration on a Windows server, and now mailer.php doesnt work.

When it is called, either from command line, or web browser, or as a
cron job, it exits with message "TYPO3 Fatal Error: Extension key
"table" was NOT loaded! (t3lib_extMgm::extPath)". (allthou i dont think
it depends on this specific extension "table" rather on an error which
is explained hereunder.

I have tried to look into it, and it seems that the problem is in the
typo3conf extension cache file.
First, I dont know why, but TYPO3 builds 2 different sets of cache
files, one for the mailer.php, and another one for the rest of the BE
scripts.

And the one that mailer.php uses, contains an error in definition of the
variable $TYPO3_LOADED_EXT. (This variable is defined in the beginning
of the cache file). I don't know exactly what the error is, but if I try
to check the value of the $TYPO3_LOADED_EXT directly after its
definition, it shows that the variable is not defined. (I guess that
this is why it cant find extension key "table" and fails to load).

I have found a temporary solution: simply copying the definition of
$TYPO3_LOADED_EXT from another cache file, the one that is used by
authentic BE scripts, and inserting it into the cache file that is used
by mailer.php. That works fine, (well a couple of warnings appear, but
thats noting).

But obviously this solution is bad because I must go into the cache
files and change them each time the cache is cleared (which can happen
quite often).

I hope I have been clear enough, did someone have similar problems? How
should I fix it?





More information about the TYPO3-english mailing list