PDA

View Full Version : Getting seriously freaked - can anyone explain this anomaly?


BWD
4-16-05, 04:08 PM
Okay, I understand about the MySQL issues and the corrupt databases problems....but now I've got a new problem. Whenever I try to go to my homepage or my gallery page it instead takes me to my FORUM page (which I have closed to new posts until the server issues are resolved, since I just keep having to repair it). BUT why can't I access the homepage and gallery page now (the gallery is corrupted (not yet fixed) and the homepage pulls an image from the gallery so I also previously got an error message on it)). But now I get this. I don't know if I explained this at all well....but see what I mean....

http://bonanzaworld.net
http://bonanzaworld.net/bwgallery/gallery/galindex.php

both of these links take me to...

http://bonanzaworld.net/forums

although the address in the address bar is still correct. Any help or explanation?

Signed,
Freaked and Confused! :confused: :(

alphadesk
4-16-05, 04:15 PM
Rename your .htaccess in htdocs to .htaccess_old and see what happens. Something is redirecting your whole site to your forum.

BWD
4-16-05, 07:06 PM
thanks AlphaDesk, I didn't have a chance to try your suggestion but in the meantime it has straightened itself out (I didn't "do" anything, either to cause it or to fix it). I guess another one of the strange anomalies that can be chalked up to the mess we're all having this weekend. :(

EDIT: sigh....now it's doing it again. I changed the .htaccess to .htaccess_old and it didn't change anything. why, why, why is this happening..... :(

BWD
4-16-05, 07:17 PM
OMG, this just gets scarier!! What is happening is this....when I'm LOGGED OUT on my forums I get this phenomenon where it directs me to the forums no matter what page on my site I click on. When I'm LOGGED IN on my forums I will get the pages I am supposed to see (ie. homepage, gallery). How is it possible that my login feature on the forums is controlling what I can see on my site's other pages?? The only connection between my forums and my site's other pages is I include my forums global.php file on my site's other pages so that my forum also tracks visitors to my site's other pages.

Any idea what in tarnation is going on here? I'm completely stumped. :(

BWD
4-16-05, 07:30 PM
Well I figured out what is happening and boy do I have egg on my face! :o

I guess as penance for my own stupidity I will fess up to the whole story. The reason my site is directing not logged in users to the forum page is because I CLOSED the forums when all this MySQL database crashing business came up. Because I have included my forums global.php file on my non-forum pages (to track visitors) it is treating those pages the same as MY CLOSED FORUM...in other words, by directing people to the message that the forum is closed. If I open the forum back up, non-logged in users can go back to those pages like normal. Boy do I feel silly. :o

(but in my defence I would never have closed the forums except for powweb's problems with the MySQL databases!)