Forums / General Questions / Strange code appearing in product pages

Strange code appearing in product pages

Views: 618

Results 1 to 6 of 6
20 Dec 2011, 11:53 AM
#1
techiescot avatar

techiescot

New Zenner

Join Date:
Nov 2009
Posts:
59
Plugin Contributions:
0

Strange code appearing in product pages

Hi All

I have been working with Zen Cart a wee while now and have not have too many problems - and you have all been soooo helpful.

Today, I have been working on putting pictures into my product page descriptions and when I used plain text to look at some of the pages I have already done using HTMLArea, I found this sort of code ...

mcWkpXyhmMulkLpvMF9K5bDZXyOayyXIpVyykS8XsUrlQLhWWl/KlYnplObe8VKysllaWS5VyoVZdXV0p1murtcpyo7Zaq6406pW1ZrVarTYbjVOnas1G7WSjcXKt1mw0mo1Kvdao11aa9VqjXqvXVuq1Wr1aadRra81Ko16r15bqtVqzUWs0VhqN2lqz1qjXGvXVem21WlmtVpaqq0sry7mV5VxlpVStLDXq1bVm7d21tXdaH7JwH3QcCwCAy6696cZ7ntn64L6z92TtZKMSj4yY3Ta1I4ipfUyejkuoWYiIDqMsHs7CcA4CDyIoAwVBkVxppWZnfR6.....

It goes on and on ....

Now my questions ....

What is it?
How did it get there?
Is it dangerous?
What should I do about it?

I don't know how many products are affected but it seems to be ones where I tried to insert a table and pictures into the text.

Any help gratefully accepted.

20 Dec 2011, 11:54 AM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Strange code appearing in product pages

What version of zencart are you using? Where is the site hosted? Do you have a WordPress blog on the same server / URL ?

20 years a Zencart User

20 Dec 2011, 12:11 PM
#4
techiescot avatar

techiescot

New Zenner

Join Date:
Nov 2009
Posts:
59
Plugin Contributions:
0

Re: Strange code appearing in product pages

Hi

This is the code at the start of the lines and lines of gobbledegook code ...

<tbody><tr><td><img src="data:image/png;base64

And this at the end ...

QERgWIgLDQkRgWIgIDAsRgWEhIjAsRASGhYjAsBARGBYiAsNCRGBYiAgMCxHxP40FxDEGXuI2AAAAAElFTkSuQmCC" />

</td><td><div style="margin-left: 40px;"><br />
20 Dec 2011, 12:21 PM
#5
techiescot avatar

techiescot

New Zenner

Join Date:
Nov 2009
Posts:
59
Plugin Contributions:
0

Re: Strange code appearing in product pages

Hi

I tried to put a picture into a hidden table as part of the Product Description ...

http://www.homeandgardencompany.co.uk/index.php?main_page=product_info&cPath=1_5_148&products_id=814

But it seems to be this which is causing the problem. When I tried to add two tables or two pictures, it erased anything in the second table or around the second picture.

Would it be better if I were to create the HTML code for the product description, including the pics set into a table outside of Zen Cart and then copy it in?

20 Dec 2011, 12:33 PM
#6
techiescot avatar

techiescot

New Zenner

Join Date:
Nov 2009
Posts:
59
Plugin Contributions:
0

Re: Strange code appearing in product pages

Hi

I have managed to do what I wanted to do and have removed the code ... now I will just copy and paste and maje the alterations I need to make.

Many thanks