Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2007
    Posts
    151
    Plugin Contributions
    0

    help question Weird Code and trying edit old body data but opens erased

    I'm having two issues after upgrading my site to the latest version from 1.37 to 1.5.1.

    When I copy from crimson editor or notepad I get these strange symbols  to pop up through out the body.

    example
    http://www.sullivanvitamins.com/inde...oducts_id=6913

    Also when I click to edit a product's information that is display on the public view such as product description it is empty on the admin side.

    What is causing these issues?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Weird Code and trying edit old body data but opens erased

    Set your 1.5.1 to use the old CHARSET you were using in 1.3.x:
    http://www.zen-cart.com/content.php?...8859-1-to-utf8
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Apr 2007
    Posts
    151
    Plugin Contributions
    0

    Default Re: Weird Code and trying edit old body data but opens erased

    Sorry but what is the exact folder these are located in as there is more than one.

    PHP Code:
    Do I need to convert to UTF-8?
     If 
    your site IS RUNNING or you  have UPGRADED FROM an older version of Zen Cart where your  language  files are/were set to iso-8859-1, and you don't have any specific  need  for extended-character multibyte support (for example your store is   only in english and only english-speaking customers visit your store),  then you may find it best to keep your site in iso-8859-1 (aka "latin1") mode instead of converting to UTF8. 

    To  do this, you'
    ll need to fix BOTH your admin and non-admin files:
    Edit your upgraded english.php file to use the  old CHARSET and setlocale settings (SEE YOUR OLD english.php FILE CONTENTS).
    That isKEEP the old references to iso-8859-1 INSTEAD of utf-8.
    ... AND ...Also edit your two configure.php  files to set DB_CHARSET to 'latin1' instead of 'utf8' 
    (add the line if it doesn't exist): 
      define('
    DB_CHARSET', 'latin1'); 

  4. #4
    Join Date
    Apr 2007
    Posts
    151
    Plugin Contributions
    0

    Default Re: Weird Code and trying edit old body data but opens erased

    Sorry for the bump but it looks like the admin english.php was causing the problems as the two english.php I opened up in public folders were still iso-8859-1.
    Last edited by gws76; 30 Apr 2013 at 01:56 AM. Reason: added info

 

 

Similar Threads

  1. Adding Code to HEAD and BODY tags?
    By redpanda in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 3 Nov 2021, 12:02 PM
  2. Ye Old Upgrade - Archiving and Removing Old Data, etc.
    By chadderuski in forum Upgrading to 1.5.x
    Replies: 1
    Last Post: 4 Sep 2012, 08:25 AM
  3. Fresh install but old data
    By hamid84 in forum Installing on a Linux/Unix Server
    Replies: 11
    Last Post: 4 Oct 2010, 09:55 AM
  4. Replies: 8
    Last Post: 10 Jul 2009, 10:27 AM

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