Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk
Code: Select all
data/1/FATHERS DAY - ROUTER/PL1083 + CTO1028 TRAY TIDY/
data/1/18MM QUOTES AND SIGNS/LOVE_WITH_MOUSE_HEAD-100x100.jpg.webp
data/2/1. CATEGORIES/PAINT-YOU-OWN-THEMED-FREESTANDING-LETTER-FLOWERS-100x100.jpg.webp
CHRISTMAS ROUTER/STOCKING HOLDERS/STOCKING_HOLDER_TREE-100x100.jpg.webp
PERSONALISED ROUTER/TUMBLING_NAME_IN_A_ROW-100x100.jpg.webp
1/18MM PHOTO FRAMES/18MM_FREESTANDING_6X4_RECTANGLE_WOODEN_PHOTO_FRAME_2-100x100.jpg.webp
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Later, we had PHP scripts install Afterpay, and as a result, all our mods stopped working we was unable to disable them we have to uninstall them to have an affect. The issue was flagged when Afterpay was installed, as all payment mods were showing at checkout. We use different payment gateways on different stores, but were able to hide them using the Ext2Store (Q) mod. Unfortunately, this mod has now stopped working and has no effect as with mod mods.
Although the PHP scripts company removed their mod, this did not fix the issue. Anyone we speak to just suggests that we upgrade our website, but we prefer our website to not be broken.
Issue with redirection to https
Also after you save...try to clear cache from Cloudflare
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
You can upgrade in a subfolder, install modules, same theme if exist for 3.0 and if are new customers, orders...on old website can be updated on the new.
If hosting company will remove PHP 7.2/ 7.3...website will be broken

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
That looks like that could be the problem. Your old settings are not getting deleted, but the new ones are added. When OpenCart retrieves the settings from the database, the database is probably returning the duplicates and the oldest are the ones being used.
When you save the settings OpenCart calls.
Code: Select all
$this->model_setting_setting->editSetting('config', $this->request->post);
The editSetting function will delete all the old settings from the database.
Code: Select all
$this->db->query("DELETE FROM " . DB_PREFIX . "setting WHERE store_id = '" . (int)$store_id . "' AND `group` = '" . $this->db->escape($group) . "'")
For some reason the delete is not working. Maybe someone has changed the code, maybe an extension has changed the code or maybe there is a problem with your database.
Check the code to see if it's been changed. If you use vQmod you will also need to check the files in the vQmod cache. Check both your PHP and OpenCart error logs. Also check your web browser's developer console for errors when saving settings.
public function editSetting($group, $data, $store_id = 0) {
// echo '<pre>'; print_r($data); die('ENTER');
// $this->db->query("DELETE FROM " . DB_PREFIX . "setting WHERE store_id = '" . (int)$store_id . "' AND `group` = '" . $this->db->escape($group) . "'");
foreach ($data as $key => $value) {
// echo '<pre>'; print_r($key); // die('ENTER');
// echo '<pre>'; print_r($value); die('ENTER');
Users browsing this forum: Amazon [Bot], Semrush [Bot] and 46 guests