Page 2 of 23 FirstFirst 123412 ... LastLast
Results 11 to 20 of 225
  1. #11
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,289
    Plugin Contributions
    22

    Default 1.39.g Define pages not longer printing as html

    Define page are no longer printing html to the page but printing out the source code. I did copy changed files over into the zip file I have been using for 1.3.f. Someone please check to see if it's something I did or something in this new release.

    The language file itself does not contain pure html. the brackets are not < or > but the &lt; tags instead/

    It's fine until you go to edit the page.
    Last edited by delia; 30 Sep 2010 at 11:35 PM.
    The full-time Zen Cart Guru. WizTech4ZC.com

  2. #12
    Join Date
    May 2009
    Posts
    68
    Plugin Contributions
    0

    Default Re: 139g weird problem define pages editor

    Quote Originally Posted by wilt View Post
    Are you talking about the define pages, or some other preview ???
    As NFM, I've got the same problem. Your whitelist fix works fine for define pages, but not for the preview of product pages (when adding or updating a product).

    When I add/update a product it's really helpful to see the "real" version, not the HTML-clutter.

  3. #13
    Join Date
    May 2009
    Posts
    68
    Plugin Contributions
    0

    Default Re: 1.39.g Define pages not longer printing as html

    Quote Originally Posted by delia View Post
    Define page are no longer printing html to the page but printing out the source code. I did copy changed files over into the zip file I have been using for 1.3.f. Someone please check to see if it's something I did or something in this new release.

    The language file itself does not contain pure html. the brackets are not < or > but the &lt; tags instead/

    It's fine until you go to edit the page.

    http://www.zen-cart.com/forum/showpo...08&postcount=8

    Just create a file called xss_whitelist.php in "admin/includes/extra_configures" and paste that code above. Works fine for me.

  4. #14
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,289
    Plugin Contributions
    22

    Default Re: HTML tags show after upgrade to 1.3.9g

    I got 8 sites I upgraded already today. Creating a whole 'nother file that will be obsolete soon is not a great option for me. The question is whether the permanent fix will be posted here so I can do it right.

    I jumped on this release and have quite a few other sites to upgrade since there seemed to be so many security fixes in it. I'm now in limbo.
    The full-time Zen Cart Guru. WizTech4ZC.com

  5. #15
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,289
    Plugin Contributions
    22

    Default Re: HTML tags show after upgrade to 1.3.9g

    And reading back thru this thread (I had started a new thread) I also need to say that this is affecting my sites on the pages themselves:

    for example

    http://soldierhollowclassic.com/shop...age=contact_us
    The full-time Zen Cart Guru. WizTech4ZC.com

  6. #16
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: HTML tags show after upgrade to 1.3.9g

    After adding the patch ... what happens if you just edit and save the:
    /includes/languages/english/html_includes/your_template_dir/define_contact_us.php

    in your Tools ... Define Page Editor ...

    NOTE: you should be using template and overrides for these
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #17
    Join Date
    May 2010
    Posts
    52
    Plugin Contributions
    0

    Default Re: HTML tags show after upgrade to 1.3.9g

    Hi, all,

    My situation is a little bit different from yours.

    When I made changed in the define_main_page.php by using the define pages editor in the admin panel, it was fine in the editor ( I was using "HTML body" option instead of the "plaint text" ) but it show HTML source code in the store front. It is the plaint HTML code, like <, and >, and they are not converted to &lt; nor &gt like what p1lot mentioned in post #5.

    The other thing is I copied the original define_main_page.php from the zen-cart classic theme to replace my custom override template, it still showed HTML code.

    I noticed, whatever I put inside the define pages editor, everything will show up as plain text, even as simple as "Welcome to my store" then a "Enter" key, it will show to the front page "Welcome to my store </br>".

    I agree with delia. I will wait until a permanent fix from zen-cart. Hopefully it will come out very, very, very soon.

    A little suggestion: can I just upgrade other files but leave that particular file that cause this trouble behind? Of course this need to be confirm by zen-cart developpers.
    Last edited by justin2010; 1 Oct 2010 at 04:24 AM. Reason: addition, last paragraph

  8. #18
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: HTML tags show after upgrade to 1.3.9g

    Did you create a file like:
    /admin/includes/extra_configures/extra_white_list.php

    and put into that file the code:
    NOTE: THE FOLLOWING CODE HAS BEEN SUPERCEDED BY THIS POST: http://www.zen-cart.com/forum/showth...839#post941839

    *snip*

    and then try to edit the define_main_page.php once more and save it to see if this displays correctly now?
    Last edited by Ajeh; 2 Oct 2010 at 03:50 PM.
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  9. #19
    Join Date
    May 2010
    Posts
    52
    Plugin Contributions
    0

    Default Re: HTML tags show after upgrade to 1.3.9g

    I tried on a fresh installed zen-cart, and it WORKS!!!

  10. #20
    Join Date
    Feb 2010
    Posts
    140
    Plugin Contributions
    0

    Default Re: HTML tags show after upgrade to 1.3.9g

    I have a little ajax calling in my own php file when certain options are selected on the main page.
    This stop working after the upgrade and it does not display the second drop down option that the
    ajax calls in. I checked the define_main_page in the editor and when I save it got the html rather than
    just the text on the main page. i applied the fix post above using the using the $global_xss_whitelist instructions and it removed
    the html and it went back to displaying the text, but it is not retrieving my php file using ajax as it did previously.

 

 
Page 2 of 23 FirstFirst 123412 ... 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