From olly at scotwebshops.com Wed Dec 1 04:40:42 2004 From: olly at scotwebshops.com (Oliver Jackson) Date: Wed Dec 1 04:40:57 2004 Subject: [ic] Scottish Provinces In-Reply-To: <20041130191644.4328D200076@mail.perusion.com> References: <20041130191644.4328D200076@mail.perusion.com> Message-ID: <41AD919A.5040507@scotwebshops.com> Russell Mann wrote: >Hello List, > >How do you folks deal with Scottish customer provinces? I'm an American so >I don't really understand the U.K. postal system. The database that comes >with IC 5.2 contains U.K. counties, but not Scottish. Some customers have >written to complain about this. How does everyone else deal with this? > >Thanks, > >Russell Mann > > Hi Russell, I work for an e-commerce store based in Scotland. Basically Scotland has 'counties' just like England and Wales. A quick google turned up this page: http://www.peak.org/~jeremy/dictionary/tables/counties.php In which the last table had a decent list of Scottish counties. I've found that just allowing users to type in their region/county/state can be easier than providing a list half the time. HTH -- Oliver Jackson - Web Developer/Assistant Systems Admin olly@scotwebshops.co.uk - http://www.scotweb.co.uk Scotweb Marketing Ltd, Edinburgh (Tel) 0131 447 8884 (Fax) 0870 7064938 From james at scotwebshops.com Wed Dec 1 05:02:51 2004 From: james at scotwebshops.com (James Turnbull) Date: Wed Dec 1 05:03:53 2004 Subject: [ic] Scottish Provinces In-Reply-To: <20041130214643.CFD30200083@mail.perusion.com> References: <20041130214643.CFD30200083@mail.perusion.com> Message-ID: <298BD6CE-4380-11D9-8553-000393725B20@scotwebshops.com> On 30 Nov 2004, at 21:46, Russell Mann wrote: > The database that comes with IC 5.2 contains U.K. counties, but not > Scottish. > When you select the U.K. you get a lot of counties, but not Scottish > ones. The default list for "UK" in fact only lists English counties (omitting Scotland and Wales). There's a full list of the counties of Great Britain here... http://jonathan.rawle.org/hyperpedia/counties/map98.php It's worth noting that Great Britain != United Kingdom so if you're offering counties when the user selects "UK" you should add considerations for Northern Ireland, etc. The CIA have a list of all the counties, districts, royal boroughs, etc. http://www.cia.gov/cia/publications/factbook/geos/uk.html Perhaps once you decide which of these to include in the list it can be added into Interchange CVS, as the default for 5.2 is clearly incorrect. James From andrew at itdownunder.com.au Wed Dec 1 07:40:14 2004 From: andrew at itdownunder.com.au (Andrew Rich) Date: Wed Dec 1 07:40:29 2004 Subject: [ic] Unable to OK from Item Editor Message-ID: <000001c4d7a2$e8520660$65c8a8c0@arlaptop> Hi All IC 5.3 Perl 5.6.1 Mysql In the last hour I have suddenly been unable to save (OK) from the Item Editor screen. This has been tested on 2 catalogs. This worked fine before an hour ago. I was simply changing the color on a within a in the continent of a product. I was editing a number of products when suddenly it stopped working. When I press OK the flex_edit is shown in lower corner (IE) but page eventually times out. This error is in the apache error log: copy script args timed out' I have restarted the server without success. Regards, Andrew Rich Maps Downunder From arnman at cox-internet.com Wed Dec 1 08:34:57 2004 From: arnman at cox-internet.com (Paul Arnold) Date: Wed Dec 1 08:33:29 2004 Subject: [ic] problem opening website References: <20041130124008.5AEAF6101FE@mailserver1.zolotek.net><000901c4d6e6$22165e90$6401a8c0@PAUL><003a01c4d738$74eac5a0$5202a8c0@Belkin><000201c4d743$38ad2af0$6401a8c0@PAUL> <20041130202658.O64412@prime.gushi.org> Message-ID: <000601c4d7aa$8c82a1c0$6401a8c0@PAUL> well I know my server is running, it shows up when I listed the processes, and it loads up just fine, or so I think. I have tried several different chmod numbers to see if it would work, sometimes I get We're sorry sometimes I get internal server error, I have worked on the cgi-bin and the socket but still nothing, just the customer admin entrance, and We're Sorry Paul >> Ok here is what I did >> I ran locate interchange and it came up with like 600 lines of >> interchange. I had to reset my line buffer to 2000 so I could go back up >> the list. >> I found several paths that ended in /interchange >> /usr/local/interchange >> I did >> [interch@localhost /]$ /usr/local/interchange status >> bash: /usr/local/interchange: is a directory > > locate interchange | more is your friend > > also, it's a good idea to run "file" to check things before blindly > running them as root/admin users... > > %file /usr/local > /usr/local: directory > % > > -Dan > >> >> >> /usr/local/interchange/bin/interchange >> I get >> [interch@localhost /]$ /usr/local/interchange/bin/interchange status >> Low traffic settings. >> Calling UI......UI is loaded... >> Interchange V5.3.0-200411290658 >> Running with old signals. >> Configuring catalog mystore...Using MySQL, >> DSN=dbi:mysql:test_mystore...done. >> The Interchange server is already running (process id 5608) >> >>> From what I can tell it is already running. >> I have search the icdevgroup site and all over the net, I am dumbfounded >> as to what the problem is >> >> Paul >> >> >>> >>>> >>I tried those two and they didn't work, here is what I got on the >>>> first >>>> >>one >>>> >>[root@localhost ~]# /etc/init.d/interchange status >>>> >>-bash: /etc/init.d/interchange: No such file or directory >>> >>> depending on where the interchange daemon is located the file location >>> may >>> be different then what I wrote >>> do a >>> locate interchange >>> >>> then >>> /path/to/interchange status >>> >>> if it says interchange is stopped then... >>> /path/to/interchange start >>> >>> btw, this has to be done as root or interch. >>> >>> the file could be in /etc/rc.d/init.d/ >>> >>> Tom >>> >>> _______________________________________________ >>> interchange-users mailing list >>> interchange-users@icdevgroup.org >>> http://www.icdevgroup.org/mailman/listinfo/interchange-users >> >> _______________________________________________ >> interchange-users mailing list >> interchange-users@icdevgroup.org >> http://www.icdevgroup.org/mailman/listinfo/interchange-users >> > > -- > > "Station!" > > -Bill & Ted's Bogus Journey > > --------Dan Mahoney-------- > Techie, Sysadmin, WebGeek > Gushi on efnet/undernet IRC > ICQ: 13735144 AIM: LarpGM > Site: http://www.gushi.org > --------------------------- > > _______________________________________________ > interchange-users mailing list > interchange-users@icdevgroup.org > http://www.icdevgroup.org/mailman/listinfo/interchange-users From tom at ecnow.co.uk Wed Dec 1 08:38:32 2004 From: tom at ecnow.co.uk (Tom) Date: Wed Dec 1 08:38:46 2004 Subject: [ic] test Message-ID: <92bf5f317e9af31e317fe9be47c6458d@ecnow.co.uk> please ignore this message if it makes it to the list From doug at lathi.net Wed Dec 1 09:01:39 2004 From: doug at lathi.net (Doug Alcorn) Date: Wed Dec 1 09:01:45 2004 Subject: [ic] problem after makecat - "Undefined catalog:xxxxxx" In-Reply-To: <96ffe715a5e0815a5c3d7a6e9b870d9c@ecnow.co.uk> (tom@ecnow.co.uk's message of "Tue, 30 Nov 2004 22:47:52 +0000") References: <96ffe715a5e0815a5c3d7a6e9b870d9c@ecnow.co.uk> Message-ID: Tom writes: > I get the error that "Undefined catalog: /cgi-bin/titl" When you restart Interchange, do you get any errors about the catalog? Does the startup say that the catalog is loaded? -- doug@lathi.net From tom at ecnow.co.uk Wed Dec 1 09:13:00 2004 From: tom at ecnow.co.uk (Tom) Date: Wed Dec 1 09:13:17 2004 Subject: [ic] problem after makecat - "Undefined catalog:xxxxxx" Message-ID: <4ab55c840eb35ecf56f8016536a64c4d@ecnow.co.uk> > Tom writes: > > > I get the error that "Undefined catalog: /cgi-bin/titl" > > When you restart Interchange, do you get any errors about the catalog? > Does the startup say that the catalog is loaded? No, the catalog loads fine like so; [root@www root]# su -c "/usr/lib/interchange/bin/interchange -r" interch bash: /root/.bashrc: Permission denied Killing Interchange server 21029 with TERM. Sending debug to /var/log/interchange/debug.log. Low traffic settings. Calling UI......UI is loaded... Interchange V5.2.0 Configuring catalog foundation...Using default DBM database...done. Configuring catalog test1...Using default DBM database...done. Configuring catalog titl...Using MySQL, DSN=dbi:mysql:test_titl...done. Interchange server started in UNIX mode(s) (process id 21950) [root@www root]# Cheers, Tom From sam at westbranchresort.com Wed Dec 1 09:32:28 2004 From: sam at westbranchresort.com (Sam Batschelet) Date: Wed Dec 1 09:32:57 2004 Subject: [ic] Rewrite problems in admin Message-ID: <000001c4d7b2$98c1ba40$6701a8c0@SAM> In an attempt to improve site indexing I have used the rewrite options below RewriteRule ^$ /cgi-bin/site/index.html [PT,L] RewriteRule ^/$ /cgi-bin/site/index.html [PT,L] RewriteRule ^/index\.html$ /cgi-bin/site/index.html [PT,L] RewriteRule ^/cgi-bin/site/.* - [PT,L] RewriteRule ^/.*images/.* - [PT,L] RewriteRule ^/(.*) /cgi-bin/site/$1 [PT,L] The problem I am running into seems to be with the admin section which constantly drops me into login. I am sure that the rewriterules are to blame but I cannot seem to get on the right track with a solution. Any help with this would be greatly appreciated!. Warm Regards, ? Sam Batschelet Business Manager P: +1.607.467.5525 F: +1.607.467.2215 ? W: www.westbranchresort.com E: sam@westbranchangler.com ? From mhess at greenhillsschool.org Wed Dec 1 14:29:32 2004 From: mhess at greenhillsschool.org (Michael Hess) Date: Wed Dec 1 14:28:13 2004 Subject: [ic] Dealer Pricing Message-ID: I am unable to get dealer pricing to work, I have searched this list ,but almost all examples are from ic 4.8. Please help From tom at ecnow.co.uk Wed Dec 1 19:46:15 2004 From: tom at ecnow.co.uk (Tom) Date: Wed Dec 1 19:46:26 2004 Subject: [ic] problem after makecat - "Undefined catalog:xxxxxx" Message-ID: I've been trying to troubleshoot this message; "/cgi-bin/titl CGI mapping error: Undefined catalog: /cgi-bin/titl at /usr/lib/interchange/lib/Vend/Server.pm line 207." in the interchange error log which corresponds to a "Undefined catalog: /cgi-bin/titl" error returned to the browser. by adding such lines as; ::logGlobal( { level => 'error' }, "script name:".$CGI::script_name."\n"); to the /usr/lib/interchange/lib/Vend/Server.pm file and restarting interchange. However I can't get the server to log any of my messages, or respond to any of my code. Though if I put in a syntax error, interchange will not start and reports the error to the command line. Even if I add lines to that file, interchange stil reports the error to be on line 207 of Server.pm. (I am pretty new to working with packages so I accept that I may have missed something basic) Thanks, Tom H From andrew at mapsdownunder.com.au Wed Dec 1 20:28:35 2004 From: andrew at mapsdownunder.com.au (Andrew Rich) Date: Wed Dec 1 20:28:56 2004 Subject: [ic] Unable to OK from Item Editor - RESOLVED In-Reply-To: <000001c4d7a2$e8520660$65c8a8c0@arlaptop> Message-ID: <000e01c4d80e$3e4aae80$65c8a8c0@arlaptop> > IC 5.3 > Perl 5.6.1 > Mysql 3.23.58 > > In the last hour I have suddenly been unable to save (OK) from the Item > Editor screen. This has been tested on 2 catalogs. > > This worked fine before an hour ago. I was simply changing the color on > a
within a in the continent of a product. > > I was editing a number of products when suddenly it stopped working. > When I press OK the flex_edit is shown in lower corner (IE) but page > eventually times out. > > This error is in the apache error log: > copy script args timed out' > > I have restarted the server without success. As some may have guessed this was not actually any Interchange issue! Apparently the ISP of where my server is hosted was having some problems (may have been MTU size!). So host people contacted ISP today whom seemed to have resolved their problem. Thanks anyone who read the message. I do have some real questions to ask but will get around to them soon. Regards, Andrew Rich Maps Downunder From tluon002 at lions.odu.edu Wed Dec 1 22:23:33 2004 From: tluon002 at lions.odu.edu (Tom Luong) Date: Wed Dec 1 22:33:15 2004 Subject: [ic] problem opening website References: <20041130124008.5AEAF6101FE@mailserver1.zolotek.net><000901c4d6e6$22165e90$6401a8c0@PAUL><003a01c4d738$74eac5a0$5202a8c0@Belkin><000201c4d743$38ad2af0$6401a8c0@PAUL><20041130202658.O64412@prime.gushi.org> <000601c4d7aa$8c82a1c0$6401a8c0@PAUL> Message-ID: <000401c4d81e$4e32ff40$5202a8c0@Belkin> From: Paul Arnold > well I know my server is running, it shows up when I listed the processes, > and it loads up just fine, or so I think. > > I have tried several different chmod numbers to see if it would work, > sometimes I get We're sorry sometimes I get internal server error, > I have worked on the cgi-bin and the socket but still nothing, just the > customer admin entrance, and We're Sorry > Dont top post, you'll get less replys that way. try coping your vlink and tlink programs into the cgi-bin directory or make a symbolic link to them, that should do it. if it doesnt then look up "we're sorry the interchange server is not running" on the development site, also look up starting or restarting interchange. Tom From tluon002 at lions.odu.edu Wed Dec 1 22:27:40 2004 From: tluon002 at lions.odu.edu (Tom Luong) Date: Wed Dec 1 22:37:23 2004 Subject: [ic] Rewrite problems in admin References: <000001c4d7b2$98c1ba40$6701a8c0@SAM> Message-ID: <000b01c4d81e$e0d524e0$5202a8c0@Belkin> ----- Original Message ----- From: Sam Batschelet To: Sent: Wednesday, December 01, 2004 9:32 AM Subject: [ic] Rewrite problems in admin > In an attempt to improve site indexing I have used the rewrite options > below > > RewriteRule ^$ /cgi-bin/site/index.html [PT,L] > RewriteRule ^/$ /cgi-bin/site/index.html [PT,L] > RewriteRule ^/index\.html$ /cgi-bin/site/index.html [PT,L] > RewriteRule ^/cgi-bin/site/.* - [PT,L] > RewriteRule ^/.*images/.* - [PT,L] > RewriteRule ^/(.*) /cgi-bin/site/$1 [PT,L] > > The problem I am running into seems to be with the admin section which > constantly drops me into login. I am sure that the rewriterules are to > blame but I cannot seem to get on the right track with a solution. Any > help with this would be greatly appreciated!. > > Warm Regards, > > Sam Batschelet I am not sure I understand your question completely. By the looks of it, it looks right. are you doing this in your httpd.conf file or .htaccess file you may need to specify RewriteBase / #or what ever the base maybe and Options +FollowSymLinks #maybe mistype Good Luck, Tom From prtyof5 at attglobal.net Wed Dec 1 23:43:42 2004 From: prtyof5 at attglobal.net (Jon) Date: Wed Dec 1 23:44:58 2004 Subject: [ic] Rewrite problems in admin References: <000001c4d7b2$98c1ba40$6701a8c0@SAM> <000b01c4d81e$e0d524e0$5202a8c0@Belkin> Message-ID: <41AE9D7E.31A2A76@attglobal.net> > ----- Original Message ----- > From: Sam Batschelet > To: > Sent: Wednesday, December 01, 2004 9:32 AM > Subject: [ic] Rewrite problems in admin > > > In an attempt to improve site indexing I have used the rewrite options > > below > > > > RewriteRule ^$ /cgi-bin/site/index.html [PT,L] > > RewriteRule ^/$ /cgi-bin/site/index.html [PT,L] > > RewriteRule ^/index\.html$ /cgi-bin/site/index.html [PT,L] > > RewriteRule ^/cgi-bin/site/.* - [PT,L] > > RewriteRule ^/.*images/.* - [PT,L] > > RewriteRule ^/(.*) /cgi-bin/site/$1 [PT,L] > > > > The problem I am running into seems to be with the admin section which > > constantly drops me into login. I am sure that the rewriterules are to > > blame but I cannot seem to get on the right track with a solution. Any > > help with this would be greatly appreciated!. > > > > Warm Regards, > > > > Sam Batschelet > > I am not sure I understand your question completely. By the looks of it, it > looks right. > > are you doing this in your httpd.conf file or .htaccess file > you may need to specify > RewriteBase / #or what ever the base maybe > and > Options +FollowSymLinks #maybe mistype > > Good Luck, > Tom > I think I ran into this same problem when I was trying to get my rewrites to work to clean up my URLs. And I think, as I recall, lines such as these should help. The following is in my .htaccess. RewriteRule ^admin/item_edit$ /~YourHome/cgi-bin/cart.cgi/$1$2 [L,NS,PT] RewriteRule ^admin/flex_editor$ /~YourHome/cgi-bin/cart.cgi/$1$2 [L,NS,PT] Most likely someone else knows more and/or has a better solution, but if nothing else that could be a start. Jon From interchange at tvcables.co.uk Thu Dec 2 06:13:29 2004 From: interchange at tvcables.co.uk (interchange@tvcables.co.uk) Date: Thu Dec 2 06:13:37 2004 Subject: [ic] How to assign a scratch variable to a VBScript Variable?? Message-ID: <1101986009.41aef8d98fbba@66.51.123.254> Hi folks, I need to assign a sratch varible to a vbscript variable but cannot make it work, I have tried this:-
[if type=explicit compare="[error all=1 show_var=1 keep=1]"]

There were errors in your last submission:

[error all=1 keep=1 show_error=1 show_label=1 joiner="
"]

The areas you need to correct are shown in this color below.

[/if] [comment] Order routes in catalog.cfg [/comment] [if session logged_in] [set Save_database] [if cgi mv_todo ne submit] [calc] Log("Saving userdb in mv_check.")[/calc] [userdb save] [/if] [/set] [/if]
Please verify the information below and click the "Place Order" button to process your order.

[if items] [then] [item-list modular=1] [if session logged_in] [/if] [/item-list] [/then] [else] [/else] [/if]
 Remove SKU Description Quantity Price Extension 
[item-sku] [page [item-sku]][item-data products description] [if scratch dealer] [if-item-data pricing sku]
[page quantity [item-code]] QUANTITY PRICING [/if-item-data] [/if] [if-item-data options o_enable] [if-item-data !options o_modular] [query sql="select o_group from options where sku = '[item-sku]' AND o_matrix IS NULL" list=1]
[sql-pos 0]: [/query] [set item_on_hand]N[/set] [query sql=" SELECT code,description FROM options, inventory WHERE options.sku = '[item-sku]' AND inventory.sku = options.code AND inventory.quantity > 0 AND price > 0 " type=list ] [/query] [/if-item-data] [/if-item-data] [if-item-field weight] [seti weight][summary amount=`[item-quantity] * [item-field weight]`][/seti] [/if-item-field]
[seti max_qty][data inventory quantity [item-code]][/seti] [if scratch max_qty < [item-quantity]] [set qty_adjusted]Y[/set]
Only [scratch max_qty]
on hand.
Qty Changed.
[else] [set qty_adjusted]N[/set] [/else] [/if]
[discount-price] [if discount [item-code]]
Item is discounted [item-discount][/if]
[item-subtotal]
[if value separate_addresses] [page href="@@MV_PAGE@@" form=" separate_addresses=0 mv_action=return "]Same shipping address
[page href="ord/basket" form="edit_addresses=1"]Edit address
[page href="ship_addresses" form="ui_return_to=@@MV_PAGE@@"]Add address [else] [page href="@@MV_PAGE@@" form=" separate_addresses=1 mv_action=return "]Separate shipping [/else] [/if]
[if value separate_addresses]
[item-modifier mv_ad]
[/if] 
No items at the moment.

[if items] [if scratch qty_adjusted eq 'Y'] Quantity adjusted
to match number
on hand. Click
recalculate for
correct total.

[/if] [/if]

[if value mv_handling] [/if]
Subtotal: [subtotal]
Sales Tax: [salestax]
Shipping: [shipping]
Handling: [handling]
TOTAL: [total-cost]

[if scratch dealer] [if session ship_message] [/if]
 
 Shipping Address (primary)    
 
[error name=fname std_label="First Name" required=1] [error name=lname std_label="Last Name" required=1]
[error name=company std_label=Company required=1] [else] Company [/else] [/if]    
[error name=address1 std_label=Address required=1]
 
[error name=city std_label="City" required=1]    
[error name=state std_label="State/Province" required=1] [loop search=" fi=state.txt sf=country se=[default country US] rf=state,name,country tf=sorder,name ml=100 " option=state] [on-match][/on-match] [no-match][/no-match] [/loop]    
[error name=zip std_label="Zip/Postal Code" required=1]    
[error name=email std_label="Email Address" required=1]    
Country [if value country =~ /(^$|US|CA)/] [else] [/else] [/if] (will update display)
[error name=phone_day std_label="Daytime Phone" required=1] [error name=phone_night std_label="Evening Phone"]
  Note: [data session ship_message]
Shipping method
Insurance:  Yes:  No:  
  We need the bold fields to process your order
       
Mailing Status  
Send an email copy of my receipt    
  [perl tables="__UI_META_TABLE__ mv_metadata"] return; [/perl] [input-filter name=mail_list op=null_to_space][/input-filter] [display table=userdb type=multiple column=mail_list key="[data session username]"] Mail lists (if any)    

 

 Billing Address - If different than above    
First Name Last Name
Company    
Address
 
City State/Province
Zip/Postal Code    
Country    
       
Payment Method  
 
  (will update display)
 
[if !value payment_method] [or value payment_method eq credit] [then]

 

[error std_label="Credit Card Information" name=mv_credit_card_valid] [if variable MV_DEMO_MODE]
(test number 4111 1111 1111 1111)[/if]
[calc] my $accepted = $Variable->{CREDIT_CARDS_ACCEPTED}; my (@out); my (@cc); my $out; push @cc, 'visa' if $accepted =~ /visa/; push @cc, 'mc' if $accepted =~ /mc/; push @cc, 'disc' if $accepted =~ /discover/; push @cc, 'amex' if $accepted =~ /amex/; for (@cc) { push @out, qq{}; } return join '  ', @out; [/calc]
Card Number:
Expiration:
[/then] [elsif value payment_method eq postal] [/elsif] [elsif value payment_method eq cod] [/elsif] [elsif value payment_method eq paypal] [/elsif] [elsif value payment_method eq check]

 

Check Information    
Account Number
Routing Number
Check Number
[/elsif] [elsif value payment_method eq po]

 

[if type=data term="userdb::credit_limit::[data session username]" op=">" compare=0.01] [/if]
P.O. Information  
[error name=credit_limit_ok std_label="PO Number" required=1]
Available credit [currency] [data table=userdb col=credit_limit key="[data session username]"] [/currency] [if type=data term="userdb::credit_limit::[data session username]" op=< compare="[total-cost noformat=1]" ]
Order total [total-cost] exceeds credit limit, please call. [/if]
[/elsif] [else] [/else] [/if]

[if items] [else] [/else] [/if]
[if scratch qty_adjusted eq 'Y'] Quantity adjusted
to match number
on hand. Click
recalculate for
correct total
before Checkout

[else] [button name="mv_click" src="__THEME__/placeorder.gif" text="Place Order" hidetext=1 form=checkout ] mv_todo=submit [/button] [/else] [/if] [set qty_adjusted]X[/set]

[button name="mv_click" src="__THEME_IMG_DIR__recalculate_button.gif" text="Recalculate" hidetext=1 form=checkout ] mv_todo=refresh [/button] No items in your shopping cart!
[seti clear_errors][error all=1 hide=1 comment="Clear errors"][/seti]

[include templates/components/specials]

@_NOLEFT_BOTTOM_@ =============================================================================== PayPal changes to checkout.html Around line 655 added: [if variable PAYPAL_ACCEPTED]