Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / ERROR: module not loaded due to missing language file

ERROR: module not loaded due to missing language file

Views: 4,283

Results 1 to 10 of 10
24 Jun 2011, 1:15 PM
#1
spembleton avatar

spembleton

Zen Follower

Join Date:
Jun 2010
Location:
Holland, MI
Posts:
232
Plugin Contributions:
0

ERROR: module not loaded due to missing language file

I am getting the following error across the top of my shipping module page. Everything is working fine, but I get concerned when I have an error.

ERROR: module not loaded due to missing language file: [...] /includes/languages/english/modules/shipping/uspsold.php

I have searched for a reference to uspsold.php, but cannot find one. I don't seem to have a file with that name.

Should I be concerned?

24 Jun 2011, 1:29 PM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: ERROR: module not loaded due to missing language file

Do you have an includes/modules/shipping/uspsold.php file?

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

24 Jun 2011, 2:51 PM
#3
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,717
Plugin Contributions:
56

Re: ERROR: module not loaded due to missing language file

... if so, rename it to includes/modules/shipping/usps.php.old.

NEVER rename a file and keep the .php extension.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

24 Jun 2011, 2:57 PM
#4
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: ERROR: module not loaded due to missing language file

LOL. I hadn't spotted that. Well done Scott for nailing it. Though I'd recommend getting it off your live server completely.

If you need to keep a copy (why? but if ...) don't keep it on your live site. Keep it somewhere else, otherwise over time these files build us and create unforeseen problems. Like this one!

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

24 Jun 2011, 3:15 PM
#5
spembleton avatar

spembleton

Zen Follower

Join Date:
Jun 2010
Location:
Holland, MI
Posts:
232
Plugin Contributions:
0

Re: ERROR: module not loaded due to missing language file

I do NOT have a uspsold.php file. I have also looked in my usps.php file to see if it references a uspsold.php file, which it does not. I have also used the developer tool kit to search for any reference to uspsold anywhere on my site, but not hits. I am baffled.

24 Jun 2011, 3:23 PM
#6
spembleton avatar

spembleton

Zen Follower

Join Date:
Jun 2010
Location:
Holland, MI
Posts:
232
Plugin Contributions:
0

Re: ERROR: module not loaded due to missing language file

I just found the file. It was not in the location described in the error message, it was in the shipping module (not in the language folder). I have removed it, and everything is fine now. I will also heed the warning from you both about renaming files differently or removing them completely. Thanks for your help

24 Jun 2011, 4:55 PM
#7
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,843
Plugin Contributions:
17

Re: ERROR: module not loaded due to missing language file

And just another small note on the file naming.
I would suggest using your initials instead of old, bak, etc. unless your initials are the same.:P
.bak, .old, etc found on a server can fail PCI Compliance.:no:

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

24 Jun 2011, 5:29 PM
#8
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: ERROR: module not loaded due to missing language file

dbltoe:

And just another small note on the file naming.
I would suggest using your initials instead of old, bak, etc. unless your initials are the same.:P
.bak, .old, etc found on a server can fail PCI Compliance.:no:Or just get them the hell off the live site, where they serve no purpose other than clogging up the system, causing confusion for the poor developer asked to upgrade it and occasionally sticking their nose in and stopping the site from working properly.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

26 Jan 2012, 10:05 PM
#9
jenniferwhg avatar

jenniferwhg

New Zenner

Join Date:
Jan 2012
Posts:
2
Plugin Contributions:
0

Re: ERROR: module not loaded due to missing language file

I am trying to install the Fedex module and am having the same error problem: ERROR: module not loaded due to missing language file: /home/content/39/8873939/html/zencart/includes/languages/english/modules/shipping/fedexexpress.php

I couldn't understand the above.. you have to rename the file? or what am I missing? Please help.

Thanks! Jennifer

27 Jan 2012, 12:29 AM
#10
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,717
Plugin Contributions:
56

Re: ERROR: module not loaded due to missing language file

The fedex module has a file in it called

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

You need to transfer it to your site in the location shown in the error message. This is really just

<your cart root>/./includes/languages/english/modules/shipping/fedexexpress.php

The best way to install mods is to transfer the entire "includes" hierarchy (after adjusting for template name, if required) - this way you don't miss a file, which can happen if you go file by file.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.