Zen Cart Logo
Forums / General Questions / Error prevents shipping modules from working

Error prevents shipping modules from working

Locked

Views: 2,447

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
12 Nov 2008, 9:54 PM
#1
zgambitx avatar

zgambitx

New Zenner

Join Date:
Oct 2005
Posts:
12
Plugin Contributions:
0

Error prevents shipping modules from working

Hello everyone,

I am having a problem with a site running ZC 1.3.8, I believe the problem began when files were being moved from one dir in the web server to another dir in the same web server. The end result is that certain customers when trying to process an order receive a:

Step 1 of 3 - Delivery Information
Shipping Information:
Not Available At This Time
Sorry, we are not shipping to your region at this time.
Please contact us for alternate arrangements.

Which prompted me to take a look at the shipping modules which tell me:

Warning: include(/home/<hidden>/public_html/includes/languages/english/modules/shipping/flat.php) [function.include]: failed to open stream: No such file or directory in /home/<hidden>/public_html/admin/modules.php on line 173

Warning: include() [function.include]: Failed opening '/home/<hidden>/public_html/includes/languages/english/modules/shipping/flat.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/<hidden>/public_html/admin/modules.php on line 173
MODULE_SHIPPING_FLAT_TEXT_TITLE flat

Warning: include(/home/<hidden>/public_html/includes/languages/english/modules/shipping/freeoptions.php) [function.include]: failed to open stream: No such file or directory in /home/<hidden>/public_html/admin/modules.php on line 173

Warning: include() [function.include]: Failed opening '/home/<hidden>/public_html/includes/languages/english/modules/shipping/freeoptions.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/<hidden>/public_html/admin/modules.php on line 173
MODULE_SHIPPING_FREEOPTIONS_TEXT_TITLE freeoptions

Warning: include(/home/<hidden>/public_html/includes/languages/english/modules/shipping/freeshipper.php) [function.include]: failed to open stream: No such file or directory in /home/<hidden>/public_html/admin/modules.php on line 173

Warning: include() [function.include]: Failed opening '/home/<hidden>/public_html/includes/languages/english/modules/shipping/freeshipper.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/<hidden>/public_html/admin/modules.php on line 173
MODULE_SHIPPING_FREESHIPPER_TEXT_TITLE freeshipper

Warning: include(/home/<hidden>/public_html/includes/languages/english/modules/shipping/item.php) [function.include]: failed to open stream: No such file or directory in /home/<hidden>/public_html/admin/modules.php on line 173

Warning: include() [function.include]: Failed opening '/home/<hidden>/public_html/includes/languages/english/modules/shipping/item.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/<hidden>/public_html/admin/modules.php on line 173
MODULE_SHIPPING_ITEM_TEXT_TITLE item

Warning: include(/home/<hidden>/public_html/includes/languages/english/modules/shipping/perweightunit.php) [function.include]: failed to open stream: No such file or directory in /home/<hidden>/public_html/admin/modules.php on line 173

Warning: include() [function.include]: Failed opening '/home/<hidden>/public_html/includes/languages/english/modules/shipping/perweightunit.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/<hidden>/public_html/admin/modules.php on line 173
MODULE_SHIPPING_PERWEIGHTUNIT_TEXT_TITLE perweightunit

Warning: include(/home/<hidden>/public_html/includes/languages/english/modules/shipping/storepickup.php) [function.include]: failed to open stream: No such file or directory in /home/<hidden>/public_html/admin/modules.php on line 173

Warning: include() [function.include]: Failed opening '/home/<hidden>/public_html/includes/languages/english/modules/shipping/storepickup.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/<hidden>/public_html/admin/modules.php on line 173
MODULE_SHIPPING_STOREPICKUP_TEXT_TITLE storepickup

Warning: include(/home/<hidden>/public_html/includes/languages/english/modules/shipping/table.php) [function.include]: failed to open stream: No such file or directory in /home/<hidden>/public_html/admin/modules.php on line 173

Warning: include() [function.include]: Failed opening '/home/<hidden>/public_html/includes/languages/english/modules/shipping/table.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/<hidden>/public_html/admin/modules.php on line 173
MODULE_SHIPPING_TABLE_TEXT_TITLE table 0

Warning: include(/home/<hidden>/public_html/includes/languages/english/modules/shipping/ups.php) [function.include]: failed to open stream: No such file or directory in /home/<hidden>/public_html/admin/modules.php on line 173

Warning: include() [function.include]: Failed opening '/home/<hidden>/public_html/includes/languages/english/modules/shipping/ups.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/<hidden>/public_html/admin/modules.php on line 173
MODULE_SHIPPING_UPS_TEXT_TITLE ups 0

Warning: include(/home/<hidden>/public_html/includes/languages/english/modules/shipping/usps.php) [function.include]: failed to open stream: No such file or directory in /home/<hidden>/public_html/admin/modules.php on line 173

Warning: include() [function.include]: Failed opening '/home/<hidden>/public_html/includes/languages/english/modules/shipping/usps.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/<hidden>/public_html/admin/modules.php on line 173
MODULE_SHIPPING_USPS_TEXT_TITLE usps

Warning: include(/home/<hidden>/public_html/includes/languages/english/modules/shipping/zones.php) [function.include]: failed to open stream: No such file or directory in /home/<hidden>/public_html/admin/modules.php on line 173

Warning: include() [function.include]: Failed opening '/home/<hidden>/public_html/includes/languages/english/modules/shipping/zones.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/<hidden>/public_html/admin/modules.php on line 173
Line 173 shows:

173 include(DIR_FS_CATALOG_LANGUAGES . $_SESSION['language'] . '/modules/' . $module_type . '/' . $file);

and /public_html/includes/languages/english/modules show only 2 dirs:

  1. order_total
  2. payment

Now reading through other posts I saw where whatever is in this dir should also be in /public_html/includes/modules, which contains:

classic
debug_blocks
order_total
pages
payment
shipping
sideboxes
and plenty of other files.

When I copied these files to the languages/english dir it did not solve my problems.

Any idea what I need to do to fix this? Additionally when a user IS able to SUCCESSFULLY check out they see this:

Sub-Total:

$10.73

MODULE_SHIPPING_UPS_TEXT_TITLE (1 x 3.00lbs) (3 Day Select):

$1.84FL TAX 6.0%:

$32.56

12 Nov 2008, 10:23 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Error prevents shipping modules from working

zgambitx:

I believe the problem began when files were being moved from one dir in the web server to another dir in the same web server.
...

... and /public_html/includes/languages/english/modules show only 2 dirs:

  1. order_total
  2. payment

Now reading through other posts I saw where whatever is in this dir should also be in /public_html/includes/modules, which contains:

classic
debug_blocks
order_total
pages
payment
shipping
sideboxes
and plenty of other files.

The problem is a result of an incomplete copy of files from your old server to the new.
You appear to be missing several files, not just the language files you mention.

Perhaps you need to re-upload everything, or download everything from your server and compare it all against your backup (WinMerge is handy for that), and then upload anything that's missing.

13 Nov 2008, 2:17 PM
#3
zgambitx avatar

zgambitx

New Zenner

Join Date:
Oct 2005
Posts:
12
Plugin Contributions:
0

Re: Error prevents shipping modules from working

Thank you, apparently the shipping directory was moved to .../languages/english/payment/classic (go figure) instead of .../languages/english/shipping, once I moved it back the problem in the backend was resolved.