Hi All,
I'm having this really bad "Ghost In The Shell" day with my site.
Its a customized forum which has a central PHP file that handles the viewing of topics and forums. Now when you click on a topic to read the user comments, the URL looks like this :
http://www.8ballfever.com/viewtopic.php?topic=392&forum=6
Which works for some forums and for other forums not. I then included a javascript message box as the FIRST LINE of the viewtopic.php so I can see what's happening. My idea was to move the javascript message box down all the way until it doesn't appear (at which point I would know where the error lies). Thing is, the javascript message box doesn't even appear as the first line of the file. I get a 404.
Now most people would immediately say "The file doesn't exist" but it does! When I change the 6 to a 4 (which is a topic that doesn't exist in the database), i.e. :
http://www.8ballfever.com/viewtopic.php?topic=392&forum=4
Then the page loads, my javascript message box appears as the first line of the file, and the page tells me that the forum could not be loaded.
Any ideas on why this would happen?
Obviously with FORUM=6 the file isn't even opened by the browser and the resultant 404 appears. When FORUM=4, the page loads, and the database reports the error. I can't see why the FORUM=6 shouldn't open the file as well.