If this is your first visit, check our documentation. To post, register or login.
Forums / Built-in Shipping and Payment Modules / Getting an Error On checkout page-"Please select shipping country for shipping."

Getting an Error On checkout page-"Please select shipping country for shipping."

Started by atp29awr on 23 Apr 2013, 6:55 AM · Views: 3,267

Results 1 to 20 of 27
23 Apr 2013, 6:55 AM
#1
atp29awr avatar

atp29awr

New Zenner

Join Date:
Apr 2013
Location:
India
Posts:
36
Plugin Contributions:
0

Getting an Error On checkout page-"Please select shipping country for shipping."

Hello,

I am getting an error on the Checkout page saying " Please select shipping country for shipping." even though I have selected United States as the country in my shipping address. What could be the reason for this to happen. This is happening from the last 2-3 days and I am at loss. Also on the admin side, in the shipping modules, I get an error message : "ERROR: module not loaded due to missing language file: /home/content/n/u/d/nudoshi/html/includes/languages/english/modules/shipping/tps.php" . Please let me know what should be done to fix this. Thanks!

23 Apr 2013, 7:20 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Getting an Error On checkout page-"Please select shipping country for shipping."

Check using FTP for this file and insure that it is not a zero byte file

/includes/languages/english/modules/shipping/tps.php

If not there or a zero byte file - then re upload it from where you got it as it is not a builtin module

Zen-Venom Get Bitten

23 Apr 2013, 7:25 AM
#3
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Getting an Error On checkout page-"Please select shipping country for shipping."

atp29awr:

This is happening from the last 2-3 days and I am at loss.

Important Question: Who made what changes 2 or 3 days ago?

These things don't just 'happen' without some kind of human intervention. If you didn't change anything you should try to find out who did. Although unlikely in this instance, missing or changed files is often a clue that you've had a visit from a hacker.

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

23 Apr 2013, 7:27 AM
#4
atp29awr avatar

atp29awr

New Zenner

Join Date:
Apr 2013
Location:
India
Posts:
36
Plugin Contributions:
0

Re: Getting an Error On checkout page-"Please select shipping country for shipping."

Thanks a lot for your reply. I checked with the FTP for the "tps.php" file in /includes/languages/english/modules/shipping/tps.php. It wasnt there before. I have now uploaded the file from includes/modules/shipping. The error message in the shipping module now doesnt show. However the issue on the checkout page still remains the same. It is still showing the message "Please select shipping country for shipping" . What needs to be done to fix this? Thanks!

23 Apr 2013, 7:35 AM
#5
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Getting an Error On checkout page-"Please select shipping country for shipping."

I have now uploaded the file from includes/modules/shipping

To where did you upload it to???

That would be a different file from the language file you reported in your first post as

/includes/languages/english/modules/shipping/tps.php

Zen-Venom Get Bitten

23 Apr 2013, 7:41 AM
#6
atp29awr avatar

atp29awr

New Zenner

Join Date:
Apr 2013
Location:
India
Posts:
36
Plugin Contributions:
0

Re: Getting an Error On checkout page-"Please select shipping country for shipping."

I uploaded the tps.php file in /includes/languages/english/modules/shipping . I picked up the file from includes/modules/shipping and added a copy of it to /includes/languages/english/modules/shipping. Was that right thing to do?

23 Apr 2013, 7:51 AM
#7
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Getting an Error On checkout page-"Please select shipping country for shipping."

I picked up the file from includes/modules/shipping and added a copy of it to /includes/languages/english/modules/shipping. Was that right thing to do?
No that was not

What/where did you get this module?? As it is not included with a default install

Zen-Venom Get Bitten

23 Apr 2013, 8:01 AM
#8
atp29awr avatar

atp29awr

New Zenner

Join Date:
Apr 2013
Location:
India
Posts:
36
Plugin Contributions:
0

Re: Getting an Error On checkout page-"Please select shipping country for shipping."

This file was present on the server before I started to look into this. I checked with the Zen Cart installation files. As you say, this file wasnt there. I just dont know what to do with this file, since it contains 'package shippingMethod' scripting. And how about the "Please select shipping country for shipping" error on the checkout page. What to do with that? Has it to do something with this file.? I am a novice. Please help. Thanks!

23 Apr 2013, 8:04 AM
#9
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Getting an Error On checkout page-"Please select shipping country for shipping."

You will need to determine what addon this is and get a fresh download of it
Expand it on your PC and replace the missing files from the correct folders first

Zen-Venom Get Bitten

23 Apr 2013, 8:17 AM
#10
atp29awr avatar

atp29awr

New Zenner

Join Date:
Apr 2013
Location:
India
Posts:
36
Plugin Contributions:
0

Re: Getting an Error On checkout page-"Please select shipping country for shipping."

I have now removed the file from the includes/modules/shipping as well. The error is not showing now. My main concern is with the Checkout page. Since customers are not able to buy anything off my shopping cart even if they select the 'Country' field in the shipping and billing address forms. It shows the same "Please select shipping country for shipping" repeatedly. What should be done in this case?

23 Apr 2013, 8:18 AM
#11
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Getting an Error On checkout page-"Please select shipping country for shipping."

What is the shipping method name for this showing in the
admin > modules > shipping

Zen-Venom Get Bitten

23 Apr 2013, 8:29 AM
#12
atp29awr avatar

atp29awr

New Zenner

Join Date:
Apr 2013
Location:
India
Posts:
36
Plugin Contributions:
0

Re: Getting an Error On checkout page-"Please select shipping country for shipping."

Attachment 12385

This is what i see in the admin panel in the shipping section.

23 Apr 2013, 8:50 AM
#13
atp29awr avatar

atp29awr

New Zenner

Join Date:
Apr 2013
Location:
India
Posts:
36
Plugin Contributions:
0

Re: Getting an Error On checkout page-"Please select shipping country for shipping."

Has anybody got such a kind of issue before with the shopping cart checkout page.? I have been searching other threads but cant find a solution to this. I have to fix that message poping up "Please select shipping country for shipping". Please let me know how to do it. Thanks!

23 Apr 2013, 9:01 AM
#14
atp29awr avatar

atp29awr

New Zenner

Join Date:
Apr 2013
Location:
India
Posts:
36
Plugin Contributions:
0

Re: Getting an Error On checkout page-"Please select shipping country for shipping."

Please help guys. Really appreciate your help! Want to fix the checkout page issue. I found in one of the threads of including the updating the css(adding Hiddenfield and visiblefield). But no use of doing that. I still get that error.

23 Apr 2013, 9:11 AM
#15
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Getting an Error On checkout page-"Please select shipping country for shipping."

atp29awr:

I uploaded the tps.php file in /includes/languages/english/modules/shipping

I've done a little research, and although I found there is a freight company called 'tps' I couldn't find a single reference to any modules (for any shopping cart) that provides quotes from them. Furthermore, they don't even provide quotes on their own website.

Are you SURE that 'tps.php' is a correct/valid filename... Perhaps it is supposed to be 'ups.php' instead, and somehow/somewhere someone has simply screwed up?

If tps.php really is a valid file, perhaps if you could let us know where you obtained it so that we can make further investigations.

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

23 Apr 2013, 9:26 AM
#16
atp29awr avatar

atp29awr

New Zenner

Join Date:
Apr 2013
Location:
India
Posts:
36
Plugin Contributions:
0

Re: Getting an Error On checkout page-"Please select shipping country for shipping."

Well, I have the 'ups.php'. Now after following the thread, I have removed the tps.php file. After checking this file, I found that it has scripting with the db connections and package named "shippingMethod" with a class "UPS Shipping Module class".

23 Apr 2013, 9:39 AM
#17
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Getting an Error On checkout page-"Please select shipping country for shipping."

atp29awr:

Well, I have the 'ups.php'.

As well as 'tps.php' ?

atp29awr:

Now after following the thread, I have removed the tps.php file. After checking this file, I found that it has scripting with the db connections and package named "shippingMethod" with a class "UPS Shipping Module class".

This has confirmed my suspicions that somehow or other, your ups.php file has been renamed. As such, not only will this one NOT work, but assuming it resides in the same folder as the ups.php file it will almost certainly cause a conflict because both files will contain the same class names.

Suggestion. Remove ALL files with any reference to 'tps' and ensure that your ups.php files contain identical contents, and are in the same locations as the same named files in the ZenCart distribution package. (It is generally quicker to simply re-upload them though, that way you'll be 100% sure the files haven't been changed.

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

23 Apr 2013, 9:59 AM
#18
atp29awr avatar

atp29awr

New Zenner

Join Date:
Apr 2013
Location:
India
Posts:
36
Plugin Contributions:
0

Re: Getting an Error On checkout page-"Please select shipping country for shipping."

I have uploaded the standard package files again to the server. Still getting the error message for selecting the shipping country for shipping.

23 Apr 2013, 10:20 AM
#19
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Getting an Error On checkout page-"Please select shipping country for shipping."

atp29awr:

I have uploaded the standard package files again to the server. Still getting the error message for selecting the shipping country for shipping.

This is getting interesting.

I've just used the Developers Toolkit performing a search for "Please select shipping country for shipping" (and several variations of), and came up with nothing.

My idea was if I can see where this error text is defined I'd be able to find where it is used, which in turn would lead me to possible causes of the problem.

Since I can't find this text, perhaps it would be useful if you perform the search on your system, and follow the same process that I'd planned... which is essentially a matter of following the leads....

Even if you do nothing more than identify the relevant file it may be of some help.

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

23 Apr 2013, 11:39 AM
#20
atp29awr avatar

atp29awr

New Zenner

Join Date:
Apr 2013
Location:
India
Posts:
36
Plugin Contributions:
0

Re: Getting an Error On checkout page-"Please select shipping country for shipping."

I will look into the files for the relevant content to check the possibility of getting the said text in any of the files. Thanks!