News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

List of errors as pulled from Firefox 3.0 with clean error log:

Started by meehan09, September 07, 2009, 02:43:05 PM

Previous topic - Next topic

meehan09

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

Antechinus

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

meehan09

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

Arantor

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.

meehan09

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.

Arantor

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.

meehan09

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 :)

Arantor

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.

meehan09

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 :)

Arantor

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.

meehan09

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)

Arantor


meehan09

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)


Arantor

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.

meehan09

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

Aleksi "Lex" Kilpinen

Hi, any updates on this? Is this still an ongoing issue for you? :)
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

meehan09

Thease errors seem to have gone, but i do have a couple errors, witch ive posted in support and mod support.


thanks,
Paul

Aleksi "Lex" Kilpinen

OK, if they are in separate topics - then feel free to mark this topic solved ;)
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Advertisement: