Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Shipping Modules


Recommended Posts

Hello Blue Day y'all!

 

When I was login anAdmin..

 

 

I'm working on adding UPS to my Shipping methrod.

 

it won't let me into Shipping

show this

 

Warning: main(/home/content/a/m/e/americawarehou/html//catalog/includes/languages/english/modules/shipping/packing.php): failed to open stream: No such file or directory in /home/content/a/m/e/americawarehou/html/admin/modules.php on line 128

 

Warning: main(): Failed opening '/home/content/a/m/e/americawarehou/html//catalog/includes/languages/english/modules/shipping/packing.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/content/a/m/e/americawarehou/html/admin/modules.php on line 128

 

Fatal error: Call to undefined function: check() in /home/content/a/m/e/americawarehou/html/admin/modules.php on line 134

 

 

 

line 128 show this

 

127

128 include(DIR_FS_CATALOG_LANGUAGES . $language . '/modules/' . $module_type . '/' . $file);

129 include($module_directory . $file);

130

131 $class = substr($file, 0, strrpos($file, '.'));

132 if (tep_class_exists($class)) {

133 $module = new $class;

134 if ($module->check() > 0) {

 

Let us know and Thanks all

 

America-Warehouse.com

{-- RJ --}

Link to comment
Share on other sites

Couldn't swear to it but does this file exist?

 

/home/content/a/m/e/americawarehou/html//catalog/includes/languages/english/modules/shipping/packing.php

 

Why is there a // in the path?

 

I'd go back and check the installation of this contribution and check each and every file has been put in the right place.

 

Make sure the ones that should be in adnin are there and not in the catalog directory and vice versa.

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

Couldn't swear to it but does this file exist?

 

/home/content/a/m/e/americawarehou/html//catalog/includes/languages/english/modules/shipping/packing.php

 

Why is there a // in the path?

 

I'd go back and check the installation of this contribution and check each and every file has been put in the right place.

 

Make sure the ones that should be in adnin are there and not in the catalog directory and vice versa.

 

it fixed now other error..

 

Fatal error: Cannot redeclare class packing in /home/content/a/m/e/americawarehou/html/catalog/includes/modules/shipping/packing.php on line 18

 

 

open packing.php ->

 

17

18 class packing {

19 var $item, $totalWeight, $items_qty;

20

21 function packing() {

22 global $shipping_weight, $shipping_num_boxes, $total_weight, $boxcount, $cart, $order;

23

 

 

Thanks

America-Warehouse.com

{-- RJ --}

Link to comment
Share on other sites

WOW.. it's getting away really fast here..

---

I really need your help here..

I'm losing a customer over the high price s/h and need to fix it but it'll not let me in

---

Fatal error: Cannot redeclare class packing in /home/content/a/m/e/americawarehou/html/catalog/includes/modules/shipping/packing.php on line 18

---

I open packing.php - here line 15 to 20

 

15 dimensions support = 2: full dimensions support

16*/

17

18 class packing {

19 var $item, $totalWeight, $items_qty;

20

21 function packing() {

 

---

What is wrong?

Thank you

{-- RJ --}

Link to comment
Share on other sites

WOW.. it's getting away really fast here..

 

What is wrong?

- What is wrong is that you are bumping. This is against forum rules.

 

- Second thing wrong is that this belongs in the UPSXML thread or at least in the shipping modules forum and not in General Support.

 

- Third thing wrong is that you uploaded the shipping module to your language file directory.

 

- Fourth thing wrong is that you expect others to support you here and it better be fast.... doesn't win you much friends...

 

- Fifth thing wrong is your user name which is against forum rules but I can't change that myself so get lucky there.

Link to comment
Share on other sites

for your information

I delete packing.php

Yes, stupid of me. It happened because you uploaded it to includes/modules/shipping/ where the code will look for the accompanying language file of the same name. But of course the file was supposed to go into includes/classes/ :blush:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...