Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2005
    Location
    Orlando, Fl
    Posts
    324
    Plugin Contributions
    0

    Default 1.5.6c Admin Configuration Converting Characters

    In Admin configuration I have noticed some fields that are converting some characters to html equivalents and then the html equivalents will get duplicated. For example in email options using this format -> Name 1 <email@address1>

    It will change the < > to
    Code:
     &lt; &gt;
    but then won't save them correctly.

    Anyone seen this?

    Thanks

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,672
    Plugin Contributions
    123

    Default Re: 1.5.6c Admin Configuration Converting Characters

    This is a known bug in 1.5.6. It is fixed in 1.5.7. Until that is available, you'll have to use phpMyAdmin to edit fields with special characters in them.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #3
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,672
    Plugin Contributions
    123

    Default Re: 1.5.6c Admin Configuration Converting Characters

    I wrote up the SQL statement you can use to set fields like CONTACT_US_LIST in this thread:

    https://www.zen-cart.com/showthread....-options-issue
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  4. #4
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: 1.5.6c Admin Configuration Converting Characters

    Quote Originally Posted by swguy View Post
    This is a known bug in 1.5.6. It is fixed in 1.5.7. Until that is available, you'll have to use phpMyAdmin to edit fields with special characters in them.
    You can also use the ZC admin's tools->install sql patches route and not have to login to phpmyadmin to assign those database values.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #5
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: 1.5.6c Admin Configuration Converting Characters

    Quote Originally Posted by swguy View Post
    This is a known bug in 1.5.6. It is fixed in 1.5.7. Until that is available, you'll have to use phpMyAdmin to edit fields with special characters in them.

    Anyone have a list of the code that was changed to correct this in 1.57 so we can rework it and get 1.56c working?
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base8 - Obsidian - This, is what's new.

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

    Default Re: 1.5.6c Admin Configuration Converting Characters

    @Twitch the whole configuration validation stuff was enhanced in 1.5.7 -- it's kinda hard to backport all of that to 1.5.6
    Some of the intermediate commits were buggy, so even following those doesn't provide a solid path to build a partial fix that doesn't require all the additional schema alterations that have been added.
    .

    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.

 

 

Similar Threads

  1. v156 htm speciall characters in configuration fields
    By brittainmark in forum Bug Reports
    Replies: 3
    Last Post: 11 Dec 2019, 04:05 PM
  2. v156 Configuration value not saving special characters
    By ntestinfo11 in forum Bug Reports
    Replies: 7
    Last Post: 9 Aug 2019, 04:12 PM
  3. image size configuration in admin/configuration
    By george_usa in forum Customization from the Admin
    Replies: 7
    Last Post: 17 Nov 2010, 09:51 AM
  4. Text Configuration - Strange Characters
    By imp_cha in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 7 Jul 2009, 10:33 AM
  5. Replies: 0
    Last Post: 7 Apr 2008, 07:13 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