- Posts: 4
- Thank you received: 1
Our Club Website was frozen after putting javascript to HTML coding place
10 years 9 months ago #40137
by tyano
Dear ambassador,
This is Taiichiro.
I belong to Imabari TMC of Japan(#1834055).
Now I have a trouble for our web site ( imabari.toastmastersclubs.org/ ), so I would like you to help me.
Recently our club built up our web site, and I created the web site. I wanted to improve the site more, so I tried to use javascript to HTML coding place of home page part. After refreshing, the site was frozen. I cannot enter our site, of course Login admin again as well.
I put javascript code "<script src="............"></script>" to use jQuery. Probably the lines made problems to freeze the site.
I want to remove the a few line that I've put already to HTML coding page of the home page, but because of the reason I cannot enter the site or login again. I cannot reach the site and remove them. Also I don't have any authority to access the FTP server to fix the file, so I have totally no idea to fix the problems...
So I would like you to fix it or access the file that I write the code and remove the code.
Please... Please...
best,
Taiichiro
This is Taiichiro.
I belong to Imabari TMC of Japan(#1834055).
Now I have a trouble for our web site ( imabari.toastmastersclubs.org/ ), so I would like you to help me.
Recently our club built up our web site, and I created the web site. I wanted to improve the site more, so I tried to use javascript to HTML coding place of home page part. After refreshing, the site was frozen. I cannot enter our site, of course Login admin again as well.
I put javascript code "<script src="............"></script>" to use jQuery. Probably the lines made problems to freeze the site.
I want to remove the a few line that I've put already to HTML coding page of the home page, but because of the reason I cannot enter the site or login again. I cannot reach the site and remove them. Also I don't have any authority to access the FTP server to fix the file, so I have totally no idea to fix the problems...
So I would like you to fix it or access the file that I write the code and remove the code.
Please... Please...
best,
Taiichiro
The topic has been locked.
- SteveTheTechie
- Offline
- Administrator
-
Less
More
- Posts: 11526
- Thank you received: 3050
10 years 9 months ago - 10 years 9 months ago #40139
by SteveTheTechie
Replied by SteveTheTechie on topic Our Club Website was frozen after putting javascript to HTML coding place
I am the system developer. I looked at what you did. I am not happy about this.
We already use jquery, so all you are accomplishing is just to kill our inclusion of it earlier in the file.
There is a reason that we say we do not support scripts. Also, you redefined some of our style rules.
If you had bothered to discuss this with us *before* you did this, I would have given you some pointers to keep you from creating problems.
With that said, do the following:
1. Access your website via a page other than the home page. e.g., the directions page.
2. Login to admin console, the script will hang. That is fine, you just need the code to load the source so you can salvage it.
3. Use browser's source view. Salvage (copy/paste) as much of your code as you can. It starts approximately around line 2260 (roughly).
4. When you get that done, come back here and we will delete your home page via our code. Your stuff is in your home page HTML, so that should resolve the issue. Then you can use what you salvaged to put something together that will actually work. Do not ditch our jquery that we are already including. (we are using a recent version)

Code:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script>
$(function(){
$('.fadein img:gt(0)').hide();
setInterval(function(){$('.fadein :first-child').fadeOut().next('img').fadeIn().end().appendTo('.fadein');}, 3000);
});
</script>


With that said, do the following:
1. Access your website via a page other than the home page. e.g., the directions page.
2. Login to admin console, the script will hang. That is fine, you just need the code to load the source so you can salvage it.
3. Use browser's source view. Salvage (copy/paste) as much of your code as you can. It starts approximately around line 2260 (roughly).
4. When you get that done, come back here and we will delete your home page via our code. Your stuff is in your home page HTML, so that should resolve the issue. Then you can use what you salvaged to put something together that will actually work. Do not ditch our jquery that we are already including. (we are using a recent version)
Last edit: 10 years 9 months ago by SteveTheTechie.
The topic has been locked.
10 years 9 months ago #40144
by tyano
Replied by tyano on topic Our Club Website was frozen after putting javascript to HTML coding place
I greatly appreciate your help!!
And sorry for my fault using script... I couldn't stop my curiosity to use script.
I'll never use script in the site, so don't get angry please 
I could login to admin console with following your advice. (I never come up with the idea that I can get into our site through another route to login. Nice idea.) I salvaged my code that suppose to be line 2267 to 2550 without script part.
Now I'm ready!
And sorry for my fault using script... I couldn't stop my curiosity to use script.


I could login to admin console with following your advice. (I never come up with the idea that I can get into our site through another route to login. Nice idea.) I salvaged my code that suppose to be line 2267 to 2550 without script part.
Now I'm ready!
The topic has been locked.
- SteveTheTechie
- Offline
- Administrator
-
Less
More
- Posts: 11526
- Thank you received: 3050
10 years 9 months ago #40146
by SteveTheTechie
Replied by SteveTheTechie on topic Our Club Website was frozen after putting javascript to HTML coding place
Look, even though we do not support scripts, people do use them with FTH. However, there are certain rules that need to be followed to prevent problems.
The topic has been locked.
10 years 9 months ago #40150
by tyano
Replied by tyano on topic Our Club Website was frozen after putting javascript to HTML coding place
Hi,
I cannot still look at our home page. Did I misunderstand what you said? What do I suppose to do next for me??
I thought next you'll delete our home page, then the issue will be resolve. so we can use the home page... Is this correct??
I cannot still look at our home page. Did I misunderstand what you said? What do I suppose to do next for me??
I thought next you'll delete our home page, then the issue will be resolve. so we can use the home page... Is this correct??
The topic has been locked.
- SteveTheTechie
- Offline
- Administrator
-
Less
More
- Posts: 11526
- Thank you received: 3050
10 years 9 months ago #40151
by SteveTheTechie
Replied by SteveTheTechie on topic Our Club Website was frozen after putting javascript to HTML coding place
We did not delete it yet.
The topic has been locked.
Time to create page: 0.119 seconds
Copyright © 2025 FreeToastHost 3 Support. All Rights Reserved.