Results 1 to 9 of 9

Thread: User Login Bug

  1. #1
    Join Date
    Jun 2007
    Posts
    70

    Default User Login Bug

    After validation, if user wants to login, it goes back to last opened page(mail validation page)
    Last edited by ekirbiz; 07-15-2009 at 09:19 AM.

  2. #2
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    IndexU version?
    Browser and browser version?
    Login from what page?

  3. #3
    Join Date
    Jun 2007
    Posts
    70

    Default

    indexu deluxe 1.4 with opera and netscape and firefox.
    from login block on the left hand.
    when user login it opens last opened page.
    Last edited by ekirbiz; 07-16-2009 at 04:07 AM.

  4. #4
    Join Date
    Jun 2007
    Posts
    70

    Default

    And my second question about image files.
    <%if $logo|file_exists%><img src="<%$logo%>" /><%/if%> does't show image files when uploaded?

  5. #5
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    1.4? That's beta and unsupported. We never support SVN versions, ever. That's why we have beta testers.

    As for the login issue, the user is returned to the last page they were on.

    As for the image file, of course nothing will show up, you didn't enter a path TO the $logo. View the page source and you'll see that. This isn't a bug.

  6. #6
    Join Date
    Jun 2007
    Posts
    70

    Default

    Everything is correct but image doesn't shown.
    In page source i can see this:

    <img src="http://www.olmedia.net/upload_files/upload_files/logo_5.gif" />

    But in site i can not see the image as the attachement.

    I used:
    <%if $logo|file_exists%><img src="<%$site_url%>/upload_files/<%$logo%>" /><%/if%>

    Before i use:
    <%if $logo|file_exists%><img src="<%$logo%>" /><%/if%>

    Why? Must i wait for a time for changings?
    Attached Images Attached Images

  7. #7
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    http://www.olmedia.net/upload_files/...les/logo_5.gif returns a 404 error which means that the file doesn't exist.

    You can't display something if it's not there, and no matter what code you use it won't appear.


    The following is correct with correct tags added to make sure you stay xhtml compliant.
    <%if $logo|file_exists%><img src="<%$site_url%>/upload_files/<%$logo%>" alt='' height='' width='' border='0' />
    <%/if%>

  8. #8
    Join Date
    Jun 2007
    Posts
    70

    Default

    I found the error. When i typed
    <%if $logo|file_exists%><img src="<%$logo%>" /><%/if%>
    <%$logo%> showing in page as upload_files/logoxx.gif

    http://www.xxxxxx.com/upload_files/u...les/logo_5.gif
    So above it types twice upload_files

    <%if $logo|file_exists%><img src="http://www.xxx.com/<%$logo%>" /><%/if%> worked.

    Thanks Bruce.

  9. #9
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    And that got me too, lotsa things you don't remember when you see too much stuff.

Similar Threads

  1. User can not login
    By exden98 in forum INDEXU DELUXE v1.x
    Replies: 2
    Last Post: 06-21-2009, 02:03 AM
  2. Smarty Help for login user
    By Antony in forum Blocks and Modification
    Replies: 6
    Last Post: 10-26-2007, 08:36 PM
  3. User login form
    By forrog in forum v5.x
    Replies: 6
    Last Post: 01-27-2003, 10:04 PM
  4. User login problem
    By webmasterjr in forum v5.x
    Replies: 3
    Last Post: 12-16-2002, 06:03 AM
  5. User Login Errors
    By wealthstyle in forum v5.x
    Replies: 2
    Last Post: 05-28-2002, 08:43 PM

Posting Permissions

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