[TYPO3-english] mail2news problem
Loek Hilgersom
hilgersom at xs4all.nl
Tue Jul 7 10:36:58 CEST 2009
Hi Christian,
On the sites where I use the mail2news extension I have not encountered this
problem (same TYPO3 and PHP versions). The line numbers where the notices occur
are in all cases the last lines of the class files, the lines added by the
extension kickstarter for including the classes:
if (defined('TYPO3_MODE') &&
$TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/mail2news/class.tx_mail2news_imap.php'])
{
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/mail2news/class.tx_mail2news_imap.php']);
}
I'm not sure what the reason is, but it may be caused by something else than the
extension. Did you try the extension on a different site, or maybe uninstalling
other extensions to see if the notices disappear?
The problem does not seem essential, but I understand you'd prefer to know where
it comes from!
Maybe someone else has a more specific idea?
Loek
Christian Hennecke wrote:
> Hello everybody,
>
> We have just started to use the mail2news extension. It has been working
> nicely so far. However, I am a bit concerned about some messages in the
> log:
>
> Notice: Undefined index: ext/mail2news/class.tx_mail2news_imap.php in
> /html/typo3conf/ext/mail2news/class.tx_mail2news_imap.php on line 263
>
> Notice: Undefined index: ext/mail2news/class.tx_mail2news_ttnews.php in
> /html/typo3conf/ext/mail2news/class.tx_mail2news_ttnews.php on line 105
>
> Notice: Undefined index: ext/mail2news/class.tx_mail2news_getmail.php
> in /html/typo3conf/ext/mail2news/class.tx_mail2news_getmail.php on line
> 268
>
> Notice: Only variable references should be returned by reference in
> /typo3_src-4.2.6/t3lib/class.t3lib_div.php on line 4605
>
> Notice: Only variable references should be returned by reference in
> /typo3_src-4.2.6/t3lib/class.t3lib_div.php on line 4605
>
> Notice: Unknown: Mailbox is empty (errflg=1) in Unknown on line 0
>
> Does anybody else see this? What could be the cause? Is this something
> to worry about?
>
> We are running TYPO3 4.2.6 with PHP 5.2. The mail2news script is started
> the following: cron starts a shell script that in turn uses the
> following call:
>
> /usr/local/php/bin/php_cli /html/typo3/cli_dispatch.phpsh getmail_cli >>
> /html/fileadmin/cron_mail2news.log 2>&1
More information about the TYPO3-english
mailing list