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

Home » FUDforum » How To » maillist.php does not inject messages
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
maillist.php does not inject messages [message #29691] Tue, 10 January 2006 01:38 Go to next message
nilrod is currently offline  nilrod   Sweden
Messages: 7
Registered: January 2006
Karma: 0
Junior Member
Hi.

I'm trying to integrate a mailing list into my forum - FUDForum 2.7.3 - and have managed to get procmail to deliver my messages to maillist.php without any complaints.
However no messages are being imported to the forums.

If I try to run maillist.php manually by doing "cat email.txt | ./maillist.php 1" the script runs just fine without errors but still nothing is showing up in the forums.

Any ideas on what this could be or how to better debug this would be very appreciated.

Thanks!
Re: maillist.php does not inject messages [message #29692 is a reply to message #29691] Tue, 10 January 2006 02:52 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Did you unlock the forum's files via admin control panel?

FUDforum Core Developer
Re: maillist.php does not inject messages [message #29694 is a reply to message #29691] Tue, 10 January 2006 02:53 Go to previous messageGo to next message
nilrod is currently offline  nilrod   Sweden
Messages: 7
Registered: January 2006
Karma: 0
Junior Member
Yes, forum files are unlocked and nothing in errors/.mlist/ either.

[Updated on: Tue, 10 January 2006 02:55]

Report message to a moderator

Re: maillist.php does not inject messages [message #29695 is a reply to message #29694] Tue, 10 January 2006 02:55 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Did you explictly unlock them or does it just say unlocked?

FUDforum Core Developer
Re: maillist.php does not inject messages [message #29696 is a reply to message #29691] Tue, 10 January 2006 02:56 Go to previous messageGo to next message
nilrod is currently offline  nilrod   Sweden
Messages: 7
Registered: January 2006
Karma: 0
Junior Member
I explicitly unlocked them.
Re: maillist.php does not inject messages [message #29700 is a reply to message #29696] Tue, 10 January 2006 03:29 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Try changing
cat email.txt | ./maillist.php 1
to
cat email.txt | php ./maillist.php 1


FUDforum Core Developer
Re: maillist.php does not inject messages [message #29701 is a reply to message #29691] Tue, 10 January 2006 03:33 Go to previous messageGo to next message
nilrod is currently offline  nilrod   Sweden
Messages: 7
Registered: January 2006
Karma: 0
Junior Member
Same result.

[root@parker htdocs]# cat email.txt |  ./maillist.php 1
[root@parker htdocs]# cat email.txt |  php maillist.php 1
[root@parker htdocs]# 
Re: maillist.php does not inject messages [message #29702 is a reply to message #29701] Tue, 10 January 2006 03:44 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Do you log php errors if so, are there any being triggered?

FUDforum Core Developer
Re: maillist.php does not inject messages [message #29703 is a reply to message #29691] Tue, 10 January 2006 03:55 Go to previous messageGo to next message
nilrod is currently offline  nilrod   Sweden
Messages: 7
Registered: January 2006
Karma: 0
Junior Member
I just edited my php.ini to enable logging but no errors are being logged. Not quite sure if that's because there are none or because I didn't set it up right.

Here's my phpinfo: http://forum.comology.se/test.php

Thanks for helping!
Re: maillist.php does not inject messages [message #29710 is a reply to message #29703] Tue, 10 January 2006 15:22 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Set your error_reporting to E_ALL

FUDforum Core Developer
Re: maillist.php does not inject messages [message #29717 is a reply to message #29691] Tue, 10 January 2006 23:46 Go to previous messageGo to next message
nilrod is currently offline  nilrod   Sweden
Messages: 7
Registered: January 2006
Karma: 0
Junior Member
E_ALL has been set but still nothing in the log.
Re: maillist.php does not inject messages [message #29729 is a reply to message #29717] Wed, 11 January 2006 14:48 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Is there a GLOBALS.php inside the directory where the maillist.php script is found?

FUDforum Core Developer
Re: maillist.php does not inject messages [message #29731 is a reply to message #29691] Wed, 11 January 2006 17:40 Go to previous messageGo to next message
nilrod is currently offline  nilrod   Sweden
Messages: 7
Registered: January 2006
Karma: 0
Junior Member
Yes there is.
Re: maillist.php does not inject messages [message #29738 is a reply to message #29731] Thu, 12 January 2006 21:26 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
What your mailing list import settings?

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Skyscraper Ads with Fudforum
Next Topic: Is table fud26_index required? (V2.7.3)
Goto Forum:
  

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

Current Time: Fri Sep 20 12:38:22 GMT 2024

Total time taken to generate the page: 0.06009 seconds