Jump to content
JimJ

Module Not Activated

Recommended Posts

We cannot upgrade at present due to a "missing module" bug we have in 7.8.2 (testing in staging environment).
So going to have to wait and see what happens on Saturday nights billing run !
We have Paypal and Worldpay as fallback if needed but 50% of our clients are on Stripe now.

 

Share this post


Link to post
Share on other sites
2 minutes ago, WHMCS John said:

Hi @JimJ,

If you're referring to a "Module Not Found" error, this isn't a bug, but we are seeing a number of reports of this problem caused by after-market payment gateways.

Check out this help article for help resolving it: https://help.whmcs.com/m/90416/l/1142674-troubleshooting-a-module-not-found-error

Thanks John but i was not using a 3rd party module, i was and am using WHMCS Stripe integration.
The actual error i get is "Module Not Activated" , slightly different to the other one i assume.
I have turned on module logging and this issue produces no log there.
Stripe is activated in my Payment Gateways config and shows no error there.

7.7 works just fine, its only after a clean upgrade to 7.8.2 that this error shows. 
The error shows with a plain/out the box Six and StandardCart template used as well as one with any customisation.

Any help appreciated.

Share this post


Link to post
Share on other sites
2 minutes ago, WHMCS John said:

Where do you encounter the "Module Not Activated" error please?

cart.php?a=view

Share this post


Link to post
Share on other sites

Hi @JimJ,

Please share the output of this query:

SELECT * FROM `tblpaymentgateways` WHERE `setting` LIKE 'type';

 

 

Share this post


Link to post
Share on other sites
14 minutes ago, WHMCS John said:

Hi @JimJ,

Please share the output of this query:


SELECT * FROM `tblpaymentgateways` WHERE `setting` LIKE 'type';

 

 

 

 

  22 worldpayfuturepay type CC 4
  31 stripe type CC 1
  3 paypal type Invoices 2
  20 mailin type Invoices 0
           

Share this post


Link to post
Share on other sites

Hi @JimJ,

Thanks for that. Does that list contain all the payment gateway modules you have listed under Setup > Payments > Payment Gateways > All Active Gateways tab?

This error indicates a module is being loaded but doesn't contain the required settings in tblpaymentgateways.

Share this post


Link to post
Share on other sites
2 hours ago, WHMCS John said:

Hi @JimJ,

Thanks for that. Does that list contain all the payment gateway modules you have listed under Setup > Payments > Payment Gateways > All Active Gateways tab?

This error indicates a module is being loaded but doesn't contain the required settings in tblpaymentgateways.

No "Bank Transfer" is missing. 

Share this post


Link to post
Share on other sites

Hi @JimJ,

That will be the cause of the error. Version 7.8 has much more complex logic surrounding payment gateways, so has higher data integrity requirements.

Disabling the Bank Transfer gateway and then re-activating it will create the necessary records.

Share this post


Link to post
Share on other sites
On 9/13/2019 at 5:53 PM, WHMCS John said:

Hi @JimJ,

That will be the cause of the error. Version 7.8 has much more complex logic surrounding payment gateways, so has higher data integrity requirements.

Disabling the Bank Transfer gateway and then re-activating it will create the necessary records.

Thanks John but it refuses to deactivate. 
When you click deactivate nothings happens, just returns to the Payment Gateways screen and no yellow confirmation box.
Can i create the missing record in tblpaymethods? I can't find any related tables, tblhosting just has text "banktransfer" in the paymentmethod, doesn't appear to tie to any unique IDs.

 

 

Share this post


Link to post
Share on other sites

Never mind i have fixed it by adding this record to tblpaymentgateways:

ID - Gateway - Setting - Value - Order
43 - banktransfer - type - Invoices - 3

I assume that will not cause any issues with anything else related to this?

Share this post


Link to post
Share on other sites
On 9/13/2019 at 5:53 PM, WHMCS John said:

Hi @JimJ,

That will be the cause of the error. Version 7.8 has much more complex logic surrounding payment gateways, so has higher data integrity requirements.

Disabling the Bank Transfer gateway and then re-activating it will create the necessary records.

Can i trust the record i manually added to fix the issue is safe then John?
Just need to ensure its not going to break anything else as we will go live with the 7.8.2  update with the added record if you can assure me its a valid solution? 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated