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

[Old] Royal Mail Modules

Locked

Views: 220,580

Results 221 to 240 of 936
This thread is locked. New replies are disabled.
29 Dec 2006, 1:47 AM
#221
pixxi avatar

pixxi

Totally Zenned

Join Date:
Jan 2004
Location:
UK
Posts:
1,065
Plugin Contributions:
1

[Old] Royal Mail Modules

When i put the item weight as 0.1 in the new items page, everything is fine, on the shipping estimator it also says o.1kg, but when it gives the options it adds 3kg, this happens always, even if i change items weight it adds 3kg.

Take a look at posts 192/193 - it's a setting in the standard zen cart that adds a 3 unit tare weight to all shipping ('tare' is an allowance for the weight of the box/crate/packaging). It causes so many questions in the forums that it should really be set to zero in the standard zen distro.

Try that first and then report back - eg. large letter only goes up to 750g, and 2nd class packet only goes up to 1kg, so you may find the problems are different once you take the '3' off the tare. Although you should also be able to remove that '... can't be determined...' message, and there may still be a tweak necessary for the special delivery 9am.

It's 1.46am here now and we've been out with friends this evening, so I'm leaving that bit until tomorrow when I'm more awake ... :smile:

29 Dec 2006, 1:59 AM
#222
pixxi avatar

pixxi

Totally Zenned

Join Date:
Jan 2004
Location:
UK
Posts:
1,065
Plugin Contributions:
1

Re: [Old] Royal Mail Modules

I'm very excited by this Royal Mail mod and would like to install on my zen cart shop. I have read through all posts and confused about the duplicated counties issue. Can someone please tell me what is the BEST version to install this mod? Is it best install on UK template (by Mutual Advantage) or just original zen cart?

  1. The UK counties change quite regularly, so the counties that come as standard in the zen cart distro aren't up to date.

  2. The counties list in the 'UK template' mod should be the most up to date, but if you run the SQL in the mod it will (IIRC) install additional (regional) counties which you may not want if you're not splitting the UK/Ireland into regions for your shipping.

I would suggest you make your own counties list up by comparing/editing the existing zen zones table (in the database) with reference to the list in the UK Template mod and adding/changing/deleting as you need to.

You can set the maximum order value in all of the RM mods - at that point they will (or should...) turn themselves off, leaving the free shipping option as the only one. You'll need to search the forum for info on how to set up the free shipping mod - there are lots of posts :smile:

29 Dec 2006, 4:09 PM
#223
hudda avatar

hudda

New Zenner

Join Date:
Nov 2006
Posts:
39
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

Thanks Pixxi

What a swift reply!

Thanks for all your help, and sorry to bother you.

Thanks,

N.Hudda

2 Jan 2007, 6:56 PM
#224
martyndw2005 avatar

martyndw2005

Zen Follower

Join Date:
Aug 2005
Posts:
70
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

Hi,

I have just installed the latest version of this mod , having not used it before.

I get the following error when looking at shipping in admin:-

Warning: main(/home/otcafxm/public_html/alttest/includes/languages/english/modules/shipping/rm1stlargeletter.php) [function.main]: failed to open stream: No such file or directory in /home/otcafxm/public_html/alttest/admin/modules.php on line 174

Warning: main(/home/otcafxm/public_html/alttest/includes/languages/english/modules/shipping/rm1stlargeletter.php) [function.main]: failed to open stream: No such file or directory in /home/otcafxm/public_html/alttest/admin/modules.php on line 174

Warning: main() [function.include]: Failed opening '/home/otcafxm/public_html/alttest/includes/languages/english/modules/shipping/rm1stlargeletter.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/otcafxm/public_html/alttest/admin/modules.php on line 174

it continues for each shipping option that was added.

What i have done so far I have upgraded to 1.3.6 from 1.2.6 then checked that everything is working ok and installed this modules bu copying the files across.

I have not installed any of the sql files i was not sure about that.

i am currently running on a test site http://www.beeunique.co.uk/alttest/

Let me know if i need to provide any more information to get this resolved.

Please help :cry:

regards

Martyn

https://www.beeunique.co.uk

2 Jan 2007, 7:32 PM
#225
pixxi avatar

pixxi

Totally Zenned

Join Date:
Jan 2004
Location:
UK
Posts:
1,065
Plugin Contributions:
1

Re: [Old] Royal Mail Modules

The error message is telling you that a language file for the mod (rm1stlargeletter.php) is not where it should be:

/home/otcafxm/public_html/alttest/includes/languages/english/modules/shipping/rm1stlargeletter.php

Upload all the files in the mod to your server again, making sure they all go into their respective folders, then report back if you're still having problems.

2 Jan 2007, 8:21 PM
#226
martyndw2005 avatar

martyndw2005

Zen Follower

Join Date:
Aug 2005
Posts:
70
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

Hi,

I reuploaded files, i had put them in a template folder. I copied them to the \modules\shipping\ folder and now it seems to be working. Thanks for your very quick response.

regards

Martyn

2 Jan 2007, 8:45 PM
#227
martyndw2005 avatar

martyndw2005

Zen Follower

Join Date:
Aug 2005
Posts:
70
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

Hi,

The rates seem to be are based on weight, which is great however my store has set prices based on cost of items rather than weight. Is there a way to change this for the different options?

For example airmail (small packet) has different zones and the related cost for the different weights.

If there is another option that caters for my store let me know.

The mod looks great.

regards

Martyn

2 Jan 2007, 9:03 PM
#228
pixxi avatar

pixxi

Totally Zenned

Join Date:
Jan 2004
Location:
UK
Posts:
1,065
Plugin Contributions:
1

Re: [Old] Royal Mail Modules

All of the modules are based on weight - but if you want to try 'banding' your products into specific Royal Mail charging bands, you could see if it's possible to play around with either:

  1. The weights you set on your products, and/or

  2. The weight bands in the RM modules

so that it works out the way you want, although you may be better off using one of the other shipping modules designed to do that, such as 'per unit' - depending on what you want to achieve.

I've just had a look at your main (old) site to see what your postal bands are, but you have it down for maintenance right now, so sorry, but I can't be more specific at the moment.

2 Jan 2007, 9:28 PM
#229
martyndw2005 avatar

martyndw2005

Zen Follower

Join Date:
Aug 2005
Posts:
70
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

Hi,

Do you know how i can clone the modules and change it to cost for item rather than weight or do this from the start.

I have a zones setup at the moment and would like to clone that so people can choose the different options depending on what is wanted.

I can't setup my store by weight i simply have too many items.

for example:
uk only royal mail 1st class
uk only royal mail 1st class recorded
europe (zone1) airmail
europe (zone1) airmail + insurance
Rest of world (zone2)
Rest of world (zone2) + insurance

We have the zones setup in our current setup and prices.

based on cost of item.

Please let me know the best way for me to do this please.

i just need to know how to do this, we have been getting customers to add in items for extra postage items but it does not look that good.

Regards

:cry:

Martyn

2 Jan 2007, 9:52 PM
#230
pixxi avatar

pixxi

Totally Zenned

Join Date:
Jan 2004
Location:
UK
Posts:
1,065
Plugin Contributions:
1

Re: [Old] Royal Mail Modules

You could clone and rearrange them to work on cost, I would think - but, depending on how many order values : postage bands you have for each module type (eg. 1st class, 1st class recorded, etc.), it might be better in your case if you cloned the 'Table Rate' module instead.

The table rate module allows you to enter a list of order values : postal charges.

3 Jan 2007, 4:06 PM
#231
crabacle avatar

crabacle

New Zenner

Join Date:
Apr 2005
Posts:
26
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

Did anybody ever get a resolution for the problem below.

I ask because I'm hitting exactly the same thing.

Have we a fix please? - PS running ZenCart 1.3.7 and Module version 2.11 downloaded from the Zen site.

This is a FANTASTIC mod if I can get it to work without crashing my Shop!

Bryony:

Philip,

I just discovered your RM mod and am so pleased with it - it's all I ever hoped would become available - and that all the correct values have been put in for me is just great!

However, I can only install 5 Royal Mail options before hitting a problem: (I also have free options and free shipper installed to cope with virtual items)

I cannot currently install Royal Mail Airmail at all - even if I remove a further option. I have tried to re-configure as suggested in an earlier thread but it doesn't seem to have done the trick for me.

The RM Options I have installed (and working well are: 1st letter/1st lge letter/ 1st packet/2nd lge letter/2nd packet)

As soon as I add 2nd letter I get the above error and if I add Airmail packet I get the following error:

I will do some further investigating to find out what other combinations will be accepted but it's getting very late tonight so I thought I'd post to see if anyone had a quick fix!

PS - running version 1.5 on Zen cart version 1.3.5

Thanks
Bryony

3 Jan 2007, 5:14 PM
#232
pixxi avatar

pixxi

Totally Zenned

Join Date:
Jan 2004
Location:
UK
Posts:
1,065
Plugin Contributions:
1

Re: [Old] Royal Mail Modules

Check if you have magic_quotes_runtime enabled on your server - look in admin->tools->server info, and scroll down to the second main box area (under 'Configuration - php core').

If you have it enabled you need to turn it off. You can either put the following line in your .htaccess file in your server document root:

php_flag magic_quotes_runtime off

Or if you don't have access to your .htaccess file on your server, you can try adding the following:

if (get_magic_quotes_runtime())
{
	set_magic_quotes_runtime(0);
}

to:

includes/application_top.php

and

admin/includes/application_top.php

right at the top of each file, after the licence info. Then report back and let us know if you're getting any other errors.

3 Jan 2007, 10:25 PM
#233
crabacle avatar

crabacle

New Zenner

Join Date:
Apr 2005
Posts:
26
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

Thanks

Tried the second method - sorry no joy.

I will enable them again.

Is there any further diagnostic info that would help?

3 Jan 2007, 10:40 PM
#234
pixxi avatar

pixxi

Totally Zenned

Join Date:
Jan 2004
Location:
UK
Posts:
1,065
Plugin Contributions:
1

Re: [Old] Royal Mail Modules

Do you mean magic_quotes_runtime was 'off' and you still got the error?

Did you check your server info after you put the code in those two files and saved them - was it 'off'?

In the /zc_install folder in your zen cart download there's a file called techsupp.php - upload that to your document root and the access it with your browser.

It will (also) tell you if magic_quotes_runtime is actually turned off - it will also tell you if there are any other things are 'on' that shouldn't be (they should be highlighted in red).

Post your site URL (or PM it to me) and I'll have a look at your techsupp.php if you wish.

5 Jan 2007, 8:11 AM
#235
crabacle avatar

crabacle

New Zenner

Join Date:
Apr 2005
Posts:
26
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

Thanks for the response

I can run the php script as suggested over the weekend - in the meantime the Server Stats show the following regarding Magic Quotes: (also see attached pdf)

Thanks in advance.

Site is http://www.czechnymphs.co.uk/Shop

Configuration
PHP Core
Directive Local Value Master Value
allow_call_time_pass_reference On On
allow_url_fopen On On
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags Off Off
auto_append_file no value no value
auto_prepend_file no value no value
browscap no value no value
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
disable_classes no value no value
disable_functions no value no value
display_errors On On
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl On On
error_append_string no value no value
error_log error_log error_log
error_prepend_string no value no value
error_reporting 2039 2039
expose_php On On
extension_dir ./ ./
file_uploads On On
gpc_order GPC GPC
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .:/usr/lib/php:/usr/local/lib/php .:/usr/lib/php:/usr/local/lib/php
log_errors On On
log_errors_max_len 1024 1024
magic_quotes_gpc On On
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
max_execution_time 60 30
max_input_time 60 60
open_basedir no value no value
output_buffering no value no value
output_handler no value no value
post_max_size 8M 8M
precision 12 12
register_argc_argv On On
register_globals On On
report_memleaks On On
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
sendmail_from no value no value
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
serialize_precision 100 100
short_open_tag On On
SMTP localhost localhost
smtp_port 25 25
sql.safe_mode Off Off
track_errors Off Off
unserialize_callback_func no value no value
upload_max_filesize 2M 2M
upload_tmp_dir no value no value
user_dir no value no value
variables_order EGPCS EGPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On

5 Jan 2007, 2:15 PM
#236
pixxi avatar

pixxi

Totally Zenned

Join Date:
Jan 2004
Location:
UK
Posts:
1,065
Plugin Contributions:
1

Re: [Old] Royal Mail Modules

Try turning your magic_quotes_gpc off as well, ie, in:

includes/application_top.php

and

admin/includes/application_top.php

if (get_magic_quotes_gpc())
{
    set_magic_quotes_gpc(0);
}

or in your .htaccess file:

php_flag magic_quotes_gpc off 
``` 

The .htaccess method is perhaps the more reliable way of doing it, if you have access to your .htaccess file.



5 Jan 2007, 3:38 PM
#237
crabacle avatar

crabacle

New Zenner

Join Date:
Apr 2005
Posts:
26
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

Thanks

I'll try this and feed back.

5 Jan 2007, 5:09 PM
#238
crabacle avatar

crabacle

New Zenner

Join Date:
Apr 2005
Posts:
26
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

OK

Tried that and crashed with message:

Fatal error: Call to undefined function: set_magic_quotes_gpc() in /home/czechny/public_html/Shop/admin/includes/application_top.php on line 55

:-)

7 Jan 2007, 8:58 PM
#239
pixxi avatar

pixxi

Totally Zenned

Join Date:
Jan 2004
Location:
UK
Posts:
1,065
Plugin Contributions:
1

Re: [Old] Royal Mail Modules

I did say:

you can try adding the following: :smile:

Will your server allow you to create an .htaccess file in your document root?

If so, put the two php_flag statements in the .htaccess.

7 Jan 2007, 9:54 PM
#240
crabacle avatar

crabacle

New Zenner

Join Date:
Apr 2005
Posts:
26
Plugin Contributions:
0

Re: [Old] Royal Mail Modules

I can edit the root file in the folder and add the lines - but then unfortunately the whole site crashes. - I do NOT have a .htaccess file in the root solder for the ZenCart store though - just for the whole site (the store is in a sub-folder).

Any ideas?

PS - Thanks for your time and efforts here!