Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: meehan09 on September 07, 2009, 02:43:05 PM

Title: List of errors as pulled from Firefox 3.0 with clean error log:
Post by: meehan09 on September 07, 2009, 02:43:05 PM
List of errors as pulled from Firefox 3.0 with clean error log:

Error: is_ie is not defined
Source File: http://www.exoticforums.co.uk/Themes/default/scripts/theme.js?rc1
Line: 2
Warning: Unknown property 'ackground'.  Declaration dropped.
Source File: http://www.exoticforums.co.uk/Themes/default/style.css?rc1
Line: 8
Warning: Unknown property 'border-radius'.  Declaration dropped.
Source File: http://www.exoticforums.co.uk/Themes/default/style.css?rc1
Line: 41
Warning: Unknown property 'border-radius'.  Declaration dropped.
Source File: http://www.exoticforums.co.uk/Themes/default/style.css?rc1
Line: 54
Warning: Unknown property 'font-color'.  Declaration dropped.
Source File: http://www.exoticforums.co.uk/Themes/default/style.css?rc1
Line: 1060
Warning: Selector expected.  Ruleset ignored due to bad selector.
Source File: http://www.exoticforums.co.uk/Themes/default/style.css?rc1
Line: 1071
Warning: Unexpected end of file while searching for closing } of invalid rule set.
Source File: http://www.exoticforums.co.uk/Themes/default/style.css?rc1
Line: 1071
Error: smfToggle is not defined
Source File: http://www.exoticforums.co.uk/index.php
Line: 127
Warning: Expected ':' but found 'margin0'.  Declaration dropped.
Source File: http://www.exoticforums.co.uk/index.php
Line: 0
Error: smfToggle is not defined
Source File: http://www.exoticforums.co.uk/index.php
Line: 1325
Error: $("yshout") is null
Source File: http://www.exoticforums.co.uk/yshout/js/yshout.js?July062008
Line: 14


Thease errors are shown when clean error log. Does anyone know how to fix thease problems???

Iam running SMF 2.0 RC1.2 @ www.exoticforums.co.uk


If anyone can guide me on how to fix thease that would be excellent.


Thanks in advance
Paul
Title: Re: List of errors as pulled from Firefox 3.0 with clean error log:
Post by: Antechinus on September 08, 2009, 04:38:59 AM
Most of those look like basic css errors due to the style.css being modified incorrectly.

Warning: Unknown property 'ackground'.  Declaration dropped.
Source File: http://www.exoticforums.co.uk/Themes/default/style.css?rc1
Line: 8
Should be background, not ackground. :P


Warning: Unknown property 'border-radius'.  Declaration dropped.
Source File: http://www.exoticforums.co.uk/Themes/default/style.css?rc1
Line: 41
Warning: Unknown property 'border-radius'.  Declaration dropped.
Source File: http://www.exoticforums.co.uk/Themes/default/style.css?rc1
Line: 54
Border-radius is not a valid CSS2 property. 

Warning: Unknown property 'font-color'.  Declaration dropped.
Source File: http://www.exoticforums.co.uk/Themes/default/style.css?rc1
Line: 1060
You cannot use "font-color". You can define the font-family and font-size but you define the colour by simply using "color".


Warning: Selector expected.  Ruleset ignored due to bad selector.
Source File: http://www.exoticforums.co.uk/Themes/default/style.css?rc1
Line: 1071
Not sure what the error is there, but it will be something simple.


Warning: Unexpected end of file while searching for closing } of invalid rule set.
Source File: http://www.exoticforums.co.uk/Themes/default/style.css?rc1
Line: 1071
You left out the closing bracket for a css class.


Warning: Expected ':' but found 'margin0'.  Declaration dropped.
Source File: http://www.exoticforums.co.uk/index.php
Line: 0
Should be margin: 0; instead of margin0
Title: Re: List of errors as pulled from Firefox 3.0 with clean error log:
Post by: meehan09 on September 08, 2009, 07:50:55 AM
Ok thanks very much ive managed to fix all exsept

Code: [Select]
Warning: Expected ':' but found 'margin0'.  Declaration dropped.
Source File: http://www.exoticforums.co.uk/index.php
Line: 0Should be margin: 0; instead of margin0


Ive uploaded my index.php below, If somone could edit this for me and fix that would be great.

Thanks again,
Paul
Title: Re: List of errors as pulled from Firefox 3.0 with clean error log:
Post by: Arantor on September 08, 2009, 09:24:13 AM
Themes/default/style.css has an ?> at the end of it which should be removed, which will clear two of the problems.

margin0 doesn't seem to present now.

Note that errors won't be in index.php - that's just the page that loads everything. You would also be advised to remove the following code from index.php:

if(isset($_GET['yshout']))
{
$yshout_from_index=true;
include_once('yshout/yshout.php');
exit;
}


It's listed twice in that file.
Title: Re: List of errors as pulled from Firefox 3.0 with clean error log:
Post by: meehan09 on September 08, 2009, 09:26:20 AM
Thankyou very much Arantor, Ive done has requested and seems to be working fine now, Would you double cheak this for me?


Regards,
Paul

P.S I removed the first shoutbox code and removed ?> from style.css ...... Is this correct just to be sure.
Title: Re: List of errors as pulled from Firefox 3.0 with clean error log:
Post by: Arantor on September 08, 2009, 09:28:15 AM
I still see 4 errors - the one relating to is_ie, the two relating to smfToggle, and the last one relating to yshout. The last one is a fix to index.template.php.
Title: Re: List of errors as pulled from Firefox 3.0 with clean error log:
Post by: meehan09 on September 08, 2009, 09:31:06 AM
Ok i think ive managed to fix the last one in ( index.template.php ).


Do you find this fixed now???, Also could you possibly direct me in the right direction to fixing the remainding 3 errors?


Thanks again arantor :)
Title: Re: List of errors as pulled from Firefox 3.0 with clean error log:
Post by: Arantor on September 08, 2009, 09:55:27 AM
Replace Themes/default/scripts/script.js with the master version from the SMF 2.0 RC1.2 distribution; it's missing about 1/3 of the content it's supposed to have, including both smfToggle and is_ie definitions.
Title: Re: List of errors as pulled from Firefox 3.0 with clean error log:
Post by: meehan09 on September 08, 2009, 09:59:09 AM
Thankyou Arantor, Ive have now replaced that file with the orginal.

Are thease errors showing for you now?, Hopefully this should be solved now, thankyou very much for your help in fixing this :)
Title: Re: List of errors as pulled from Firefox 3.0 with clean error log:
Post by: Arantor on September 08, 2009, 10:14:53 AM
Now the margin0 error only shows up on login; I wonder if that's shoutbox related to be honest. I also get a new error which I'm pretty sure is shoutbox related, which is:

Error: syntax error
Source File: about:blank
Line: 1, Column: 63
Source Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title></title></head><body></body></html>

The other errors are gone though.
Title: Re: List of errors as pulled from Firefox 3.0 with clean error log:
Post by: meehan09 on September 08, 2009, 10:17:10 AM
Ok thankyou for the help fixing the errors, I will leave this post and hopefully somone can help.


ill also have a search to see if theres anything posted on them errors.


Thanks again arantor  8)
Title: Re: List of errors as pulled from Firefox 3.0 with clean error log:
Post by: Arantor on September 18, 2009, 09:23:32 PM
So are any of these still the case?
Title: Re: List of errors as pulled from Firefox 3.0 with clean error log:
Post by: meehan09 on October 12, 2009, 02:29:45 PM
Sorry for late reply, didnt notice i had a reply!


If you could test for me to see if there is any errors. Has i dont get any errors now in admin log?


Hope you can help test this for me Arantor!, Thanks in advance


Paul

8)

Title: Re: List of errors as pulled from Firefox 3.0 with clean error log:
Post by: Arantor on October 12, 2009, 02:52:25 PM
You should be able to test this yourself using nothing more than a fresh copy of Firefox 3.0 and checking the admin error log.
Title: Re: List of errors as pulled from Firefox 3.0 with clean error log:
Post by: meehan09 on October 13, 2009, 01:40:05 PM
Ok i thought it was somthing different, thankyou arantor, I have only one error now and ive posted into smf 2.0 support.



Regards,
Paul
Title: Re: List of errors as pulled from Firefox 3.0 with clean error log:
Post by: Aleksi "Lex" Kilpinen on October 20, 2009, 11:36:04 AM
Hi, any updates on this? Is this still an ongoing issue for you? :)
Title: Re: List of errors as pulled from Firefox 3.0 with clean error log:
Post by: meehan09 on October 20, 2009, 11:52:26 AM
Thease errors seem to have gone, but i do have a couple errors, witch ive posted in support and mod support.


thanks,
Paul
Title: Re: List of errors as pulled from Firefox 3.0 with clean error log:
Post by: Aleksi "Lex" Kilpinen on October 20, 2009, 11:55:24 AM
OK, if they are in separate topics - then feel free to mark this topic solved ;)