• Welcome to Simple Machines Community Forum. Please login or sign up.
December 08, 2021, 04:07:44 PM

News:

Want to get involved in developing SMF, then why not lend a hand on our github!


Bug in Firefox 1.5 Causing Server Issues with SMF 1.1

Started by Grudge, January 20, 2006, 07:47:20 PM

Previous topic - Next topic

roxpace

Anyway, whats the point with using JavaScript so much ?

SMF should have all its themes without any JavaScript and only JavaScript in "media fx" enhanced themes, there is no need for using JavaScript for only the functionality or good design, this is more an effect and multimedia design which is not what World-Wide Web is made for in the first case. Make SMF faster and with less possibilities to bugs, remove JavaScript and it will work and only use it in enhanced themes.

The total loadsize for pages would also be much smaller without JavaScript. See how big for example the standard theme which viewing the mainpage which shows all forums and subforums. A page shall normally never be more than 50-70 Kb including images. There is a lot of people on the net on bad backbones, isp:s and old modems, not so unusual as many thinks.
Always keep an eye on the latest from me at ...
http://www.jump-gate.com/

zigzag

Hello,
I upgraded a couple of weeks ago from 1.06, I replaced the script.js added a 'j' after the '?' , checked and double checked all my theme folders and added the 'j' as well to the joomla/smf bridge code in my joomla theme templates, but I'm seeing these in my server logs - not huge amounts - maybe 6 or 7 per 300 hits they mostly.

/forums/index.php?action=keepalive;1143398251287
   Http Code: 200    Date: Mar 26 12:37:30    Http Version: HTTP/1.1    Size in Bytes: 5
   Referer: http://www.mysite.com/index.php?option=com_content&task=view&id=15&Itemid=28
   Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Supplied by Tesco.net; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322)


I'm getting a bit concerned about it as I don't want to crash the server  :-X

JayBachatero

You are supposed to get keepalive notices on your logs.  The problem was that the FF bug was keeping the keepalive on forever and it didn't stop.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

zigzag

Thankyou  :) That's a relief - I hadn't noticed them before today  :D

perplexed

I have a question about this, The script update was done in Jan on my site and then in Feb I upgraded from 1.3bp to 1.1rc2

Would I then have to replace this script again or should it be alright?

I havent had any of those messages about denial of service or action=keepalive but our bandwidth usage has jumped significantly recently so I am just covering all bases

thanks

Bigguy

I would run it just to be safe but you should be ok.

JayBachatero

You have to replace it again because the script.js in 1.1 b3 and 1.1 RC2 are the same.  The one of this topic is the updated one.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Chronic667

Today firefox was updated to 1.5.02. In the update notes it says that bug 318419 is now fixed.

Pyro In A Cage

My theme (cerberus) doesn't have a script.js file, but I still have this problem. What is going on?

Sverre

Quote from: Pyro In A Cage on May 04, 2006, 04:30:37 AM
My theme (cerberus) doesn't have a script.js file, but I still have this problem. What is going on?

If your theme doesn't have its own script.js file it's using the file from /Themes/default/, so replace that one and you should be OK.

scottws

Quote from: JayBachatero on February 14, 2006, 07:11:19 PM
Step by step procedure
1. Download file
   - http://www.simplemachines.org/community/index.php?action=dlattach;topic=66862.0;attach=12998
2. Connect to FTP
3. Browse to your forum/Themes/default folder
4. Upload
5. Repeat steps 3 and 4 for each theme that has a script.js file.

Quote from: Grudge on January 22, 2006, 02:08:25 PM
NiCRo - the script.js is in the theme directory called "default" - that is the only one you need to upload, not individual themes.

abcsurvivors, add "?j" after script.js



Ummm... so which is it?

JayBachatero

If your custom themes have their own .js file you update board files if not just update the default theme file.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

polchasa

I've just installed (and updated/patched) SMF but which script.js is the right one? The one at the start of this thread or the one in the updated_files_1-1-RC2.zip file in this thread:

http://www.simplemachines.org/community/index.php?topic=78841.0

Thanks

mediman

Quote from: roxpace on March 26, 2006, 01:08:29 PM
Anyway, whats the point with using JavaScript so much ?

SMF should have all its themes without any JavaScript and only JavaScript in "media fx" enhanced themes, there is no need for using JavaScript for only the functionality or good design, this is more an effect and multimedia design which is not what World-Wide Web is made for in the first case. Make SMF faster and with less possibilities to bugs, remove JavaScript and it will work and only use it in enhanced themes.

The total loadsize for pages would also be much smaller without JavaScript. See how big for example the standard theme which viewing the mainpage which shows all forums and subforums. A page shall normally never be more than 50-70 Kb including images. There is a lot of people on the net on bad backbones, isp:s and old modems, not so unusual as many thinks.

JS is more and more an important point of modern webpages.
Web 2.0, innerHTML, XMLHttpReQuests and all this makes sites faster not slower ...
It´s lesser traffix, when you can use so called microrequest.

Many of the Google Services or Flickr and all this sites makes an extensive use of JS.
My Projects: http://ticker-oase.de 
Please do not PM me with support requests.

JayBachatero

Quote from: polchasa on May 14, 2006, 01:11:07 PM
I've just installed (and updated/patched) SMF but which script.js is the right one? The one at the start of this thread or the one in the updated_files_1-1-RC2.zip file in this thread:

http://www.simplemachines.org/community/index.php?topic=78841.0

Thanks
Apply updated_files_1-1-RC2.zip since it have a few security fixes.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

roxpace

Quote from: mediman on May 14, 2006, 01:23:06 PM
Quote from: roxpace on March 26, 2006, 01:08:29 PM
Anyway, whats the point with using JavaScript so much ?

SMF should have all its themes without any JavaScript and only JavaScript in "media fx" enhanced themes, there is no need for using JavaScript for only the functionality or good design, this is more an effect and multimedia design which is not what World-Wide Web is made for in the first case. Make SMF faster and with less possibilities to bugs, remove JavaScript and it will work and only use it in enhanced themes.

The total loadsize for pages would also be much smaller without JavaScript. See how big for example the standard theme which viewing the mainpage which shows all forums and subforums. A page shall normally never be more than 50-70 Kb including images. There is a lot of people on the net on bad backbones, isp:s and old modems, not so unusual as many thinks.

JS is more and more an important point of modern webpages.
Web 2.0, innerHTML, XMLHttpReQuests and all this makes sites faster not slower ...
It´s lesser traffix, when you can use so called microrequest.

Many of the Google Services or Flickr and all this sites makes an extensive use of JS.

Javascript is old and not modern, it is also a heavy security risc in many environments. That is why MANY companies doesnt allow the ude of Javascript and has disabled it completely in all their workstations.

"Web 2.0" is just hyped junk and no standard which will not make any revolution... innerHTML (IE) and AJAX as you meantion is even more considered riscs in many environments, that it is why they are only an option for users, not a requirement on all serious websites on Internet. You are talking about Google for example, they do not demand this on their open public webpages at all, only on GMail and Statistics which is login based for a narrow service in mind.

Still there is a lot of websurfer with slow modems or slow connections where Javascript doesnt provide any easier life for them as I pointed out in the earlier example.
Always keep an eye on the latest from me at ...
http://www.jump-gate.com/

Advertisement: