500 Internal server Error [message #38245] |
Sat, 28 July 2007 18:59 |
warc
Messages: 7 Registered: July 2007
Karma: 0
|
Junior Member |
|
|
I am installing FUDforum in a shared hosting environment at
www.warc.org.uk/install.php
The first page comes up advising me to change the file permisions which I do to 777
I then find I get a 500 internal server error,
after a while I change the permission to a more restrictive setting and the script installs.
All seems well until I check lock/ unlock forum files and find they are locked. I am making changes to sttings therefore I try and unlock them.
I then found I get Internal server Error 500 on every page.
which is a big problem because I cannot get into the forum and change the setting back.
I have now managed to get it back by changing various file settings from 777 to 755 but it says
You must unlock the files to
run the mailing list importing scripts
Any idea how to fix this.
Thanks
[Updated on: Sat, 28 July 2007 22:43] Report message to a moderator
|
|
|
|
|
Re: 500 Internal server Error [message #38277 is a reply to message #38266] |
Mon, 30 July 2007 14:16 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You need to | (pipe symbol) you also want to do
/path/to/php /home/warcf38/FUDforum/scripts/maillist.php
rather then linking to the script directly.
FUDforum Core Developer
|
|
|
|
Re: 500 Internal server Error [message #38381 is a reply to message #38283] |
Tue, 31 July 2007 23:00 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Well, you can try to execute the procmail binary via PHP through shell_exec() or exec() functions. Asking your ISP would work too, you don't explicitly need procmail, using a .forward file could work too.
FUDforum Core Developer
|
|
|
|
Re: 500 Internal server Error [message #38526 is a reply to message #38388] |
Sun, 12 August 2007 22:48 |
warc
Messages: 7 Registered: July 2007
Karma: 0
|
Junior Member |
|
|
I am pleased to say I have now got the mail integration working.
I tried different methods but never seemed to get the piping bit to work through cpanel although others have suceeded.
I tried using the mailist.php as a include to another script which read the mailbox but it came up with the function esc was not defined.
Eventually I have settled on using the getlists.php by Paul Bloomfield which is triggered by a chron job.
This seems to work quite well in my environment.
In order to suppress the file and email output from the Cron
the command is
wget -q -O /dev/null http://www.warc.org.uk/forum/phpmailers/getlists.php?verb=0
NB phpmailers is a folder I put on whilst conducting various experiments.
|
|
|