Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

installing pwa


gypsyTwisted

Recommended Posts

Posted
By reading the instructions, using ftp to edit files or doing it on your PC then uploading them

Nic

 

ok. these are the instructions. 1) Execute the "common.sql" with PHPMyAdmin or another MySQL-Client, as well as "english.sql"

 

2) Use a file compare program to compare the included files.

 

Look for Code surrounded by // PWA BOF and // PWA EOF.

 

pretend i am an idiot. how do i execute .sql files AND once i find Code surrounded by // PWA BOF and // PWA EOF, what do i do with it?

 

thanks for any help.

Posted

the SQL you need to execute in phpmyadmin via your Control Panel.

 

Look at an earlier version of the contribution for manual install help.

 

Might be that this is a fresh install only

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted
How do I install PWA 0.910?

The included Install_Instructions.txt is pretty clear about hat to do. Eg, in part they 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!!!

 

EITHER:

 

Run the included sql file pwa_install.sql

 

OR:

 

Manually run this script:

 

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;

 

 

================================================================================

=================

STEP 4:

 

WARNING: These step by step instructions for manual install are to a large extent new to v0.90(the instructions, not the code), and HAVE NOT BEEN TESTED FOR COMPLETENESS OR ACCURACY.

 

If you do a manual edit and then have problems with your site, please verify the changes you made against the code found in the included files.

 

You can either upload the included files thus overwriting your existing files, or you can do the changes to each file manually.

 

If you decide to do the changes manually please follow the instructions below. Step 2 has instructions for overwriting your existing files.

 

You still need to open some files and add some lines also, follow the instructions below and you should be ready in no time.

 

****************************************************************

OPEN AND MAKE CHANGES IN THIS FILE: /catalog/account.php

 

at about line 17, change this:

 

tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL'));

 

to this:

 

// begin PWA_0.910
//	tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL'));
tep_redirect(tep_href_link(FILENAME_LOGIN, 'my_account_f=' . $HTTP_GET_VARS['my_account_f'], 'SSL'));
// end PWA_0.910

 

the remaining edits are in the file.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...