[HELP] Register Page Error.

Results 1 to 8 of 8
  1. #1
    Enthusiast Tom Server is offline
    MemberRank
    Dec 2008 Join Date
    25Posts

    [HELP] Register Page Error.

    On the website I get this error,
    I know what it means,
    But how do I fix it?


    Warning: odbc_exec() [function.odbc-exec]: SQL error: [Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name 'tomandonly'., SQL state S0002 in SQLExecDirect in C:\wamp\www\index.php on line 124

    Warning: odbc_fetch_row(): supplied argument is not a valid ODBC result resource in C:\wamp\www\index.php on line 128
    Register an account at InsomniaGamers.


  2. #2
    DRGunZ 2 Creator wesman2232 is offline
    MemberRank
    Jan 2007 Join Date
    Erie, PALocation
    4,872Posts

    Re: [HELP] Register Page Error.

    OMG read a tutorial for once
    make a System DSN by doing Start > Run > odbcad32
    its in alot of tutorials you just need to read.

  3. #3
    Enthusiast Tom Server is offline
    MemberRank
    Dec 2008 Join Date
    25Posts

    Re: [HELP] Register Page Error.

    Quote Originally Posted by wesman2232 View Post
    OMG read a tutorial for once
    make a System DSN by doing Start > Run > odbcad32
    its in alot of tutorials you just need to read.
    I've read tons of tutorials, the first one was old.
    The second one didn't explain itself,
    And the last one I just read didn't mention anything about a System DSN.

    NOW what do you suggest? >_>

  4. #4
    DRGunZ 2 Creator wesman2232 is offline
    MemberRank
    Jan 2007 Join Date
    Erie, PALocation
    4,872Posts

    Re: [HELP] Register Page Error.

    read Max's tutorial it tells you EXACTLY how to do EVERYTHING
    Code:
    DATA BASE AND SERVER SETUP!
    
    Step 1 - Setting up the Database and ODBC:
    Creating/Connecting the Database
    Open Server Management Studio Express* (SMSE). Within the Object Explorer Panel you will notice the 'Database' folder, right click it, click 'New Database...'.
    A 'New Database' form will open, and in the text input type 'GunzDB' and click OK, your database has been created.
    The next thing you are going to want to do is restore the Database. Click File> Open> File... and locate your GunzDB.sql file and open it. You are going to have to connect to the database engine, the settings are alright so all you need to do is click 'Connect'. Now right click on 'File' and allow the 'SQL Editor' tool bar to show.
    In the toolbar there is a drop-down menu with the 'master' database selected, click on the arrow and select the 'GunzDB' database and click the button next to the drop-down menu, 'Execute'. A message showing 'Command(s) completed successfully.' should notify you that you have done this all correctly.
    from max's tut >.>

  5. #5
    Enthusiast Tom Server is offline
    MemberRank
    Dec 2008 Join Date
    25Posts

    Re: [HELP] Register Page Error.

    Quote Originally Posted by wesman2232 View Post
    read Max's tutorial it tells you EXACTLY how to do EVERYTHING
    Link perhaps.. ?
    I'd use the search tool but I'd have no idea what to search.

  6. #6
    DRGunZ 2 Creator wesman2232 is offline
    MemberRank
    Jan 2007 Join Date
    Erie, PALocation
    4,872Posts

    Re: [HELP] Register Page Error.

    xD its stickied in tutorial section.

  7. #7
    Enthusiast Tom Server is offline
    MemberRank
    Dec 2008 Join Date
    25Posts

    Re: [HELP] Register Page Error.

    I read his tutorial, it's exactly the same as the one I read before that.
    The problem I'm having is still this..

    Warning: odbc_exec() [function.odbc-exec]: SQL error: [Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name 'tomandonly'., SQL state S0002 in SQLExecDirect in C:\wamp\www\index.php on line 124

    Warning: odbc_fetch_row(): supplied argument is not a valid ODBC result resource in C:\wamp\www\index.php on line 128

    It says I entered a invalid object name 'USER-2755B48BF6'.
    Which relates to:
    $logintable = "USER-2755B48BF6";
    What do I put in there?

  8. #8

    Re: [HELP] Register Page Error.

    $logintable = "Login".



Advertisement