Jump to content
Froxlor Forum
  • 0

You cannot access this file directly!


Copprhead

Question

Posted

aptitude just updated my Froxlor to 0.9.31.1

 

Now every minute I get an email telling me "You cannot access this file directly!".

 

Subject: /usr/bin/php5 -q /var/www/froxlor/scripts/modules/mailman/mailmanscript.php

 

How can I fix that?

4 answers to this question

Recommended Posts

Posted

I had the exact same problem. I did some digging in the code and it seems the Froxlor team introduced a constant MASTER_CRONJOB that is checked when cron_init.php is included. The mailman module doesn't set this constant to 1, thus you get the message you have in your logs. As a fix I added a line to mailmanscript.php to set the constant, but I guess that's not what the people behind Froxlor want you to do. There surely is a reason why they introduced the variable in the first place.

 

However, it also seems that there have been some changes regarding the database interface. I nearly have it figured out, but I'll be away the next view days. So you have to wait a few days longer.

 

I really like to have that mailman module. I know this has been discussed a lot of times, but for me it just makes sense to configure my mailing lists in the same place where I configure all other mail-related things. Just my opinion. Maybe we'll see real mailman integration into Froxlor someday...

 

Yours, Sebastian

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...