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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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 |
| Sponsored Links | ||
| ||
| |
|
#2
| |||
| |||
| 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
| |||
| |||
| 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
| ||||
| ||||
| 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
|
|
#5
| ||||
| ||||
| 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.
__________________ Clifton Murphy CEO/CTO Hyperactive Inc. osCommerce hosting, OSCMAX hosting, osCommerce modification, and OSCMAX modification specialists! |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 2 Problems-New Install: Broken Images/Purchase wo Account | puggybelle | osCMax v2 Installation issues | 2 | 10-25-2005 03:22 PM |
| Purchase without account | teddybear90 | osCMax v1.7 General Mods Discussion | 0 | 07-12-2005 04:25 AM |
| Purchase without an account not available? | Sam_Iam | osCMax v1.7 Discussion | 3 | 12-06-2004 07:16 PM |
| purchase without account please | jloyzaga | osCMax v1.7 Discussion | 1 | 11-12-2003 06:16 AM |
| purchase without account | jloyzaga | osCMax v1.7 Discussion | 5 | 09-21-2003 09:47 AM |