- Posts: 60
- Thank you received: 0
*Bug Fix 406 Error with Offline Payment
- zoomlanski
- Topic Author
- Offline
- Senior Member
-
Less
More
15 years 1 month ago #6115
by zoomlanski
*Bug Fix 406 Error with Offline Payment was created by zoomlanski
I had the same error as this with offline event registration:
joomdonation.com/index.php?option=com_ku...iew&catid=10&id=5250
I added the false to the end of the line to solve
$url = JRoute::_('index.php?option=com_eventbooking&view=complete&id='.$row->id.'&Itemid='.$Itemid, false);
Tim
joomdonation.com/index.php?option=com_ku...iew&catid=10&id=5250
I added the false to the end of the line to solve
$url = JRoute::_('index.php?option=com_eventbooking&view=complete&id='.$row->id.'&Itemid='.$Itemid, false);
Tim
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
15 years 1 month ago #6116
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: *Bug Fix 406 Error with Offline Payment
Hi Tim
Infact, this is not a bug. The purpose of the second parameter of the function is set to true or false (true by default) .
1. If set to True, Joomla will replace & character in the url to & to make the url XHTML compatible .
2. If set to false, Joomla will keep the original url .
On some special server (like yours), the server doesn't like the XHTML variable, and causes the error (please note that the function is used widely in Joomla core code) .
I had two or three clients got the problem like this before, It works fine for the rest clients .
Thaks,
Tuan
Infact, this is not a bug. The purpose of the second parameter of the function is set to true or false (true by default) .
1. If set to True, Joomla will replace & character in the url to & to make the url XHTML compatible .
2. If set to false, Joomla will keep the original url .
On some special server (like yours), the server doesn't like the XHTML variable, and causes the error (please note that the function is used widely in Joomla core code) .
I had two or three clients got the problem like this before, It works fine for the rest clients .
Thaks,
Tuan
Please Log in or Create an account to join the conversation.
- zoomlanski
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 60
- Thank you received: 0
15 years 1 month ago #6117
by zoomlanski
Replied by zoomlanski on topic Re: 406 Error with Offline Payment
Interesting. This is the first time I've come across something like this.
Am I ok to use the fix that I did?
Am I ok to use the fix that I did?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
15 years 1 month ago #6118
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: 406 Error with Offline Payment
Yes, certainly !
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2026 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.