rizi Posted July 15, 2012 Share Posted July 15, 2012 I updated my WHMCS to 5.12 version and I get 406 error in some pages like "View Cart" page and invoice page. I restored back to 5.03 and It's fine. How to fix it?Thanks! 0 Quote Link to comment Share on other sites More sharing options...
rizi Posted July 15, 2012 Author Share Posted July 15, 2012 Visit admin/configgateways.php get this 406 error too. And I check gateway logs found IPN Handshake Invalid error information. 0 Quote Link to comment Share on other sites More sharing options...
mfc_plus Posted July 22, 2012 Share Posted July 22, 2012 Any fixes i have this error too? any mods here? 0 Quote Link to comment Share on other sites More sharing options...
stephenmonk Posted January 16, 2013 Share Posted January 16, 2013 Same issues for me. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS JamesX Posted January 16, 2013 Share Posted January 16, 2013 (edited) 406 is a somewhat vague error that can be caused by a number of reasons. Check the Apache error logs; it could be related to mod_security. Try different Web browsers on different computers; does the issue happen on all browsers on all computers? Edited January 16, 2013 by WHMCS JamesX 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Chris Posted January 16, 2013 Share Posted January 16, 2013 406 is a somewhat vague error that can be caused by a number of reasons. Check the Apache error logs; it could be related to mod_security. Try different Web browsers on different computers; does the issue happen on all browsers on all computers? +1 for this. We'll definitely need more detail, but specifically from the Apache(or other webserver) error logs. 0 Quote Link to comment Share on other sites More sharing options...
stephenmonk Posted January 19, 2013 Share Posted January 19, 2013 Found this in the CallBack error log: [10-Jan-2013 11:28:21 UTC] PHP Fatal error: Cannot redeclare paypal_email_trim() in /home/noverush/public_html/portal/modules/gateways/paypal.php on line 41 Didn't see anything glaring in the apache logs. It seems it is only related to PayPal items. For example, when I go to invoices and view invoices by Credit Card it opens just fine. Click one processed by PayPal and it gives the 406 error. 0 Quote Link to comment Share on other sites More sharing options...
stephenmonk Posted January 19, 2013 Share Posted January 19, 2013 Also, I just tried to get to the Configure Gateways section and it won't allow me in to modify anything. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Chris Posted January 19, 2013 Share Posted January 19, 2013 Found this in the CallBack error log: [10-Jan-2013 11:28:21 UTC] PHP Fatal error: Cannot redeclare paypal_email_trim() in /home/noverush/public_html/portal/modules/gateways/paypal.php on line 41 Didn't see anything glaring in the apache logs. It seems it is only related to PayPal items. For example, when I go to invoices and view invoices by Credit Card it opens just fine. Click one processed by PayPal and it gives the 406 error. Interesting that it return the exact line. What's the domain that's having the problem? 0 Quote Link to comment Share on other sites More sharing options...
stephenmonk Posted January 19, 2013 Share Posted January 19, 2013 portal.noverushosting.com is the site. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS JamesX Posted January 19, 2013 Share Posted January 19, 2013 The line number isn't all that interesting and is expected as part of the error message displayed. That error message means that theres another file which WHMCS is including prior to the inclusion/processing of "modules/gateways/paypal.php" which has already defined the paypal_email_trim function. Assuming that this wasn't an issue prior to the upgrade, my first thought would be that after the upgrade you ended up with some duplicate files. This may have been on purpose or by accident, but ensure that you don't have any duplicate copies of it (or any other modules really); either with the original filenames and/or renamed. If you do, move them out of your public_html area and/or delete the old ones. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Chris Posted January 29, 2013 Share Posted January 29, 2013 The line number isn't all that interesting and is expected as part of the error message displayed. My interest in the line number was encoded files won't report the errorirng line, it will typically just display "Error at line 0". 0 Quote Link to comment Share on other sites More sharing options...
ADz83 Posted March 13, 2013 Share Posted March 13, 2013 I'm also getting IPN Handshake Invalid in gateway log and randomly invoices are not getting marked as paid. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Chris Posted March 13, 2013 Share Posted March 13, 2013 I'm also getting IPN Handshake Invalid in gateway log and randomly invoices are not getting marked as paid. Support ticket sounds appropriate for this Be sure to include your WHMCS login details to expedite your resolve. 0 Quote Link to comment Share on other sites More sharing options...
hostEONS Posted March 14, 2013 Share Posted March 14, 2013 support tickets are also not helping, i've unanswered support tickets since so many hours, now it's almost 24 hours and my site is still without live chat I've provided ftp details, whmcs details but still instead of fixing you guys just keep giving the patches to apply and even after i apply the patches it still does not work, why don't you just do the effort of logging in and applying the patch yourself and test it instead of delaying things ? 0 Quote Link to comment Share on other sites More sharing options...
ADz83 Posted March 17, 2013 Share Posted March 17, 2013 Support ticket sounds appropriate for this Be sure to include your WHMCS login details to expedite your resolve. I already have created ticket but I do not feel comfortable giving out that kind of info or giving access to client data, even to WHMCS or its staff. I have also used a patch that I was provided but hasn't solved anything. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.