version 3.0.2: Call to undefined function logaction [message #164003] |
Sun, 26 December 2010 08:01 |
|
Marianne
Messages: 13 Registered: December 2010
Karma:
|
Junior Member |
|
|
Hello,
I have defined a job to launch mailling.php (name: maillist import)
When I call mailling.php in a command line, it works fine.
When I launch the job, I have these error:
Connected to mailbox {XXX:110/POP3/novalidate-cert}INBOX
Load message 2. Done. Delete message.
Fatal error: Call to undefined function logaction() in
/XXXX/FUDforum/include/theme/default/iemail.inc on line 75
The message is integrated but, the job is stopped. It is not launched again by itself, following the rules.
Here is the code
if (defined('forum_debug')) {
logaction(_uid, 'SEND EMAIL', 0, 'To=['. implode(',', (array)$to) .']<br />Subject=['. $subj .']<br />Headers=['. str_replace("\n", '<br />', htmlentities($header)) .']<br />Message=['. $body .']');
}
logaction is defined in FUDforum/include/theme/default/logaction.inc
Does iemail.inc miss an include ?
Or do I have misconfigured something ? the "debug forum" seting is set to off.
What can I do ?
|
|
|