Results 1 to 3 of 3

Thread: still login problems

  1. #1
    Join Date
    Dec 2002
    Posts
    5

    Unhappy still login problems

    I have a user login problem. Users can login with no problem from the index page.
    The problem arises when a user who is not logged in goes into a category to view a
    Link. I will number the steps.

    1. User goes into a category
    2. User views link
    3. User clicks on details of link
    4. User clicks on Add To Favorites .
    5. Remember the user is not logged in so it kicks the user to the login page
    6. User typs in user name a password and hit login
    7. The script kick me to a 404 error page


    I notice that in step 6 the login has a crazy url that has a lot o percentage signs % in it

    Here is an example of the login url after the user clicks Add To Favorites

    http://www.emanon-i.com/newei/login...dd.php%3Fid%3D9

    You can try this if you go to www.emanon-i.com/newei and try to add a favorite with out being logged in. Use the test user I set up

    Username: test4
    Password: jimmy

    Thanx Jimmy

  2. #2
    Join Date
    Aug 2002
    Posts
    92

    Default

    hey jimmy,
    i believe your problem has to do with favorite_add.php in cp/. open up this file and check at the bottom where the main program is. you should have a section that looks like this:

    PHP Code:
    if(!$users_obj->GetUserAuthentication()==0){
      
    $back_url urlencode("cp/favorite_add.php?id=$id");
      
    header("Location: ../login.php?f=1&b=$back_url");

    make sure that is says favorite_add.php and not favorite_detail_add.php. Let me know if this helps.

    scheetz

  3. #3
    Join Date
    Dec 2002
    Posts
    5

    Talking Thanx !

    You the man ! It works fine

Similar Threads

  1. Admin Login Problems
    By jwnes in forum v5.x
    Replies: 3
    Last Post: 06-06-2005, 08:32 PM
  2. Universal login
    By aladdin in forum v3.2
    Replies: 54
    Last Post: 01-22-2005, 09:13 PM
  3. User login problems
    By jurupa in forum v5.x
    Replies: 1
    Last Post: 07-08-2003, 06:56 PM
  4. User login problem
    By webmasterjr in forum v5.x
    Replies: 3
    Last Post: 12-16-2002, 06:03 AM
  5. admin cannot login v3.0 and 3.03
    By eingeist in forum v5.x
    Replies: 6
    Last Post: 04-13-2002, 04:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •