Jump to content

Updated to 5.12 get 406 error.


rizi

Recommended Posts

  • 5 months later...

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 by WHMCS JamesX
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...

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 ?

Link to comment
Share on other sites

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.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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