Hi, > So the problem was that it was trying to access '/home//.tmda' and > decided that since that didn't exist no tmda! Why does this happen?
This happens because a number of users requested support for multi-user environments in which not all users are TMDA users. The plugin checks for the existence of the file specified in the _tmdaevidence variable which defaults to ~/.tmda. You can bypass this check by commenting out the line that sets that variable in tmdatools_config.php. > And now I have the next problem: trying to edit any of the lists logs me > out of SM, all the other things now work perfectly. The plugin forces a logout if the file that you are trying to edit does not exist. This could indicate that you have not modified the sample configuration file and the default entry for, say, "Whitelist" (which is ~/.tmda/lists/whitelist) is not valid on your system. In hindsight this is probably not a good idea and i'll remove it from the next version - a simple "file not found" message will suffice - and aid in setting up the plugin. Cheers, David. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Johannes Berg Sent: 02 May 2004 23:50 To: [EMAIL PROTECTED] Subject: RE: TMDA Tools 1.00 Released (a SquirrelMail Plugin) On Mon, 03 May 2004 00:10:53 +0200, Johannes Berg wrote: > I have the problem that TMDA Tools don't even show up in SM 1.5 (debian). > And yes, it is enabled in the SM config :) Ah. $username is not set. Setting �username = $_SESSION['username'] in findhome fixes it. So the problem was that it was trying to access '/home//.tmda' and decided that since that didn't exist no tmda! Why does this happen? And now I have the next problem: trying to edit any of the lists logs me out of SM, all the other things now work perfectly. johannes _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
