Zen Cart Logo
Forums / Bug Reports / [Done v1.3.9h] HTML tags show after upgrade to 1.3.9g

[Done v1.3.9h] HTML tags show after upgrade to 1.3.9g

Locked

Views: 61,665

Results 161 to 180 of 225
This thread is locked. New replies are disabled.
14 Oct 2010, 6:05 AM
#161
ecommercefree avatar

ecommercefree

New Zenner

Join Date:
Jul 2010
Posts:
38
Plugin Contributions:
0

[Done v1.3.9h] HTML tags show after upgrade to 1.3.9g

Ajeh:

Try using for the extra_white_list.php file:
/admin/includes/extra_configures/extra_white_list.php

and put into that file the code:

<?php $global_xss_whitelist = isset($global_xss_whitelist) ? $global_xss_whitelist : array(); $my_whitelist = array('file_contents', 'banners_html_text', 'pages_title', 'message_html'); $global_xss_whitelist = array_merge($my_whitelist, $global_xss_whitelist); ``` > > and then try to edit the **Define Page** or **Banner HTML** or **EZPage Title** or **Send Email** once more and save it to see if this displays correctly ... > > NOTE: the file > /admin/includes/extra_configures/extra_white_list.php > > is a file that you create for this code ... thank you..it work very well
14 Oct 2010, 6:10 AM
#162
finlander avatar

finlander

Zen Follower

Join Date:
Oct 2010
Location:
Idaho
Posts:
293
Plugin Contributions:
0

Re: [Done v1.3.9h] HTML tags show after upgrade to 1.3.9g

I don't know enough about programming code to understand it, but that patch (post #52) sure worked beautifully.

It prevents the Define Pages Editor (and the other editors in admin?) from converting and saving the HTML "less than" and "greater than" characters (< and >) as < and > in the raw code after using the editor.

Thanks so much to Linda and others who came up with it.

14 Oct 2010, 12:25 PM
#163
choccybox avatar

choccybox

New Zenner

Join Date:
Aug 2010
Posts:
25
Plugin Contributions:
0

Re: [Done v1.3.9h] HTML tags show after upgrade to 1.3.9g

Is there any way to add the manufacturers to the white list? Currently I'm using a <br> to display the manufacturers on two lines and the update has broken it.

14 Oct 2010, 1:21 PM
#164
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: [Done v1.3.9h] HTML tags show after upgrade to 1.3.9g

Are you seeing a problem in the Catalog or in the Admin when you use:
Line 1<br>Line 2

for the Manufacturer Name? :unsure:

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!]
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!

14 Oct 2010, 1:33 PM
#165
steeve86 avatar

steeve86

New Zenner

Join Date:
May 2010
Posts:
5
Plugin Contributions:
0

Re: [Done v1.3.9h] HTML tags show after upgrade to 1.3.9g

Currency showing £ &euro in products price listing. Whitelist didnt help me on that one so far. anyone else know what to do on that?

All a headache now since the upgrade and now its starting to show some issues just today and all. I also saw a microsoft update on my computer recently when these issues appeared too but I was :(
Whitelist file fixed the define files though

14 Oct 2010, 1:44 PM
#166
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: [Done v1.3.9h] HTML tags show after upgrade to 1.3.9g

choccybox:

Is there any way to add the manufacturers to the white list? Currently I'm using a <br> to display the manufacturers on two lines and the update has broken it.

Please check Post #52, update for manufacturers_name ...

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!]
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!

14 Oct 2010, 1:45 PM
#167
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: [Done v1.3.9h] HTML tags show after upgrade to 1.3.9g

steeve86:

Currency showing £ &euro in products price listing. Whitelist didnt help me on that one so far. anyone else know what to do on that?

Check Post #52, update for symbol_left and symbol_right on currencies ...

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!]
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!

14 Oct 2010, 2:06 PM
#168
marcelarr avatar

marcelarr

New Zenner

Join Date:
Oct 2008
Posts:
54
Plugin Contributions:
0

Re: [Done v1.3.9h] HTML tags show after upgrade to 1.3.9g

Ajeh:

Check Post #52, update for symbol_left and symbol_right on currencies ...

The problem is also happening to me, even after traying the solution on post #52, I can still see all the html content on the defined pages I changed since updating to version 1.3.9g.... privacy.

Any help would be greatly apreciated.

I have uploaded the solution on post 52 but still no change.

14 Oct 2010, 2:12 PM
#169
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: [Done v1.3.9h] HTML tags show after upgrade to 1.3.9g

Be sure that after you upload the code from post #52 that you then edit the define pages and save to have those changes applied ...

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!]
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!

14 Oct 2010, 2:15 PM
#170
marcelarr avatar

marcelarr

New Zenner

Join Date:
Oct 2008
Posts:
54
Plugin Contributions:
0

Re: [Done v1.3.9h] HTML tags show after upgrade to 1.3.9g

Ajeh:

Check Post #52, update for symbol_left and symbol_right on currencies ...

Ajeh:

Be sure that after you upload the code from post #52 that you then edit the define pages and save to have those changes applied ...

Thanks. Apreciated.

14 Oct 2010, 2:24 PM
#171
steeve86 avatar

steeve86

New Zenner

Join Date:
May 2010
Posts:
5
Plugin Contributions:
0

Re: [Done v1.3.9h] HTML tags show after upgrade to 1.3.9g

Ajeh:

Try using for the extra_white_list.php file:
/admin/includes/extra_configures/extra_white_list.php

and put into that file the code:

<?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'); $global_xss_whitelist = array_merge($my_whitelist, $global_xss_whitelist); ``` > > and then try to edit the **Define Page** or **Banner HTML** or **EZPage Title** or **Send Email** once more and save it to see if this displays correctly ... > > NOTE: the file > /admin/includes/extra_configures/extra_white_list.php > > is a file that you create for this code ... > > **NOTE: Updated** for **Manufactuers Name**, **Currencies Left Symbol** and **Currencies Right Symbols** did not recover my euro or gbp symbol. just so you know. :)
14 Oct 2010, 2:45 PM
#172
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: [Done v1.3.9h] HTML tags show after upgrade to 1.3.9g

Did you go back and edit the currencies and put back the proper settings and save them? :unsure:

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!]
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!

14 Oct 2010, 3:08 PM
#173
ashjones86 avatar

ashjones86

New Zenner

Join Date:
Oct 2010
Posts:
3
Plugin Contributions:
0

Re: [Done v1.3.9h] HTML tags show after upgrade to 1.3.9g

The extra_white page you said in post #52 doesnt exist on my server, when i go to edit the main page it shows html, here is the link (http://www.epsonto711.com/shop/) any help would be appreciated

14 Oct 2010, 3:18 PM
#174
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: [Done v1.3.9h] HTML tags show after upgrade to 1.3.9g

You have to make a file called:
/includes/extra_configures/extra_white_list.php

Paste into that file the code posted in post #52 ...

Load that file to your server ...

Now edit the things that are broken and save them ...

NOTE: on occaision you may need to clean up the content before saving, but usually just saving the information again will fix it ...

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!]
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!

14 Oct 2010, 11:19 PM
#175
steeve86 avatar

steeve86

New Zenner

Join Date:
May 2010
Posts:
5
Plugin Contributions:
0

Re: [Done v1.3.9h] HTML tags show after upgrade to 1.3.9g

Ajeh:

You have to make a file called:
/includes/extra_configures/extra_white_list.php

Paste into that file the code posted in post #52 ...

Load that file to your server ...

Now edit the things that are broken and save them ...

NOTE: on occasion you may need to clean up the content before saving, but usually just saving the information again will fix it ...

I found out what I did wrong after all that with the currencies, it was more of a not enough sleep type of misunderstanding (missing info in instructions and not enough will power to think it through)

You must go to admin>Localization>Currencies
Edit the currency you are having the problem with. Change Euro which should appear now as"€" to just "€" without quotes of course .:oops:

15 Oct 2010, 8:54 AM
#176
ashjones86 avatar

ashjones86

New Zenner

Join Date:
Oct 2010
Posts:
3
Plugin Contributions:
0

Re: [Done v1.3.9h] HTML tags show after upgrade to 1.3.9g

Ajeh:

You have to make a file called:
/includes/extra_configures/extra_white_list.php

Paste into that file the code posted in post #52 ...

Load that file to your server ...

Now edit the things that are broken and save them ...

NOTE: on occaision you may need to clean up the content before saving, but usually just saving the information again will fix it ...

Hi thanks for the quick response, i am a bit of a noob when it comes to thsi, i created a new php file in dreamweaver and entered the code as you have posted in #52, saved the file and uploaded it into , includes/extra_configures/file name.php (being extra_white of course), then gone to the define pages editor and entered my text in the main page, clicked save and it still shows the html, have i done something wrong? please do speak to me as if im stupid also btw, as im really lost with this.

15 Oct 2010, 9:08 AM
#177
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: [Done v1.3.9h] HTML tags show after upgrade to 1.3.9g

ashjones86:

created a new php file in dreamweaver and entered the code as you have posted in #52, saved the file and uploaded it
NEVER use dreamweaver to create or edit a php file

Use a PLAIN text editor like notepad, or a code editor

Some Free ones
ConText
Crimson editor
Notepad++

Upload with a good FTP client

Zen-Venom Get Bitten

16 Oct 2010, 5:36 PM
#178
brianinhungerford avatar

brianinhungerford

New Zenner

Join Date:
Aug 2009
Posts:
2
Plugin Contributions:
0

Re: [Done v1.3.9h] HTML tags show after upgrade to 1.3.9g

:smile:
Brilliant - how come this is missing from the upgrade to 1.3.9g?

16 Oct 2010, 5:49 PM
#179
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: [Done v1.3.9h] HTML tags show after upgrade to 1.3.9g

brianinhungerford:

:smile:
Brilliant - how come this is missing from the upgrade to 1.3.9g?

It will be updated in 1.3.9h version to come.

Is your site Upgraded to the current version 1.5.4 Yet?
zencart-upgrades-website-installation

18 Oct 2010, 9:18 AM
#180
ray_the_otter avatar

ray_the_otter

Zen Follower

Join Date:
Jul 2010
Posts:
278
Plugin Contributions:
0

Re: [Done v1.3.9h] HTML tags show after upgrade to 1.3.9g

kobra:

NEVER use dreamweaver to create or edit a php file

Why? What's wrong with Dreamweaver?

I am unable to answer any private messages for any of the add-on's I am associated with. I have migrated to other cart systems so sadly cannot offer any assistance, all the best and I hope you get your query fixed soon!