osCmax v2.5 User Manual
Results 1 to 2 of 2

Cannot Create New Account from main Site:

This is a discussion on Cannot Create New Account from main Site: within the osCMax v2 Features Discussion forums, part of the osCmax v2.0 Forums category; receive the following errors upon trying to register/create new account: Warning : mysql_insert_id(): supplied argument is not a valid MySQL-Link ...

      
  1. #1
    New Member
    Join Date
    Jan 2010
    Posts
    12
    Rep Power
    0


    Default Cannot Create New Account from main Site:

    receive the following errors upon trying to register/create new account:

    Warning
    : mysql_insert_id(): supplied argument is not a valid MySQL-Link resource in /home/pppcom/public_html/automotive/includes/functions/database.php on line 114

    Warning: Cannot modify header information - headers already sent by (output started at /home/pppcom/public_html/automotive/includes/functions/database.php:114) in /home/pppcom/public_html/automotive/includes/functions/general.php on line 34

    Below is copy & paste of codes:

    database.php file

    }

    function tep_db_insert_id($link = 'db_link') {
    global $$link;
    return mysql_insert_id($$link);
    }


    general.php file

    }

    header('Location: ' . $url);

    tep_exit();
    }


    So far, everything else seems to be working ok..
    Any help will be appreciated, thanx

  2. #2
    New Member
    Join Date
    Jan 2010
    Posts
    12
    Rep Power
    0


    Default Re: Cannot Create New Account from main Site:

    UPDATE:

    Evidently it created the account in spite of the error I received.

    I tried to create the account twice from firefox and from IE explorer and both returned the same error.

    Third time really is a charm...
    I tried to create new account 3rd time and it returned onsite error that my email was already in the system, to either user different email or sign in using email supplied.
    Upon entering email addy and pw, logged in just fine...

    I just wouldn't want this to happen with a potential customer, they may not try a third time...

    Any suggestions?

    thanx in advance

Similar Threads

  1. create account
    By jschafer52 in forum osCMax v2 Features Discussion
    Replies: 1
    Last Post: 06-15-2007, 07:38 AM
  2. How do you create a test site?
    By pefc2525 in forum osCmax v2 Customization/Mods
    Replies: 4
    Last Post: 12-26-2006, 05:52 AM
  3. BTS: Different Layout for Main Site Page
    By ddecjc in forum osCMax v1.7 General Mods Discussion
    Replies: 1
    Last Post: 09-15-2004, 10:37 AM
  4. Why can't create a new account ?
    By kellycog in forum osCommerce 2.2 Modification Help
    Replies: 3
    Last Post: 06-29-2004, 09:58 AM
  5. Create Account,Checkout,My Account, Language Pictures probs!
    By Mikey in forum osCommerce 2.2 Installation Help
    Replies: 0
    Last Post: 03-08-2004, 10:20 PM

Tags for this Thread

Bookmarks

Posting Permissions

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