Zen Cart Logo

Errors in Firefox

Locked

Views: 5,214

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
22 Jul 2007, 2:12 PM
#1
raquelann avatar

raquelann

New Zenner

Join Date:
Jun 2007
Posts:
80
Plugin Contributions:
0

Errors in Firefox

I checked my site on Firefox:censored:

Here are the list of errors that were found:
Warning: Unknown property 'border-size'. Declaration dropped.
Source File: https://secureinclude.ebaystatic.com/css/e521/au/areaTitleDeployment_SSL_e5211au.css
Line: 15
Warning: Error in parsing value for property 'font-style'. Declaration dropped.
Source File: http://www.oddsnsods.com.au/includes/templates/my_template/css/stylesheet.css
Line: 131
Warning: Expected identifier for pseudo-class or pseudo-element but found ' '. Ruleset ignored due to bad selector.
Source File: http://www.oddsnsods.com.au/includes/templates/my_template/css/stylesheet.css
Line: 475
Warning: Expected end of value for property but found 'background-color'. Error in parsing value for property 'margin'. Declaration dropped.
Source File: http://www.oddsnsods.com.au/includes/templates/my_template/css/stylesheet.css
Line: 533
Security Error: Content at http://www.oddsnsods.com.au/ may not load or link to file:///C:/Documents%20and%20Settings/Raquel/My%20Documents/My%20Webs/Jan%206%20Lord%20Ludwig%20&%20Lady%20Taysia.jpg.
Security Error: Content at http://www.oddsnsods.com.au/ may not load or link to file:///C:/Documents%20and%20Settings/Raquel/My%20Documents/My%20Webs/April%20Festival%20Yass23.JPG.
Security Error: Content at http://www.oddsnsods.com.au/ may not load or link to file:///C:/Documents%20and%20Settings/Raquel/My%20Documents/My%20Webs/April%20Festival%20Yass92.JPG.
Warning: Error in parsing value for property 'font-style'. Declaration dropped.
Source File: http://www.oddsnsods.com.au/includes/templates/my_template/css/stylesheet.css
Line: 131
Warning: Expected identifier for pseudo-class or pseudo-element but found ' '. Ruleset ignored due to bad selector.
Source File: http://www.oddsnsods.com.au/includes/templates/my_template/css/stylesheet.css
Line: 475
Warning: Expected end of value for property but found 'background-color'. Error in parsing value for property 'margin'. Declaration dropped.
Source File: http://www.oddsnsods.com.au/includes/templates/my_template/css/stylesheet.css
Line: 533
Security Error: Content at http://www.oddsnsods.com.au/ may not load or link to file:///C:/Documents%20and%20Settings/Raquel/My%20Documents/My%20Webs/Jan%206%20Lord%20Ludwig%20&%20Lady%20Taysia.jpg.
Security Error: Content at http://www.oddsnsods.com.au/ may not load or link to file:///C:/Documents%20and%20Settings/Raquel/My%20Documents/My%20Webs/April%20Festival%20Yass23.JPG.
Security Error: Content at http://www.oddsnsods.com.au/ may not load or link to file:///C:/Documents%20and%20Settings/Raquel/My%20Documents/My%20Webs/April%20Festival%20Yass92.JPG.

And I thought I was going great guns...obviously not. Can anyone help me with these issues. I am such a newbie at this and am struggling to understand all this coding etc.
Thanks

23 Jul 2007, 8:09 PM
#2
brandtim avatar

brandtim

Zen Follower

Join Date:
Apr 2006
Posts:
250
Plugin Contributions:
0

Re: Errors in Firefox

For a newbie, you're doing pretty well. That's a small number of errors to tackle (at this point - expect more :) ).

Ok - so, one thing at a time.

You have two general types of errors.

First are the css errors. These have the words 'property', 'parsing', 'pseudo-class', 'pseudo-element', etc. (Except the first error - I'll come back to that one.)

Conveniently, both the css file and the line with the error are in the error report.

For example, the second error is on line 131 of stylesheet.css:

font-style: bold;

The error is that font-style does not have a bold value. The property you want is font-weight.

Best thing to do is track down each of these errors one at a time, determine what is wrong, and fix them.

Second, you have file location errors. Note the errors that start with 'file:///' - that prefix means that the browser should look to the local machine for the image file. For example, when I browse to your site, FireFox looks at my laptop for those image files. Obviously, this is not what you want.

To fix this, I recommend placing those image files in a /includes/templates/my_template/images folder. After you've uploaded them, you'll need to fix the urls for file which I think are in /includes/languages/english/html_includes/my_template/define_main_page.php

So you would change this:

file:///C:/Documents%20and%20Settings/Raquel/My%20Documents/My%20Webs/Jan%206%20Lord%20Ludwig%20&%20Lady%20Taysia.jpg

to this:

includes/templates/my_template/images/Jan%206%20Lord%20Ludwig%20&%20Lady%20Taysia.jpg

Now they'll be loaded from your server instead my computer. :)

Finally, that first error. It has something to do with something you're using off of ebay. Sorry I can't be more descriptive - I don't use ebay for anything. However, since you can't change the css file, just ignore the error.

Hope this helps,
BrandTim

1 Aug 2007, 3:29 AM
#3
raquelann avatar

raquelann

New Zenner

Join Date:
Jun 2007
Posts:
80
Plugin Contributions:
0

Re: Errors in Firefox

Thankyou - those are now done!
However, if anyone else can help with the rest of the errors I would be ever so grateful. My site in Firefox is allover the page....

The errors still to be fixed are:
Warning: Unknown property 'border-size'. Declaration dropped.
Source File: https://secureinclude.ebaystatic.com...SL_e5211au.css
Line: 15 (Don't understand)
Warning: Expected identifier for pseudo-class or pseudo-element but found ' '. Ruleset ignored due to bad selector.
Source File: http://www.oddsnsods.com.au/includes...stylesheet.css
Line: 475 (Can't find)
Warning: Expected end of value for property but found 'background-color'. Error in parsing value for property 'margin'. Declaration dropped.
Source File: http://www.oddsnsods.com.au/includes...stylesheet.css
Line: 533 (Don't understand)

My website is www.oddsnsods.com.au

2 Aug 2007, 9:34 PM
#4
brandtim avatar

brandtim

Zen Follower

Join Date:
Apr 2006
Posts:
250
Plugin Contributions:
0

Re: Errors in Firefox

raquelann:

Warning: Unknown property 'border-size'. Declaration dropped.
Source File: https://secureinclude.ebaystatic.com...SL_e5211au.css
Line: 15
Ok, let me say it again. This error you must ignore. You cannot fix it. Notice how the source file is on the ebaystatic.com site? You do not have access to modify files on that site. It's their problem, but odds are they'll never do anything about it.

raquelann:

Warning: Expected identifier for pseudo-class or pseudo-element but found ' '. Ruleset ignored due to bad selector.
Source File: http://www.oddsnsods.com.au/includes...stylesheet.css
Line: 475
You seem to have fixed this one... FF isn't showing it any more.

raquelann:

Warning: Expected end of value for property but found 'background-color'. Error in parsing value for property 'margin'. Declaration dropped.
Source File: http://www.oddsnsods.com.au/includes...stylesheet.css
Line: 533
On the current line 534, this:

margin: 0em

should be this:

margin: 0em;

Note the missing semi-colon.

BrandTim

3 Aug 2007, 2:00 AM
#5
raquelann avatar

raquelann

New Zenner

Join Date:
Jun 2007
Posts:
80
Plugin Contributions:
0

Re: Errors in Firefox

Cool- again thankyou. That is one set of problems completed. As much as this is a long task, I am actually enjoying it as I am learning so much...