By bryancasler on
Hi everyone, I have the following code in a block
<script language="JavaScript">
TargetDate = "8/6/2009 7:00 AM";
BackColor = "#fee480";
ForeColor = "#4f5c48";
CountActive = true;
CountStepper = -1;
LeadingZero = true;
DisplayFormat = "%%D%% days left until";
FinishMessage = "Convention is finally here!";
</script>
<script language="JavaScript" src="http://scripts.hashemian.com/js/countdown.js"></script>
<b>Convention 2009!</b> IVAW Members <a href="http://ivaw.org/convention2009">Register Today</a>
The block was originally set to display only on the homepage. When I switched it to display on every page my ENTIRE SITE went down. Check it out http://www.IVAW.org
Where do I go from here ?
Comments
Well if the block displayed
Well if the block displayed on the front page, enabling it for all pages should have been ok.
The error message "says too many connections", there is nothing to suggest the block uses the database so the cause may be elsewhere.
Things to try
1) Try editing the database (this may fail if there are too many connections). Edit the 'blocks' table, locate your block and set status to 0.
2) You may need to restart mySQL
Side note: It is generally not best practice to load scripts from other servers.
Thanks, now a question about MySQL
I think I need to restart the MySQL server since my phpMyAdmin page just throws errors. Unfortunantly this is my first time ever doing anything like this.
I have the server IP Address, Root user Name and Pass.
What program would you suggest for logging in? I think it is supposed to be bash or something ? What do I even type to login ?
I was also told by the previous webmaster this would reset the server, is this true ?
shutdown –r –now
Any more help/direction provided will be greatly useful.
It sounds like you have
It sounds like you have complete control over the server (not a shared hosting account).
If you have access to the shell (bash) shutdown would be one approach.