Zen Cart Logo
Forums / Addon Shipping Modules / [Old] Royal Mail Modules

[Old] Royal Mail Modules

Locked

Views: 220,574

Results 741 to 760 of 936
This thread is locked. New replies are disabled.
10 May 2009, 11:50
#741
emma_24 avatar

emma_24

New Zenner

Join Date:
Jul 2008
Posts:
13
Plugin Contributions:
0

[Old] Royal Mail Modules

Hello all!

I have a big problem! I installed the royal mail shipping module and all seemed to be ok until I tried installing the optional extras. I keep getting this message on my admin site on the shipping/module section...

Warning: include(e:/domains/u/uniquedesigns.me.uk/user/htdocs/includes/languages/english/modules/shipping/shipping_estimator.php) [function.include]: failed to open stream: No such file or directory in E:\domains\u\uniquedesigns.me.uk\user\htdocs\admin\modules.php on line 173

Warning: include() [function.include]: Failed opening 'e:/domains/u/uniquedesigns.me.uk/user/htdocs/includes/languages/english/modules/shipping/shipping_estimator.php' for inclusion (include_path='.;C:\php5\pear') in E:\domains\u\uniquedesigns.me.uk\user\htdocs\admin\modules.php on line 173

Fatal error: Call to a member function count_contents() on a non-object in E:\domains\u\uniquedesigns.me.uk\user\htdocs\includes\modules\shipping\shipping_ estimator.php on line 28

I have looked for any errors on these files and have changed the optional extras back to how they were before but its not resolved the problem now 3 hours later I'm fed up! Any help much appreciated!

10 May 2009, 12:16
#742
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: [Old] Royal Mail Modules

do you have a file here ?

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

because that seems to be the source of the problems. Is it readable by the web server ? it is "odd" that this error appears in the admin side of the site too, unfortunately I have no experience in these modules on a windows platform (I wrote them) so may not be able to help.

Also what I find a little strange is that there should never be a file in that location in the first place. The files below are the only estimator files that should be present on a default ZC 1.3.8

./includes/languages/english/popup_shipping_estimator.php
./includes/modules/pages/popup_shipping_estimator/header_php.php
./includes/modules/pages/popup_shipping_estimator/jscript_addr_pulldowns.php
./includes/modules/shipping_estimator.php
./includes/templates/template_default/buttons/english/button_shipping_estimator.gif
./includes/templates/template_default/popup_shipping_estimator/tpl_main_page.php
./includes/templates/template_default/templates/tpl_modules_shipping_estimator.php

did you place anything in admin/includes/modules or somewhere over the admin side by mistake ?

Philip.

10 May 2009, 12:29
#743
emma_24 avatar

emma_24

New Zenner

Join Date:
Jul 2008
Posts:
13
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

Hi Philip, no I don't have the shipping_estimator file there should I?

I loked but I can't see that I have changed anyhting in the admin/modules section.

I also check all the other files that you gave me and I don't have these installed

./includes/modules/pages/popup_shipping_estimator/header_php.php
./includes/modules/pages/popup_shipping_estimator/jscript_addr_pulldowns.php

in the above I just have /popup_shipping_estimator

i can't find the below file either...

./includes/templates/template_default/popup_shipping_estimator/tpl_main_page.php

10 May 2009, 12:42
#744
emma_24 avatar

emma_24

New Zenner

Join Date:
Jul 2008
Posts:
13
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

I have added the shipping_estimator file in includes/languages/english/modules/shipping/shipping_estimator.php and the first 2 warning message have gone, now Im only getting-

Fatal error: Call to a member function count_contents() on a non-object in E:\domains\u\uniquedesigns.me.uk\user\htdocs\includes\languages\english\modules\shipping\shipping_estimator.php on line 28

10 May 2009, 12:52
#745
emma_24 avatar

emma_24

New Zenner

Join Date:
Jul 2008
Posts:
13
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

Update-I found this file...

./includes/templates/template_default/popup_shipping_estimator/tpl_main_page.php

sorry I'm new to all this shipping before I just had free shipping and I'm tempted to go back to that but befoe I can change anything I need to sort this problem out!

10 May 2009, 13:37
#746
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: [Old] Royal Mail Modules

Okay I suspect that you initially put a file in the wrong place since this error is showing up in admin. None of the royal mail modules call the shipping estimator inside admin it is only a shopping cart function, so what I think has happened (and this is only a guess) is that somewhere you've got a shipping estimator file in one of the admin folders and admin is trying to load it as a shipping module. Whatever is happening, it doesn't affect the modules on the shopping side so the price calculations should still be correct. I'm going to try and recreate the problem on a test server.

Philip.

10 May 2009, 13:42
#747
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: [Old] Royal Mail Modules

Yes you have a file in the wrong place. You have shipping_estimator.php in

e:/domains/u/uniquedesigns.me.uk/user/htdocs/includes/modules/shipping/

shipping_estimator should be one folder upwards.

Philip.

10 May 2009, 13:57
#748
emma_24 avatar

emma_24

New Zenner

Join Date:
Jul 2008
Posts:
13
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

Thats it!!!!
Oh thank you thank you thank you!! I think that's aged me by 5 years! lol:D

11 May 2009, 09:35
#750
mattys avatar

mattys

Zen Follower

Join Date:
Sep 2006
Location:
North Devon, England, UK
Posts:
289
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

Hi Philip

I ahve set your shipping system up on this site http://www.tackstore.co.uk/shop/.

I just renamed a few shipping options via the language files.

The only thing is, which i don't have on another site which uses the same system, I seem to be having the Kgs displayed, e.g. 3.000 kg(s), as per attachment.

I can't see whay this is happening as there is no setting for 3 kg, the product isn't 3 kg, etc.

Can you think what the issue might be?

Matt

11 May 2009, 09:58
#751
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: [Old] Royal Mail Modules

Ho Ho, the old 3 Kg issue. It's not a Royal Mail problem, if you go to configuration > shipping and packaging > Package Tare, you'll find that by default ZC adds 3 lbs in weight to any parcel to account for "the envelope or cardboard box" what I normally recommend is that you set

Package Tare Small to Medium - added percentage:weight 10%:0

and

Larger packages - added packaging percentage:weight 8%:0

as a guideline, e.g. add 10% weight to your smaller packets and 8% for the bigger ones.

Phjilip

11 May 2009, 10:05
#752
mattys avatar

mattys

Zen Follower

Join Date:
Sep 2006
Location:
North Devon, England, UK
Posts:
289
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

of course, thank you philip

I would like to lose reference to weight, although it is now not showing 3 kg, it is showing : 0.000 kg(s)

Can you poss let me knwo how I do this?

Thanks

Matt

11 May 2009, 10:18
#753
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: [Old] Royal Mail Modules

There's no easy way unless you program PHP and the modules. ZC has a setting for hiding the number of boxes or weight in the shipping estimator but this doesn't apply to the modules, mainly because at the end of the day you have on your system an invoice with the weight of the item and the postage paid so you can work out things easier.

You'd need to go into the modules you are using and modify the variables $shipping_weight and $sw_text before they are added to $this->quotes which is not an easy task as most of the modules return at different places, e.g. if it's under a weight, if it's over a weight, if it's over a price limit, so you need to locate in each module the exact part which return the "correct" weight which isn't necessarily at the end of every function, I suppose I could put it on the "wants" list, but it'd be low down as I'd have to code it for 32+ individual modules.

Philip.

11 May 2009, 10:27
#754
mattys avatar

mattys

Zen Follower

Join Date:
Sep 2006
Location:
North Devon, England, UK
Posts:
289
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

thanks Philip

why does the weight not show up on this site then http://www.northdevonsurfshop.co.uk? (see attached)

matt

11 May 2009, 10:31
#755
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: [Old] Royal Mail Modules

Becuase I removed it manually by hand when I was paid to do it.

11 May 2009, 10:36
#756
mattys avatar

mattys

Zen Follower

Join Date:
Sep 2006
Location:
North Devon, England, UK
Posts:
289
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

hmmm, yes, i thought that, but, used the same files as used on the north devon surf shop site, but still get weight

thanks for your feedback, great help, great module

11 May 2009, 11:10
#757
mattys avatar

mattys

Zen Follower

Join Date:
Sep 2006
Location:
North Devon, England, UK
Posts:
289
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

Hi Philip

Can you poss advise how I might go about losing refernece to weight?

I am happy to pay for services.

I can't figure it out - when i activate another shipping module it doesn't show weighet 0.000 kg(s), e.g. Flat rate, Per itme, etc.

11 May 2009, 11:23
#758
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: [Old] Royal Mail Modules

I did advise above (or below depending on which way you're reading the threads), which variables to change. No other module you've mentioned is like the Royal Mail modules e.g. flat rate wouldn't need a weight.

As I recall I didn't bill for the last time as it lasted way over the alloted time or initial specification, but I'm sure you can find someone in the appropriate forums.

12 May 2009, 14:53
#759
starbuck avatar

starbuck

New Zenner

Join Date:
Jun 2008
Posts:
47
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

Hi Philip thanks for doing the SQL update for me a few weeks back.

I’m now trying to sort out world shipping zones for my courier using UKZR I have added the extra zone and every thing seems fine and now i am entering the Prices but I need it add a 2.95% fuel surcharge. Do you know how can i make the handling fee work as a percentage?

Thanks

12 May 2009, 16:22
#760
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: [Old] Royal Mail Modules

short answer: handling fee doesn't do a percentage so you'd need to change the rates, also ukzr.php does not work unless it is downloaded from here

http://exploitingit.co.uk/versions/ukzr.txt

and renamed to includes/modules/shipping/ukzr.php. They'll be an updated version in the ParcelForce download area in the next coupe of days when the submission is approved,