Jump to content

Issue with unpaid invoices


supernix

Recommended Posts

Hello,

I need some serious help bad. I was running the site fine with WHMCS 5.3.14

I deciced to upgrade the site to the WHMCS 6.2 and now after the upgrade people can't pay their invoices. It works okay to view paid invoices, and even canceled ones.

Every single time I go to the site to view a unpaid invoice I get this error:

Fatal error: Cannot redeclare loadgatewaymodule() in /home/USERNAME/public_html/includes/gatewayfunctions.php on line 6291482

I have tried starting with a fresh install of WHMCS which gives me the same error, I have upgraded the PHP to 5.5.31, even tried upgrading the Ioncube loader to the latest version as well in hopes that it would work.

 

I had tried the site with no addons that don't come with WHMCS, and I tried it with all the addons I use, again same results.

 

They managed to get it working on their cPanel test machine, but as of yet nobody has been able to tell me what to do to fix the issue. I am coming here in hopes that somebody out of the crowd can tell me what might be the issue.

As I stated I have already submitted a ticket and this has been going on for days trying to get this resolved.

Kind regards,

Steve Hagerman

Link to comment
Share on other sites

Do you have xcache enabled? A quick google should some previous posts with a similar error. The solutions posted were disabling xcache and/or upgrading to the latest version.

 

No, but thanks for the reply though. I tried that first, then the WHMCS support people worked on that as well.

 

This is a most perplexing issue, that so far nobody has been able to resolve.

Link to comment
Share on other sites

Here is the actual response to how the issue was fixed by the cPanel Technician:

Hello,

 

 

There was a bad value in /home/USERNAME/public_html/php.ini

I moved the file out of the way the invoice started loading without issue.

After further investigation I was able to isolate the cause, I changed:

 

 

xcache.cacher="On"

to

xcache.cacher="Off"

 

 

The site now loads with the php.ini in place.

 

 

Please let me know if you have any further questions or concerns.

 

 

Regards,

 

I was blown away when I hit F5 and it was working again. I feel like it is Christmas all over again.

Link to comment
Share on other sites

No, but thanks for the reply though. I tried that first, then the WHMCS support people worked on that as well.

 

This is a most perplexing issue, that so far nobody has been able to resolve.

 

So it was xcache after all? Changing xcache.cacher="Off" means it's now disabled.

 

Glad to hear it's sorted :)

Link to comment
Share on other sites

So it was xcache after all? Changing xcache.cacher="Off" means it's now disabled.

 

Glad to hear it's sorted :)

 

See the odd thing about that is that I rebuilt PHP, and Apache multiple times with Apache3 and disabled xcache in the configuration, so you would think that would have killed any chance of it being an xcache issue. It appears not by what the guy told me.

 

Everything is working fine after what he did.

 

The think I got to thinking about later that didn't make sense as well was when I look at my PHP configuration it says the ini file is located at:

 

Configuration File /usr/local/lib/php.ini

 

I would have thought if it was reading that file then that would be the only file that mattered.

 

:?:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

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