WHMCS Xcache mystery.

78 views
Skip to first unread message

Phillip

unread,
Jun 6, 2016, 8:36:14 PM6/6/16
to XCache
We use WHMCS for our billing system. Xcache seems to work fine everywhere else on our server but there is a specific issue that popped up in the latest versions of WHMS. We have had CPANEL support take a look at the issue and we have had WHMCS take a look at the issue and both of them say it is a problem with xcache itself since disabling xcache solves the issue. 

It seems that if xcache is enabled you will get server 500 errors when attempting to view invoices. 
The PHP Error is: 
Fatal error: Cannot redeclare loadgatewaymodule() in /home/USERNAME/public_html/includes/gatewayfunctions.php on line 6291482 

This is a small file and so there can't be 6 million lines. I would investigate but WHMCS has their code locked down with ioncube.

The only solution right now is to turn of xcache which we would rather not do anymore. Below are other people with the same issue.

Xuefer

unread,
Jun 6, 2016, 10:45:14 PM6/6/16
to xca...@googlegroups.com
I know the direct cause but I don't know how to reproduce it. it fail
to replace __FILE__ or __DIR__ into current runtime correct path, but
why

On 6/7/16, Phillip <ph...@goinvictus.com> wrote:
> We use WHMCS for our billing system. Xcache seems to work fine everywhere
> else on our server but there is a specific issue that popped up in the
> latest versions of WHMS. We have had CPANEL support take a look at the
> issue and we have had WHMCS take a look at the issue and both of them say
> it is a problem with xcache itself since disabling xcache solves the issue.
>
>
> It seems that if xcache is enabled you will get server 500 errors when
> attempting to view invoices.
> The PHP Error is:
> *Fatal error: Cannot redeclare loadgatewaymodule() in
> /home/USERNAME/public_html/includes/gatewayfunctions.php on line 6291482*
>
> This is a small file and so there can't be 6 million lines. I would
> investigate but WHMCS has their code locked down with ioncube.
>
> The only solution right now is to turn of xcache which we would rather not
> do anymore. Below are other people with the same issue.
>
> http://forum.whmcs.com/showthread.php?110447-Issue-with-unpaid-invoices
> http://www.webhostingtalk.com/showthread.php?t=1543394
> https://forum.whmcs.com/showthread.php?96863-order-cart-issue
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "XCache" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to xcache+un...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
Message has been deleted

Phillip

unread,
Jun 7, 2016, 6:18:04 PM6/7/16
to XCache
Don't know either. We will try asking WHMCS for a copy of the gatewayfunctions.php file.

Reply all
Reply to author
Forward
0 new messages