Page 21 of 23 FirstFirst ... 111920212223 LastLast
Results 201 to 210 of 225
  1. #201
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Why shown html codes on main page?

    Using v1.3.9g ... see this post and follow each step in post #52
    http://www.zen-cart.com/forum/showthread.php?t=165081
    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!

  2. #202
    Join Date
    May 2008
    Posts
    349
    Plugin Contributions
    0

    Default Re: HTML tags show after upgrade to 1.3.9g

    Hi, thanks for getting back to me, followed instructions in post#52, but still dont seem to work, guess iam doing something wrong.

    This is what i did,

    1 create the file:
    /admin/includes/extra_configures/extra_white_list.php & added the code posted:

    <?php
    $global_xss_whitelist = isset($global_xss_whitelist) ? $global_xss_whitelist : array();
    $my_whitelist = array('file_contents', 'banners_html_text', 'pages_title', 'message_html', 'manufacturers_name', 'symbol_left', 'symbol_right', 'query_string');
    $global_xss_whitelist = array_merge($my_whitelist, $global_xss_whitelist);


    2 FTP the file to my server

    3. Went to Define main page editor and copied the same code in again:

    <?php
    $global_xss_whitelist = isset($global_xss_whitelist) ? $global_xss_whitelist : array();
    $my_whitelist = array('file_contents', 'banners_html_text', 'pages_title', 'message_html', 'manufacturers_name', 'symbol_left', 'symbol_right', 'query_string');
    $global_xss_whitelist = array_merge($my_whitelist, $global_xss_whitelist);


    Clicked save, checked my website & it still showing:
    <?php $global_xss_whitelist = isset($global_xss_whitelist) ? $global_xss_whitelist : array(); $my_whitelist = array('file_contents', 'banners_html_text', 'pages_title', 'message_html', 'manufacturers_name', 'symbol_left', 'symbol_right', 'query_string'); $global_xss_whitelist = array_merge($my_whitelist, $global_xss_whitelist); <div style="text-align: center;"><img src="http://mywebsite.com/images/main.jpg" />

    Hope somebody can help, as this is driving me crazy.

    Thanks

  3. #203
    Join Date
    Oct 2010
    Posts
    25
    Plugin Contributions
    0

    Default banner is not rendering but shows the html code

    Hello guys! I just wanted to ask what's going on when my banner stopped rendering but instead showed up the html code. what i did was went to the EZ pages and edited the define_main_page but i undid it but still the banner wont render.

    if you have time, kindly please check my store here.
    thanks very much!

  4. #204
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: banner is not rendering but shows the html code

    Quote Originally Posted by mayleine View Post
    Hello guys! I just wanted to ask what's going on when my banner stopped rendering but instead showed up the html code. what i did was went to the EZ pages and edited the define_main_page but i undid it but still the banner wont render.

    if you have time, kindly please check my store here.
    thanks very much!
    check this post ( www.zen-cart.com/forum/showpost.php?p=941839&postcount=52 )

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

    Default Re: HTML tags show after upgrade to 1.3.9g

    Do not do what you did in step 3 ... you do not copy this code into your define page ... you only create the file:
    /admin/includes/extra_configures/extra_white_list.php

    with the code in it and load that to your site ...

    Then, use your define page as you normally do ... you just need to edit what you put in there and save it so that it fixes itself ...
    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!

  6. #206
    Join Date
    Oct 2010
    Posts
    25
    Plugin Contributions
    0

    Default Re: banner is not rendering but shows the html code

    i followed the direction and created that file, i lost all of my admin so i removed it again. i got the admin back but not the define_main_page. when i click that, all i see is blank empty space.

  7. #207
    Join Date
    May 2008
    Posts
    349
    Plugin Contributions
    0

    Default Re: HTML tags show after upgrade to 1.3.9g

    Hi, thanks for getting back to me

    So i left step 3 out & uploaded my picture up & saved, when i check in it still showing:

    <div style="text-align: center;"><img src="http://mywebsite.com/images/main.jpg" /><br /> </div>


  8. #208
    Join Date
    Oct 2010
    Posts
    25
    Plugin Contributions
    0

    Default Re: banner is not rendering but shows the html code

    anyway, thanks for pointing me to that post clydejones. what i need to do is sharpen my common sense a bit. hehe. i will figure it out from all the posts there.

  9. #209
    Join Date
    Oct 2010
    Posts
    25
    Plugin Contributions
    0

    Default Re: banner is not rendering but shows the html code

    Ok! I finally got it resolved! I reached the point of frustration because even though I carefully followed Linda's patch in that post above, i didnt give importance to item # 4 where she said

    "4. edit the section where you have the problem and save/update it to correct the issue"

    because I already made sure what i put there was deleted. So just to follow the 1-2-3-4 items on that post and follow the commandments of the gods, what I did was literally TOUCH the file again in that define_main_page. I
    1) added a random space anywhere in the file and
    2) hit backspace to undo that space i added
    3) hit Save.

    I wasnt expecting anything but VIOLA, my banners are resurrected!!!

    Thanks to the Zen cart team! ;)
    Last edited by mayleine; 23 Oct 2010 at 06:44 PM.

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

    Default Re: HTML tags show after upgrade to 1.3.9g

    Go to your Admin and in the Tools ... Developers Tool Kit ... do a search in the bottom input box for:
    $my_whitelist

    and select Admin and click search ...

    Do you see the file:
    /admin/includes/extra_configures/extra_white_list.php

    in the list of files?

    NOTE: the /admin would be a different directory name to match your secret /admin directory name that you are of course using ...
    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!

 

 
Page 21 of 23 FirstFirst ... 111920212223 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