Post by Daniel » Thu Jun 11, 2009 6:59 pm

m,ake sure you don;t have parse time on and make sure that your hosting is not running some hidden tracking script in the background.

User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by hitu_125 » Fri Jun 12, 2009 5:43 pm

I asked my hosting company , they told me that they are not running any tracking script and also checked and verified the parse time. Still I am facing problem on different language the image capture for review page doesn't appear. Thanks for your time Daniel, and suggest some another solution. I appreciate your efforts.

Newbie

Posts

Joined
Thu Apr 30, 2009 11:59 am

Post by Daniel » Fri Jun 12, 2009 7:09 pm

go to viewe the image url directly and see if there are any errors.

also checko your error log.

this is a server config error not opencart's

User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by andychoi » Sun Jun 14, 2009 10:39 am

Dear All,

When I submit a Chinese character, it become a questuion mark. (e.g product name)
may I know any soultion for it? I am sure the MYSQL has setup with UTF-8 and the phpMyAdmin is Chinese version. Many thanks.
Andy

Newbie

Posts

Joined
Sun Jun 14, 2009 10:32 am

Post by readyman » Mon Jun 15, 2009 9:25 pm

Check your PHP settings - you need to have Simplified chinese support enabled & Traditional chinese support enabled for PHP to render any chinese characters properly using GD.
You also need to have UTF-8 support in PHP - check with your host.

http://www.alreadymade.com
Follow me on twitter.com/alreadymade


User avatar
Global Moderator

Posts

Joined
Wed May 20, 2009 5:16 am
Location - Sydney

Post by andychoi » Wed Jun 17, 2009 10:13 pm

Daniel wrote:go to viewe the image url directly and see if there are any errors.

also checko your error log.

this is a server config error not opencart's
HI Daniel,

thanks for reply.
1.) when I create 2 simple PHP page, test1.php and test2.php, the chinese chacater can pass between 2 pages no problem. No need to write any <Meta tag or UTF-8
it means my PHP and mySQL is working well with Chinese UTF-8.
Also, if I use phpMyAdmin insert directly, it working fine too..

2.) I try to View-Source the http://www.store-fourseasons.com/opencart/
and it can encode as zh-tw
May I know how to modify the 3rd line?

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="zh-TW" xml:lang="zh-TW">

I aslo like to add this line right after <title> if possible.. tanks
<meta http-equiv="Content-Type"
content="text/html; charset=utf-8" />

3.) I try modify the product.php and put Chinese to the source , and it display question mark too after save.

$this->db->query("INSERT INTO product_description SET product_id = '" . (int)$product_id . "', language_id = '" . (int)$language_id . "', name = '', meta_description = '" . $this->db->escape(@$value['meta_description']) . "', description = '金'");
thank for help.



This is suh a greate prodcut, many thanks

Newbie

Posts

Joined
Sun Jun 14, 2009 10:32 am

Post by netgen » Mon Jun 14, 2010 3:03 pm

Just started learning 1.4.7 two weeks ago, and now the 1.4.8

I got the same problem as has been mentioned in the first post. Such problem does not occur in English language. In my case, it is traditional Chinese (UTF-8) :

"It works well in Firefox 3.0 but I found out later in IE the middle table of the "Latest Products" will drop under the "Information" table. "

Making following changes in header.tpl, I was able to get around the problem in IE7 & IE8

was :
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/ie6.css" />

is :
<!--[if lte IE 8]>
<link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/ie6.css" />

So, it seems some fixes for IE 6 are still required for IE7 & IE8. Hope some CSS experts can further improve the stylesheet for IE.

May be we need ie7.css and ie8.css to handle these two version of IE.

Newbie

Posts

Joined
Sat Jun 12, 2010 11:10 am

Post by ericnmk80 » Tue Mar 13, 2012 4:09 am

Actually, I solve the problem. You just need to make sure your database type is a "utf8_general_ci" Collation.

1) Go to your PhpMyAdmin. It should be your "http://localhost/phpmyadmin". Login.
2) Choose your Database.
3) Click on Operations Tab. Scroll down and choose Collation "utf8_general_ci"
4) Click on Go.

Walla..... It's Done.

Thank You everyone.

Regards,
Eric Ng Ming Keong
Programmer & Analyst
e-Tamogatasi

** p/s : If it works, Please reply that it works and alert everyone. Thanks **

Newbie

Posts

Joined
Tue Mar 13, 2012 4:06 am
Who is online

Users browsing this forum: Majestic-12 [Bot] and 85 guests