OMMad
11-19-2010, 11:47 PM
i have a gateway page on my server that has a picture. when i click on the picture while testing my site offline, it goes straight to the website. however, after i uploaded it to the server, clicking the picture goes straight to the forums.
strangely enough, the address bar still reads home.php (the intended page). after messing around a bit with home.php's code, i noticed that removing the line $user->setup(); seems to solve the redirect problem. unfortunately it seems to screw up a lot of the code that relies on proper PHPBB cookie management.
this didn't happen when i uploaded the forums directory directly from my hard disk, but after i did a clean install of PHPBB (using the automated PHPBB installation process instead of manually copying the folders) this problem appeared.
strangely enough, the address bar still reads home.php (the intended page). after messing around a bit with home.php's code, i noticed that removing the line $user->setup(); seems to solve the redirect problem. unfortunately it seems to screw up a lot of the code that relies on proper PHPBB cookie management.
this didn't happen when i uploaded the forums directory directly from my hard disk, but after i did a clean install of PHPBB (using the automated PHPBB installation process instead of manually copying the folders) this problem appeared.