Page 7 of 23 FirstFirst ... 5678917 ... LastLast
Results 61 to 70 of 225
  1. #61
    Join Date
    Oct 2010
    Posts
    5
    Plugin Contributions
    0

    Default Re: HTML tags show after upgrade to 1.3.9g

    Quote Originally Posted by DrByte View Post
    Making the changes discussed in this thread can't break the storefront, since they're only applicable to the admin side.

    You must have something else wrong in your storefront files.
    ref: https://www.zen-cart.com/tutorials/index.php?article=82
    This is a brand new install. I installed it less than an hour ago, and the first change I'm trying to make to the store is the Main Page text. If I delete the extra_white_list.php file, the site works again (albeit the HTML tags are not rendered). If I upload it again, the site breaks.

    I've even tried uploaded this new file to /includes/extra_configures and /admin/includes/extra_configures... and whenever I upload it either, that section of the site breaks... if its in the admin/includes/extra_configures folder, the admin sections breaks... if its in the /includes/extra_configures folder

    The ONLY change I'm making is uploading this new whitelists file... if it's there, the site doesn't render and that FAQ didn't help because the site doesn't even generate any errors.

  2. #62
    Join Date
    Jan 2004
    Posts
    66,391
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: HTML tags show after upgrade to 1.3.9g

    The correct location is under /admin/includes/extra_configures/
    And if that's causing the admin to break, then you've got bad content in the file. Again, see the link I posted to you previously.
    Maybe your copy+paste isn't reliable on your PC?
    .

    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. #63
    Join Date
    Oct 2010
    Posts
    5
    Plugin Contributions
    0

    Default Re: HTML tags show after upgrade to 1.3.9g

    Quote Originally Posted by DrByte View Post
    The correct location is under /admin/includes/extra_configures/
    And if that's causing the admin to break, then you've got bad content in the file. Again, see the link I posted to you previously.
    Maybe your copy+paste isn't reliable on your PC?

    Thank you -- for some inexplicable reason, my copy and paste was adding \ at the end of every line, but it wasn't showing in Notepad. I opened the file up in Dreamweaver to look at the code and saw the extra \'s... I rebooted the computer and it stopped doing that.

    Thanks!

  4. #64
    Join Date
    Jan 2004
    Posts
    66,391
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: HTML tags show after upgrade to 1.3.9g

    Most "editor" software written by microsoft is going to do that to you.

    Better to use Notepad++ as a solid free replacement for MS Notepad.

    http://notepad-plus.sf.net
    .

    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.

  5. #65

    Default Re: HTML tags show after upgrade to 1.3.9g

    after being kindly guided to this thread i added the file and the define page issue was resolved.

    It hasn't resolved the same problem in the news and article mod manager.

    Articles created there are showing as source HTML on the store side.

    Any ideas?

  6. #66
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: HTML tags show after upgrade to 1.3.9g

    Quote Originally Posted by DVDTitan
    It hasn't resolved the same problem in the news and article mod manager.
    Article manager is not in the white list...

    NOTE: THE FOLLOWING CODE HAS/MAY HAVE BEEN SUPERCEDED BY THIS POST: http://www.zen-cart.com/forum/showth...839#post941839

    Not familiar with that 3rd party mod, I do not know the variable to add to
    Code:
    $my_whitelist  = array('file_contents', 'banners_html_text', 'pages_title', 'message_html');
    Last edited by Ajeh; 3 Oct 2010 at 05:45 PM. Reason: add link to post with current settings
    Zen-Venom Get Bitten

  7. #67
    Join Date
    Aug 2010
    Posts
    8
    Plugin Contributions
    0

    Default Re: HTML tags show after upgrade to 1.3.9g

    Great fix.. It was weird. My site was displaying the html just fine up until today... I upgraded a few days ago and now it works again! Thanks for the info!

  8. #68

    Default Re: HTML tags show after upgrade to 1.3.9g

    Quote Originally Posted by kobra View Post
    Article manager is not in the white list...

    NOTE: THE FOLLOWING CODE HAS/MAY HAVE BEEN SUPERCEDED BY THIS POST: http://www.zen-cart.com/forum/showth...839#post941839

    Not familiar with that 3rd party mod, I do not know the variable to add to
    Code:
    $my_whitelist  = array('file_contents', 'banners_html_text', 'pages_title', 'message_html');
    Thanks for this, what info am i looking for in the news and article mod files to add to the white list file?

  9. #69
    Join Date
    Jan 2004
    Posts
    66,391
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: HTML tags show after upgrade to 1.3.9g

    The <input> field name of the content that you're saying is mangled.
    .

    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.

  10. #70

    Default Re: HTML tags show after upgrade to 1.3.9g

    Quote Originally Posted by DrByte View Post
    The <input> field name of the content that you're saying is mangled.
    Looking at the news.php file could it be this?

    $news_article_text = zen_db_prepare_input($_POST['news_article_text'][$lang['id']]);

 

 
Page 7 of 23 FirstFirst ... 5678917 ... LastLast

Similar Threads

  1. Replies: 25
    Last Post: 15 May 2010, 06:20 AM
  2. Replies: 11
    Last Post: 23 Nov 2009, 02:57 AM
  3. Replies: 5
    Last Post: 22 Jan 2009, 10:23 AM
  4. Replies: 4
    Last Post: 7 Jul 2008, 12:04 AM
  5. No HTML Editor after 1.3.6 upgrade
    By KADesign in forum Upgrading from 1.3.x to 1.3.9
    Replies: 13
    Last Post: 8 Nov 2006, 04:24 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