Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Apr 2009
    Posts
    32
    Plugin Contributions
    0

    Default Desperate for help - Zen Cart / PHP 5 / UTF-8 issues

    We are desperate for help finding the problem in our Zen Cart store. We are using a Japanese language pack and everything was working great for almost 2 years, but our host decided to upgrade their PHP/MySQL version and suddenly the communication between the database and Zen Cart are not functioning in UTF-8 any longer.

    Everything displays correctly in phpMyAdmin, but shows up as "???" when loaded by the browser.

    Our setup:
    URL: http://lae.xtr.jp
    Zen Cart 1.3.8a with UTF-8/Japanese language pack
    PHP/MySQL 5.1.45

    What we have already tried:
    Restoring database from backup
    Doing fresh install
    Installed
    Upgrading to Zen Cart 1.3.9d (same problem)
    Installing website on a different server running PHP 5.0.45 and running all the same attempted fixes (same problem, so the issue is not the server)

    We greatly appreciate any assistance in tracking this problem down as our store is pretty much dead in the water until we get this fixed.

  2. #2
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

    Default Re: Desperate for help - Zen Cart / PHP 5 / UTF-8 issues

    This post may help:

    http://www.zen-cart.com/forum/showth...903#post896903

    Just change english.php to your language

    Interested to hear if you had success

  3. #3
    Join Date
    Apr 2009
    Posts
    32
    Plugin Contributions
    0

    Default Re: Desperate for help - Zen Cart / PHP 5 / UTF-8 issues

    Thank you for your response. Yes those files were all changed to UTF-8 for Japanese and iso-8859-1 for english long ago when we installed the language pack. I did try setting it to the other character set as you suggest, but the problem didn't occur until after updating to PHP/MySQL 5, so unfortunately that is not the problem (as much as I wish it were ;))

    Thank you again for your suggestion
    Last edited by gingabox; 12 Jun 2010 at 02:17 PM.

  4. #4
    Join Date
    May 2010
    Posts
    2
    Plugin Contributions
    0

    Default Re: Desperate for help - Zen Cart / PHP 5 / UTF-8 issues

    Did you check your database?

    Are those data in your database correct or not?

    The tables in your database are UTF-8 or not?
    Never Had A Dream Come True

    http://forums.hawebs.net/computer/

  5. #5
    Join Date
    Apr 2009
    Posts
    32
    Plugin Contributions
    0

    Default Re: Desperate for help - Zen Cart / PHP 5 / UTF-8 issues

    Hi Thank you for your reply.
    Yes, we did check the database and it is UTF-8 and the Japanese characters are displaying correctly in their respective entries.

    It seems to be a communication error between PHP 5.1.45 and Zen Cart

    Thank you again

  6. #6
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

    Default Re: Desperate for help - Zen Cart / PHP 5 / UTF-8 issues

    You may want to try and replicate this problem by installing your site on a local WAMP or XAMPP server.

    I know that in WAMP you can download and install various php versions (not sure about XAMPP). Then observe which php version (if any) plays up - so to speak..

    Important though to have exactly the same settings locally as you are having right now on your live server.

    It may be worth playing around with that to see if you are getting the same response.

  7. #7
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Desperate for help - Zen Cart / PHP 5 / UTF-8 issues

    have you upgraded your store to latest zencart version ?
    there has been some changed in query_factory.php , as result it needs separate php file to set the query in UTF 8 charset .

  8. #8
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

    Default Re: Desperate for help - Zen Cart / PHP 5 / UTF-8 issues

    Quote Originally Posted by tony_sar View Post
    have you upgraded your store to latest zencart version ?
    there has been some changed in query_factory.php , as result it needs separate php file to set the query in UTF 8 charset .
    gingabox upgraded to 1.3.9d - same result (see first post)

  9. #9
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Desperate for help - Zen Cart / PHP 5 / UTF-8 issues

    Look at this posting .

    http://www.zen-cart.com/forum/showthread.php?t=153582

    for 139x version of zencart

  10. #10
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

    Default Re: Desperate for help - Zen Cart / PHP 5 / UTF-8 issues

    Quote Originally Posted by tony_sar View Post
    Look at this posting .

    http://www.zen-cart.com/forum/showthread.php?t=153582

    for 139x version of zencart
    Good pointer - thanks mate, will keep that "on file"

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. UTF-8 Zen-Cart Tutorial for v1.3.x
    By CrystalKoi in forum Addon Language Packs
    Replies: 144
    Last Post: 17 Jan 2012, 02:15 PM
  2. Host upgraded PHP to 5 now UTF-8 vs Latin1 text encoding issues
    By dharma in forum Installing on a Linux/Unix Server
    Replies: 10
    Last Post: 15 Jan 2009, 05:09 PM
  3. Zen Cart with UTF-8 database
    By thewolf in forum General Questions
    Replies: 5
    Last Post: 19 Jul 2007, 12:37 PM
  4. PHP 5.x - Issues with Zen-Cart
    By rwoody in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 24 Aug 2006, 11:30 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR