Skip to main content
Known Participant
July 20, 2011
Question

frozen redirect at login

  • July 20, 2011
  • 1 reply
  • 1365 views

i was moving my login php code to a new page for a new design, but for some reason, the page is no longer redirecting when i log in.  all i really did was change the appearance.

http://pastebin.com/6dpZedQS

thanks in advance!

This topic has been closed for replies.

1 reply

July 20, 2011

I dont see anything that is obviously wrong, however when you move a script or code to another page it is not uncommon to run into a path problem. Have you looked to make sure all the files are where you are asking your script to look?

Gary

Known Participant
July 21, 2011

i don't know if this helps, but here is my original login page... different folder, but the connections folder is still only one up.

http://pastebin.com/exUn6Bdv

Message was edited by: future-architect; link added

July 21, 2011

I would manually reset all the paths, for example in the second one you have

header('Location: ../uploader/users/'.$_SESSION['user'].'/index.php'); // [user]

The original has

header('Location: users/'.$_SESSION['user'].'/index.php'); // [user]

But in both you have

<?php require_once('../Connections/uploader.php'); ?>

So it sounds like you are pointing to files that are not there.

Gary