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

Home » FUDforum » How To » problems with maillist.php (mailing list 2 forum)
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: problems with maillist.php (mailing list 2 forum) [message #16869 is a reply to message #16868] Wed, 25 February 2004 07:02 Go to previous messageGo to previous message
oblomov is currently offline  oblomov   Italy
Messages: 12
Registered: February 2004
Karma:
Junior Member
Ilia wrote on Tue, 24 February 2004 20:06


Before we proceed one thing to keep in mind, you should disable user creation, since in eGW schema FUDforum does not have the ability to autonomously create users like the standalone version can.



ok, I don't need that and it's not active.

Quote:


Now on with the show Smile



Smile

Quote:


1) GLOBALS.php should be a symlink not a copy of the GLOBALS.php inside the appropriate fudforum/[crc32]/include/ directory.



Oh yeah I knew that but I have no shell access to the server and at the moment (while testing) resulted easier to do a simple copy, I'll do a symlink and arrange better all permissions when I'll understand things can work Smile


Quote:


2) To ensure things work you should *unlock* the forum's files either by hand (not recommended) or by using the File Unlock admin control panel.



I did it but nothing seemed to change, it always says "unlocked" (whether I lock or unlock it) with no error messages. I tried it with egw administrator password. Anyway that is not a prbolem anymore because I did it by hand (apparently correctly).

Quote:


The error you are experiencing is due to missing inclusion of the eGW's SQL layer on top of which FUD's SQL functions are built in FUDforum/eGW.



so it is actually a EGW problem and not a fudforum problem right?
It was hard suspecting EGW wants his SQL layer be used for fudforum anyway...

Quote:


To fix this try adding the following code to maillist.php after GLOBALS.php inclusion.

[...]




Ok, I did: that was definitively another step ahed!
Smile


After this I still had bounces with this message:

MDA bounce unset flag output error report


!!! YOU DO NOT HAVE YOUR $GLOBALS['phpgw_info']['flags']['currentapp'] SET !!!<br>!!! PLEASE CORRECT THIS SITUATION !!!



That was pretty clear (even though I think it's useless to have that flag set in this situation) so I added a simple

<?php
$GLOBALS
['phpgw_info']['flags']['currentapp'] = 'fudforum';
?>


before your code: 'fudforum' is the name you find for fudforum in the phpgw_applications egw table for fudforum (sorry to write all these details but I really hope this will be useful to other persons that might experience the same problem). That corrected the problem.

Now I'm just getting bounces with empty error messages (I mean: just empty lines), I mean:

MDA bounce output error report


The following text was generated during the delivery attempt:

------ pipe to |/<pathtomaillist>/maillist.php 1
generated by <myaddress> ------




------ This is a copy of the message, including all the headers. ------




That's a problem I've already had with MDA piped scripts as teh MDA think it's an error if they are generating even blank lines I think.

The problem is that mailllist by itself seems generating none (no space after ?> and before <?php) so there might be some other include generating blank lines... anybody knows how a workaround this problem? (there might be a simple one I'm missing I'm sure...)

Thank you very much for your help until now anyway!!!!




[Updated on: Wed, 25 February 2004 07:11]

Report message to a moderator

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Merging fro a listserv
Next Topic: undefined constant "s" (bug or my bad understanding?)
Goto Forum:
  

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

Current Time: Sat Nov 23 00:01:34 GMT 2024

Total time taken to generate the page: 0.03401 seconds