Works a charm.
Thank you!:clap:
Printable View
Works a charm.
Thank you!:clap:
Hi Mark,
Really like this plugin which has been working ZC 1.5.7. However, I upgraded to ZC 1.5.8a and PHP 8.2 and now getting fatal error using BRM 3.8.0. This is typical of what I am seeing.
Appreciate any guidance on what I've missed to cause this error.
Thanks.
Code:[09-Nov-2023 12:26:14 Europe/London] PHP Fatal error: Uncaught Error: Undefined constant "MODULE_SHIPPING_RMPFGPRIORITY_ZONES_COST0_9" in /var/www/vhosts/httpdocs/includes/modules/shipping/BigRoyalMail/quote.php:110
Stack trace:
#0 /var/www/vhosts/httpdocs/includes/modules/shipping/BigRoyalMail/quote.php(110): constant()
#1 /var/www/vhosts/httpdocs/includes/modules/shipping/rmpfgpriority.php(89): require('...')
#2 /var/www/vhosts/httpdocs/includes/classes/shipping.php(201): rmpfgpriority->quote()
#3 /var/www/vhosts/httpdocs/includes/modules/pages/checkout_shipping/header_php.php(184): shipping->quote()
#4 /var/www/vhosts/httpdocs/index.php(35): require('...')
#5 {main}
thrown in /var/www/vhosts/httpdocs/includes/modules/shipping/BigRoyalMail/quote.php on line 110
If sounds like you are missing some entries from the configuration table.
Can you check the configuration table on the database to make user that there in an entry with configuration_key =
MODULE_SHIPPING_RMPFGPRIORITY_ZONES_COST0_9.
If it is missing you could uninstall and reinstall that module to get the value set up.
I have it working on mysite with php 8.2.4.
If it is more than one module then uninstall and reinstall the modules that are causing a problem. If that does not fix it let me know, and I'll see if I can find anything else to look at.
Regards
Mark
Hi Mark
Perfect! No entry in database and reinstalling it added the entry.
Thank you. Appreciate the quick response.
I have just submitted a new update 3.9.0 to include
- Update to rates.php and rVersion.php for April 2024 price rise
- Added Royal Mail Tracked 24 and 48. **Please check with your post office before using these rates.
- PrintedPapers.sql updated for April 2024 prices rise
- apr2024Update.sql created for April 2024 prices rise
- Refactored style for PHP 8.3
Since I installed BRM on a clean 2.0 site, something weird has happened and all of the links on my site now point to one product page, literally every link redirects to the one product. Someone suggested it might be a URI error, and in the error logs I'm getting a lot of messages like this:
I have no idea hwo to fix it, I've reuploaded all the module files and made sure to delete the old non 'lang.' files, is there some sort of uninstall sql to run or something?Code:[11-May-2024 05:32:02 UTC] Request URI: /shop/zcadmin/index.php?cmd=modules&set=shipping&module=rm1stletter, IP address: 81.105.228.234, Language id 1
#1 require(/zcadmin/modules.php) called at [/zcadmin/index.php:11]
--> PHP Warning: Undefined property: rmamteulargeletter::$sort_order in /zcadmin/modules.php on line 224.
[11-May-2024 05:32:02 UTC] Request URI: /shop/zcadmin/index.php?cmd=modules&set=shipping&module=rm1stletter, IP address: 81.105.228.234, Language id 1
#1 require(/zcadmin/modules.php) called at [/zcadmin/index.php:11]
--> PHP Warning: Undefined property: rmamteulargeletter::$sort_order in /zcadmin/modules.php on line 230.
[11-May-2024 05:32:02 UTC] Request URI: /shop/zcadmin/index.php?cmd=modules&set=shipping&module=rm1stletter, IP address: 81.105.228.234, Language id 1
#1 require(/zcadmin/modules.php) called at [/zcadmin/index.php:11]
--> PHP Warning: Undefined property: rmamteuparcel::$sort_order in /zcadmin/modules.php on line 224.
[11-May-2024 05:32:02 UTC] Request URI: /shop/zcadmin/index.php?cmd=modules&set=shipping&module=rm1stletter, IP address: 81.105.228.234, Language id 1
#1 require(/zcadmin/modules.php) called at [/zcadmin/index.php:11]
--> PHP Warning: Undefined property: rmamteuparcel::$sort_order in /zcadmin/modules.php on line 230.
There is a later version 3.9.0 which might be a better starting point. That said.
I suspect that you have not deleted the old eu modules which are no longer used.
To Remove EU modules.
Delete the following files:
rmamteuletter.php, rmamteulargeletter.php, rmamteuparcel.php from
YOUR_SHOPPING_CART_DIRECTORY/includes/modules/shipping
and
YOUR_SHOPPING_CART_DIRECTORY/includes/languages/english/modules/shipping
You can also run the RemoveEU.Sql to remove the values from your configuration file.
1. Backup your database before running update.
2.Login to your zen cart admin
3. Use Tools > Install SQL Patches
4. Copy the contents of RemoveEU.Sql and paste into the text window
or
Use the Browse button to load RemoveEU.Sql into zen cart.
5. Press send button to execute script.
I assume that you have updated from an older version of big royal mail. These instruction should have been in the doc UPGRADES.htm.
Let me know if you have any more issues.
Mark
Hello there,
I am moving to a new template and just wondered which file controls the following from being displayed on the shopping cart page:-
It also shows the packaging format of parcel or large letter underneath each item. I just can't recall which file it is, I am sure its a global and not template file as it does the same on other template switches. I had a developer alter the code somewhere and these things stopped displaying to the customer. I set to read-only also as in readme. Thanks in advance.Quote:
... Invalid Option Values Selected
Not really connected with big royal mail.
The error message is in lang.english.php in the includes/languages folder may also be under your template. It is used by shopping_class.php which is in includes/classes.
If you need any more info probably best to raise the question under General Questions.