Post by Ian Turner » Mon Mar 12, 2018 6:16 pm

Hi! I am relatively new to opencart! When I go to modules I see that the modules although working are listed as disabled. I have read that there is a fix for this but I can't find the fix. I hope that someone can help me to fix this problem.
Regards
Ian :) :)

Newbie

Posts

Joined
Thu Mar 30, 2017 9:48 am

Post by straightlight » Tue Mar 13, 2018 3:42 am

No OC version posted. In the modules folder on your file server, ensure in each PHP files that all instances of:

Code: Select all

$this->request->post['
starts with:

Code: Select all

$this->request-post['module_
And:

Code: Select all

$this->config->get('
starts with:

Code: Select all

$this->config->get('module_
And the editSetting method starts with

Code: Select all

editSetting('module_
Then, in your admin/view/template/extension/module folder, ensure that each:

Code: Select all

name="
starts with:

Code: Select all

name="module_
Then, clear all OC caches from your admin - > dashboard - > blue icon on the right and from your admin - > extensions - > modifications - > refresh button. Then, uninstall all modules on that page, reinstall each modules afterwards. Try to save your settings. This should rectify the issue.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by parkookk » Tue May 07, 2024 11:51 pm

In my case it was the OpenCart ads that was creating this issue. So with the help of my developer it's now fixed by the following code change:
File:
admin/controller/extension/extension/promotion.php

Find:
public function index() {

Add after:
return '';

I am using English OpenCart 3.0.3.8, Default Template/Theme, php 7.4, Latest Brave Browser (No Ads-Blocker, etc.)


User avatar
Active Member

Posts

Joined
Thu Jan 17, 2013 11:56 pm
Location - london

Post by paulfeakins » Wed May 08, 2024 10:17 pm

parkookk wrote:
Tue May 07, 2024 11:51 pm
In my case it was the OpenCart ads that was creating this issue. So with the help of my developer it's now fixed by the following code change:
File:
admin/controller/extension/extension/promotion.php

Find:
public function index() {

Add after:
return '';
Very good of you to update the topic with the fix!

Could you now add [SOLVED] to the start of the topic title?

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom
Who is online

Users browsing this forum: No registered users and 18 guests