Results 1 to 5 of 5

Purchase Without Account install??

This is a discussion on Purchase Without Account install?? within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; The install instructions say: STEP 3:Go into your server's backend and use a SQL tool such as PHPMYADMIN to run ...

      
  1. #1
    New Member
    Join Date
    May 2004
    Posts
    6
    Rep Power
    0


    Default Purchase Without Account install??

    The install instructions say:

    STEP 3:Go into your server's backend and use a SQL tool such as PHPMYADMIN to run the following SQL scripts. Make sure you have backed up your database first:

    ALTER TABLE customers ADD purchased_without_account TINYINT(1) UNSIGNED DEFAULT '0' NOT NULL AFTER customers_id;
    ALTER TABLE customers ADD INDEX (purchased_without_account);
    INSERT INTO configuration_group VALUES (40, 'Accounts', 'Configuration of Account settings', 40, 1);
    INSERT INTO configuration VALUES ('', 'Purchase Without Account', 'PWA_ON','true','Allow Customers to purchase without an account', 40, 1, '2003-04-08 13:07:44', '2003-04-08 12:10:51', NULL, 'tep_cfg_select_option(array(\'true\', \'false\'),');
    ALTER TABLE orders ADD purchased_without_account TINYINT (1) UNSIGNED DEFAULT '0' NOT NULL;


    Where exactly does this need to be installed to?? Root?
    Database *****_osc4 running on localhost??
    Never had the need for phpmyadmin until now. I don't have a clue!
    Thanks
    d5

  2. #2
    New Member
    Join Date
    Feb 2004
    Posts
    24
    Rep Power
    0


    Default

    Open PHPMYADMIN in your browser, if you have access to it. Click on the database you have installed for your store to select it.

    Click on the SQL link. A text field form will be available. Paste the code in the box and click the GO button.

    This will install and/or alter the tables in the proper location.

  3. #3
    New Member
    Join Date
    Feb 2004
    Posts
    24
    Rep Power
    0


    Default

    If you are asking where to install PHPMYADMIN, here is a basic tutorial that will walk you throught the steps.

    http://www.ubbcentral.com/resources/PhPMyAdmin.html

  4. #4
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default

    Or you can execute the above mysql commands from an SSH session on your server (if you have access).

    From the command prompt, type: mysql and hit enter.

    Then type : use *****_osc4 and hit enter (*****_osc4 is the name of your database)

    Then type each of the above commands, one to a line and hit enter after each one.

    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  5. #5
    Active Member red_fraggle's Avatar
    Join Date
    Feb 2004
    Location
    wilmington, NC
    Posts
    343
    Rep Power
    8


    Default

    If you are running PLESK on your host, login to plesk, click the domain the database is on, click "databases", click the database in question from the list, click "DBwebadmin", this starts PHPMyadmin, once it loads, click the database name on the left navigation panel, click "SQL", click "browse" and select the SQL file your trying to insert. Make sure to backup your DB first.

Similar Threads

  1. 2 Problems-New Install: Broken Images/Purchase wo Account
    By puggybelle in forum osCmax v2 Installation issues
    Replies: 2
    Last Post: 10-25-2005, 03:22 PM
  2. Purchase without account
    By teddybear90 in forum osCMax v1.7 General Mods Discussion
    Replies: 0
    Last Post: 07-12-2005, 04:25 AM
  3. Purchase without an account not available?
    By Sam_Iam in forum osCmax v1.7 Discussion
    Replies: 3
    Last Post: 12-06-2004, 07:16 PM
  4. purchase without account please
    By jloyzaga in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 11-12-2003, 06:16 AM
  5. purchase without account
    By jloyzaga in forum osCmax v1.7 Discussion
    Replies: 5
    Last Post: 09-21-2003, 09:47 AM

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
  •