Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6

Thread: linking problem

  1. #1
    Banned
    Join Date
    Nov 2003
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    linking problem

    Hi im trying to setup a register username/pass system and when i link to the register.asp file it just shows the .asp file in the same way a browser shows a .txt file.
    Anyone know how to fix this or what im doing wrong?

    **EDIT**
    Ok so i hosted the .asp files on my school website, the site is asp capable and can host the files. Not i am gettin some error page shown below, please help.

    aspproblem.jpg
    Last edited by ernie; 11-11-2003 at 06:02 AM.

  • #2
    New to the CF scene
    Join Date
    Nov 2003
    Location
    Malaysia (Boleh!)
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Can the server support asp?

  • #3
    Banned
    Join Date
    Nov 2003
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    yes

  • #4
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    It is an error with your code, specifically on the line mentioned in the error, my guess is that you are trying to use the mid function on a zero length string.
    OracleGuy

  • #5
    New Coder
    Join Date
    Feb 2003
    Posts
    35
    Thanks
    0
    Thanked 0 Times in 0 Posts

    is it <% %>

    do you have

    <%

    %>

    tags surrounding ALL your .asp

    and a

    <%@ Language=VBScript %>

    at the top of the page

  • #6
    raf
    raf is offline
    Master Coder
    Join Date
    Jul 2002
    Posts
    6,589
    Thanks
    0
    Thanked 0 Times in 0 Posts
    In short : can you post the relevant code (line 171 and what's around it) so we can see what happens + suggest some debugging tricks? Like printing the string to the screen to see if it is empty ?


  •  

    Posting Permissions

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