406 error when submitting offline donation in 2.7

More
13 years 6 months ago #5250 by d m
Hi
my site is giving a 406 and 404 error when processing offline line donations.
almaunfund.org/index.php?option=com_jdon...=donation&Itemid=204
I am getting the emails that confirm it has been received.

I saw a similar post in the forum but not public fix posted.

Thanks!

Please Log in or Create an account to join the conversation.

More
13 years 6 months ago #5269 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: 406 error when submitting offline donation in 2.7
Hi

This issue is strange and happens with some clients (3 clients so far). Strange thing is that the URL is correct, but the server still gives the 406 errors . To fix it, please open the file components/com_jdonation/payments/os_offline.php, look at line 32 :
Code:
$url = JRoute::_('index.php?option=com_jdonation&view=complete&id='.$row->id.'&Itemid='.$Itemid);

Change it to :
Code:
$url = JRoute::_('index.php?option=com_jdonation&view=complete&id='.$row->id.'&Itemid='.$Itemid, false);


After that, the issue will be fixed .

Thanks,

Tuan

Please Log in or Create an account to join the conversation.

More
13 years 6 months ago #5293 by d m
Hi Tuan,
Thank you for the easy fix!

Please Log in or Create an account to join the conversation.

More
13 years 4 months ago #6110 by zoomlanski
Hi Tuan

Looks like I'm getting the same error for offline and online event registrations

Tim

test.paramediccompetition.ca/index.php?o...id=26&Itemid=210

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamDũng Nguyễn Việt