close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Error Add to Cart

Thread began 4/12/2009 10:06 pm by nguyenphattai376810 | Last modified 1/05/2010 10:00 am by Ray Borduin | 2121 views | 9 replies |

nguyenphattai376810

Error Add to Cart

When you click Add to Cart button to add a product to cart if the product name has characters such as ầ Unicode characters , the cart landing lose formatting. How to cart understands unicode font? please just fix.

Thank you.

Sign in to reply to this post

Ray BorduinWebAssist

You probably just need to use the correct charcode on your html page to support the characters you are using. Do you have a sample page demonstrating the problem?

Sign in to reply to this post

nguyen376810

Error Add to Cart

When the product name with character ầ (code 109) will crash when click the button Add to cart.

My Site: index.php?mod=loctin&loctin=5

How do I fix this?

Thank you

Sign in to reply to this post

Ray BorduinWebAssist

try adding the charset definition to the page with the add to cart button in the <head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

Sign in to reply to this post

nguyen376810

Error Add to Cart

All page was set charset = UTF-8 but still failed

Sign in to reply to this post

Ray BorduinWebAssist

All it does is stores the values in the Session. I can't imagine why it would mangle it.

If you simply store and retrieve a session variable with these characters outside of eCart does it demonstrate the same problem?

I think at this point you need to debug exactly where the problem is occurring. Since it appears it happens when you add to the cart it is possible it is a general problem with storing those values in the session. I would test that first.

Sign in to reply to this post

nguyen376810

Error Add to Cart

If I enter the characters "&#7846;" uppercase when added to cart will not fail also enter lowercase will fail. When saving names in the database product SQL code of 2 characters is also different. So we must handle the input will be converted into characters or flowers at the end of the data will move from character to character usually flowers and then add it to the new cart? Or we must handle session variables to understand the characters lowercase it?

Sign in to reply to this post

Ray BorduinWebAssist

I'm afraid I am not familiar with this problem, so I don't know the solution. You might try different character encoding settings besides utf-8.... anybody else have experience with this problem?

Sign in to reply to this post

info369746

Same error expericenced

Hello Ray,

Yes, I do experience the same problem. Mine is caused by the 'ç' character. The error happens on line 483 of WA_eCart_Definition_PHP.php:

$theItemArray = explode("§",$theCartString);

$theCartString is not "exploded" correctly and messes up the rest of execution.

I am going to try to solve the problem by converting special characters to HTML entities before feeding it to the database, but there is definitely a bug to solve in this portion of code with languages that use special entities.

Sign in to reply to this post

Ray BorduinWebAssist

I have opened a support incident in order to investigate this issue further. It sounds like it could be a bug we will need to look into.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...