Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Credit card error showing blank red box.


dswofford

Recommended Posts

Please don't bump your posts without including some additional information.

 

Can you provide some details about the platform you're running on? Windows or Linux server? Is this the default credit card module? Have installed any contributions that affect URLs? Are you using any Apache modules that would affect URLs?

Chris Dunning

osCommerce, Contributions Moderator Team

 

Please do not send me PM! I do not read or answer these often. Use the email button instead!

 

I do NOT support contributions other than my own. Emails asking for support on other people's contributions will be ignored. Ask in the forum or contact the contribution author directly.

Link to comment
Share on other sites

Please don't bump your posts without including some additional information.

 

Can you provide some details about the platform you're running on? Windows or Linux server? Is this the default credit card module? Have installed any contributions that affect URLs? Are you using any Apache modules that would affect URLs?

 

sorry about the bump I saw others do it and wasnt aware... I am running on linux. I am using authorize.net 1.7 with mu curl compiled. I am using the ultimate seo contribution by chemo along with the mod rewrites he specifies in there

Options +FollowSymLinks
RewriteEngine On 
RewriteBase /

RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-m-(.*).html$ index.php?manufacturers_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pi-(.*).html$ popup_image.php?pID=$2&%{QUERY_STRING}
RewriteRule ^(.*)-t-(.*).html$ articles.php?tPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-a-(.*).html$ article_info.php?articles_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pr-(.*).html$ product_reviews.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pri-(.*).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-i-(.*).html$ information.php?info_id=$2&%{QUERY_STRING}

 

Thanks for any help you can provide I already tried a previous suggestion by stevel bit it didnt work it was the following:

ou can replace this line in seo_class.php:

CODE
return htmlspecialchars(utf8_encode($link));

with:
CODE
return $link;


in fact, that's how I have my store running since I didn't like other things it was doing.

Link to comment
Share on other sites

I think stevel was on the right track. What was the result when you tried his suggestion? Can you take a screenshot of that?

 

Try changing some things about that line to see if they fix the problem. I would try:

return utf8_encode($link);

If that doesn't work, try:

echo $link;

This will produce an error message, but will allow you to see what the text is before it's run through those functions. If you see the "& amp" in that text, the problem is somewhere higher up.

Chris Dunning

osCommerce, Contributions Moderator Team

 

Please do not send me PM! I do not read or answer these often. Use the email button instead!

 

I do NOT support contributions other than my own. Emails asking for support on other people's contributions will be ignored. Ask in the forum or contact the contribution author directly.

Link to comment
Share on other sites

I think stevel was on the right track. What was the result when you tried his suggestion? Can you take a screenshot of that?

 

Try changing some things about that line to see if they fix the problem. I would try:

return utf8_encode($link);

If that doesn't work, try:

echo $link;

This will produce an error message, but will allow you to see what the text is before it's run through those functions. If you see the "& amp" in that text, the problem is somewhere higher up.

 

 

I tried his again plus your two suggestions. still the same thing happening. I cleared my caches etc...

echo $link;

kinf of messed up everything I couldnt even get to the checkout page. I sill get the empty box and the url at the top is the same. and this only happens with credit cards with the wrong info. if I do wrong email or address it prompts correctly.

 

 

echo $link;

produced this...

 

error2.jpg

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...