Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Suddenly, Multiple Errors in FireFox!

Suddenly, Multiple Errors in FireFox!

Views: 909

Results 1 to 8 of 8
13 Nov 2012, 9:02 PM
#1
traytray avatar

traytray

Totally Zenned

Join Date:
May 2012
Posts:
566
Plugin Contributions:
0

Suddenly, Multiple Errors in FireFox!

I always view my site in IE and only look at my site in Firefox when I need to check something in Firebug. On my Main Page I have multiple errors in Firefox. It's a hot mess! I truly don't know where to start. Need some help!

http://designerperfumesnob.authsafe.com/

13 Nov 2012, 9:12 PM
#2
stevesh avatar

stevesh

Black Belt

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

Re: Suddenly, Multiple Errors in FireFox!

Looks exactly the same here in IE8 and the current version of Firefox - both bad. Your define_main_page.php content seems to be wrong.

13 Nov 2012, 9:27 PM
#3
traytray avatar

traytray

Totally Zenned

Join Date:
May 2012
Posts:
566
Plugin Contributions:
0

Re: Suddenly, Multiple Errors in FireFox!

stevesh:

Looks exactly the same here in IE8 and the current version of Firefox - both bad. Your define_main_page.php content seems to be wrong.

In IE 9 it looks fine and it validates with no CSS errors, just some warnings about the mega menu. As for the define_main_page.php I haven't really done anything with it yet. I don't know if it matters, but in Admin> Define Pages Editor>English>define_main_page.php I get an error message : Error: I can not write to this file. Please set the right user permissions on: /home/a132536/public_html/includes/languages/english/html_includes/piccadilly_posh/define_main_page.php

The permissions are set at Owner read and write, Group: read, Public: Read, Numerical Value 644

I wasn't that concerned about that because I had planned on doing all of my editing right from the overrides file.

13 Nov 2012, 11:31 PM
#4
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,872
Plugin Contributions:
7

Re: Suddenly, Multiple Errors in FireFox!

I always view my site in IE and only look at my site in Firefox...

You should be doing it the other way round.
Use FF all the time for development work. Add the HTML validator plugin to Firefox to find your broken HTML, fix all that first, then get the site looking correct in FF, then lastly add CSS tweaks for IE-only in the CSS.

14 Nov 2012, 3:41 AM
#5
traytray avatar

traytray

Totally Zenned

Join Date:
May 2012
Posts:
566
Plugin Contributions:
0

Re: Suddenly, Multiple Errors in FireFox!

torvista:

You should be doing it the other way round.
Use FF all the time for development work. Add the HTML validator plugin to Firefox to find your broken HTML, fix all that first, then get the site looking correct in FF, then lastly add CSS tweaks for IE-only in the CSS.

Except for Ampersands my only other errors found using the HTML validator plug in and Firefox are as follows:

Error Line 1345, Column 21: end tag for "ul" which is not finished

	      		      </ul>

Most likely, you nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>

Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, in HTML the <head> element must contain a <title> child element, lists require appropriate list items (<ul> and <ol> require <li>; <dl> requires <dt> and <dd>), and so on.

Error Line 1646, Column 4: end tag for element "p" which is not open

</p>

The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.

If this error occurred in a script section of your document, you should probably read this FAQ entry.

I know its giving me line numbers and columns, but I'm afraid I still do not know where to look. I find it hard to believe these 2 errors are causing my Main Page on FF to behave so badly, while it looks perfect in IE9. I just looked at Safari and the main page displays normally there as well.

I don't know how to proceed.

http://designerperfumesnob.authsafe.com/

14 Nov 2012, 9:52 AM
#6
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,872
Plugin Contributions:
7

Re: Suddenly, Multiple Errors in FireFox!

The only two errors are
1)

<div class="col_1"> <h3>Useful Links</h3> <ul> SHOULD BE A LIST ITEM IN THE LIST, EVEN IF ITS EMPTY <li></li> </ul> </div>

2)<p>
write something here

</p> SHOULD BE A <p> TAG HERE and here </p> <p> This content is located in the file at: /languages/english/html_includes/piccadilly_posh/define_main_page.php </p>

However these are not causing the problem....but you have to clear all these easy to find things first to remove any doubt.

In stylesheet_module_tabs.css
#moduleMenu {
height: 30px;
deleting this cures the problem.

14 Nov 2012, 10:51 AM
#7
traytray avatar

traytray

Totally Zenned

Join Date:
May 2012
Posts:
566
Plugin Contributions:
0

Re: Suddenly, Multiple Errors in FireFox!

Thank you so very much! Main page back to normal in FF! I fixed two of the three errors but I have looked all over for this and cannot find anywhere.

<div class="col_1"> <h3>Useful Links</h3> <ul> SHOULD BE A LIST ITEM IN THE LIST, EVEN IF ITS EMPTY <li></li> </ul> </div>

Where is it hiding??

14 Nov 2012, 6:56 PM
#8
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,872
Plugin Contributions:
7

Re: Suddenly, Multiple Errors in FireFox!

Finding stuff is a backwards process.

  1. Search for the text..you'll find it in some define(TEXT_SOMETHING,'Useful Links'); somewhere
  2. Then search for the actual constant name: TEXT_SOMETHING. This will show the file where its used and hopefully the tags around it.