I have noticed that the Forum Made Simple module results in 404 Not Found errors when utilizing one of the CMSMS redirect() functions.
For example: suppose I have an installation of FMS that displays the forum on the "community" page. I go to www.mysite.com/community, pick a forum, and hit "New Topic".
Then, as soon as I hit "Submit", I get a 404 because the URL looks like this:
http://www.mysite.com/community?mact=Fo ... id=18(etc)
...when it should actually look like this:
http://www.mysite.com/index.php?mact=Fo ... id=18(etc)
So, let's run through the background logic... what's happening is this:
1) I go to my forums and pick a forum section (action.default.php)
2) I hit "New Topic": the module executes action.new_topic.php
3) I enter some random stuff for subject line and post body, then hit "Submit": the module executes action.new_topic.php again, but this time the IF statement that checks to see if a form was submission was sent returns true.
4) The code inside the above mentioned IF statement is executed, including the relevant SQL queries to enter the new topic data into the database. But when it reaches this line:
Code: Select all
$this->Redirect($id, $forum_det['redirect'], $returnid, $arr_url, true);
Now, I am aware that $this->Redirect is referring to a CMSMS core function and not a function of the module itself, but I'm wondering if there's a way of fixing the problem in the module, since it doesn't seem to happen in any other module I've used.
So does anyone have any suggestions? I do use Lighttpd, so it might just be an issue with Lighttpd not liking the way CMSMS handles certain redirects, but like I said above; I've never seen it happen with any other module. Is there a way of forcing certain links/URLs in a module to be strictly raw/"non-Pretty"?