chooch Posted September 12, 2005 Share Posted September 12, 2005 even if you are not using CCGV, Points reward or anything like that, please advise me on how to get rid of the extra 4 letters that appear in the URL after i press Redeem in the checkout_payment page ok, this is what the URL should look like when an empty coupon redeem button is hit on the checkout: catalog/checkout_payment.php?payment_error=ot_gv&error=You+did+not+enter+a+redeem+code. it should allow error messages to be displayed on top BUT this is what i am getting: catalog/checkout_payment.php?payment_error=ot_gv&error=You+did+not+enter+a+redeem+code. amp; appears for no reason just before the word 'error' means that i get the red error box but not the error messages please can someone advise me on how to fix this problem. many, many thanks. i have spent over 18 hours trying fix it but now just give up Upon receiving fixes and advice, too many people don't bother to post updates informing the forum of how it went. Until of course they need help again on other issues and they come running back! Why receive the information you require in good faith for free, only to then have the attitude to ignore the people who gave it to you? There's no harm in saying, 'Thanks, it worked'. On the contrary, it creates a better atmosphere. CHOOCH Link to comment Share on other sites More sharing options...
chooch Posted September 13, 2005 Author Share Posted September 13, 2005 even if you are not using CCGV, Points reward or anything like that, please advise me on how to get rid of the extra 4 letters that appear in the URL after i press Redeem in the checkout_payment page ok, this is what the URL should look like when an empty coupon redeem button is hit on the checkout: catalog/checkout_payment.php?payment_error=ot_gv&error=You+did+not+enter+a+redeem+code. it should allow error messages to be displayed on top BUT this is what i am getting: catalog/checkout_payment.php?payment_error=ot_gv&error=You+did+not+enter+a+redeem+code. amp; appears for no reason just before the word 'error' means that i get the red error box but not the error messages please can someone advise me on how to fix this problem. many, many thanks. i have spent over 18 hours trying fix it but now just give up <{POST_SNAPBACK}> anyone, please? Upon receiving fixes and advice, too many people don't bother to post updates informing the forum of how it went. Until of course they need help again on other issues and they come running back! Why receive the information you require in good faith for free, only to then have the attitude to ignore the people who gave it to you? There's no harm in saying, 'Thanks, it worked'. On the contrary, it creates a better atmosphere. CHOOCH Link to comment Share on other sites More sharing options...
♥Vger Posted September 13, 2005 Share Posted September 13, 2005 It looks as though your system is rendering the symbol '&' in its ASCII form, which is & (for 'ampersand'). Look for the code below in includes/functions/html_output.php if (tep_not_null($parameters)) { $link .= $page . '?' . tep_output_string($parameters); $separator = '&'; } else { $link .= $page; $separator = '?'; } It looks as though yours reads '&' instead of just '&' Vger Link to comment Share on other sites More sharing options...
chooch Posted September 13, 2005 Author Share Posted September 13, 2005 It looks as though your system is rendering the symbol '&' in its ASCII form, which is & (for 'ampersand'). Look for the code below in includes/functions/html_output.php if (tep_not_null($parameters)) { $link .= $page . '?' . tep_output_string($parameters); $separator = '&'; } else { $link .= $page; $separator = '?'; } It looks as though yours reads '&' instead of just '&' Vger <{POST_SNAPBACK}> you are a great help thanks to you i know now that the problem is happening because of the SEO URL's i installed the above code was replaced with this: function tep_href_link($page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true) { global $seo_urls; if ( !is_object($seo_urls) ){ if ( !class_exists('SEO_URL') ){ include_once(DIR_WS_CLASSES . 'seo.class.php'); } global $languages_id; $seo_urls = new SEO_URL($languages_id); } return $seo_urls->href_link($page, $parameters, $connection, $add_session_id); } i am trying to work on it now and have posted a message on the relevant support thread. if you can see what needs to done to fix it please let me know thanks again Rhea :-) Upon receiving fixes and advice, too many people don't bother to post updates informing the forum of how it went. Until of course they need help again on other issues and they come running back! Why receive the information you require in good faith for free, only to then have the attitude to ignore the people who gave it to you? There's no harm in saying, 'Thanks, it worked'. On the contrary, it creates a better atmosphere. CHOOCH Link to comment Share on other sites More sharing options...
♥Vger Posted September 13, 2005 Share Posted September 13, 2005 Sorry, I don't use Ultimeate SEO URL's. Vger Link to comment Share on other sites More sharing options...
Monk Posted July 26, 2006 Share Posted July 26, 2006 you are a great help thanks to you i know now that the problem is happening because of the SEO URL's i installed the above code was replaced with this: function tep_href_link($page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true) { global $seo_urls; if ( !is_object($seo_urls) ){ if ( !class_exists('SEO_URL') ){ include_once(DIR_WS_CLASSES . 'seo.class.php'); } global $languages_id; $seo_urls = new SEO_URL($languages_id); } return $seo_urls->href_link($page, $parameters, $connection, $add_session_id); } i am trying to work on it now and have posted a message on the relevant support thread. if you can see what needs to done to fix it please let me know thanks again Rhea :-) Was a Fix ever placed for the ampersand not being displayd as & in the URL? Having SEO urls running is messing up my payment errors. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.