FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » version 3.0.2: Call to undefined function logaction (job using maillist.php )
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
version 3.0.2: Call to undefined function logaction [message #164003] Sun, 26 December 2010 08:01 Go to previous message
Marianne is currently offline  Marianne   France
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 ?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: NNTP Import Subject with Non-Ascii Characters
Next Topic: RSS & path_info
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 02:12:36 GMT 2024

Total time taken to generate the page: 0.05342 seconds