View Full Version : Website disaster!
JessicasDragons 11-03-2006, 02:22 PM :scared:
I have little know how when it comes to html.
My website crashes alot and dosent want to show or keeps falling down from view. I need help fixing it.
It's
www.freewebs.com/ojebussaveus
I checked with those html checkers and I know it has some bad scripts but I don't know how to fix them.
Feel free to check yourself.
Thank you in advanced!
JessicasDragons 11-03-2006, 08:25 PM I don't know where I checked the html code before.
I know there are places that can fix it automatically but, I am poor and don't have a job to pay for it. Thats kinda why I have a freewebs.
Hi JessicasDragons. The first time I accessed the site, it crashed my machine. So I used a seperate P.C running the Apache sever etc locally and using that in a safe mode I was able to get a snapshot of the code. What I see is that the scripting between the FREEWEBS titles and the JESSICA DRAGONS title seems to be the problem but without stability I cannot be sure. Removing the FREEWEBS stuff appears to stabalise things, albeit the site is not fully accessing images etc. Have you been in touch with freewebs? It would be helpful for others if you could post some source code to look at.
Sorry I could'nt be more helpful but with the state of the site it's hard to debug without the full source. All that is needed is the first page code.
Regards,
Ges.
JessicasDragons 11-04-2006, 03:39 PM Hi JessicasDragons. The first time I accessed the site, it crashed my machine. So I used a seperate P.C running the Apache sever etc locally and using that in a safe mode I was able to get a snapshot of the code. What I see is that the scripting between the FREEWEBS titles and the JESSICA DRAGONS title seems to be the problem but without stability I cannot be sure. Removing the FREEWEBS stuff appears to stabalise things, albeit the site is not fully accessing images etc. Have you been in touch with freewebs? It would be helpful for others if you could post some source code to look at.
Sorry I could'nt be more helpful but with the state of the site it's hard to debug without the full source. All that is needed is the first page code.
Regards,
Ges.
Thanks, I don't know how to remove the freewebs codes without getting my own domain and host. ^_^ Which I can't afford. I made the website layout with microsoft word. It seems to have some extra coding at the top but i didn't want to removing anything without first consulting someone who better knows. Here is my index page:
JessicasDragons 11-04-2006, 03:41 PM $receiver="flower44552000@yahoo.com";
$subject="Feedback";
$header="MIME-Version: 1.0\r\nContent-type: text/plain; charset=iso-8859-1\r\n";
//'add every form element and its value to the email
$body="";
foreach (array_keys($_POST) as $el)
{
if (strcmp("subject",strtolower($el))==0) $subject=$subject." -- ".$_POST[$el];
$value=$_POST[$el];
$display="";
if (is_array($value))
{
foreach ($value as $everydisplay)
{
$display.=$everydisplay." ";
}
}
else
{
$display=$value;
}
$body=$body. $el . ": " . $display . "\r\n";
}
//mail($receiver,$subject,$body);
if ($body!="") mail($receiver,$subject,$body,$header);
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xml:lang=en xmlns="http://www.w3.org/1999/xhtml" ><HEAD><title>Jessica's Dragons</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" >
<meta name="keywords" content="Jessica's Dragons,Games,play,dragon,betta,fish,buy,art,half moon,super delta" >
<meta name="description" content="Jessica's Dragons is a website that sells art and betta fish." >
<meta name="GENERATOR" content="Ewisoft Website Builder 3.0 from http://www.ewisoft.com/" >
<META http-equiv="Content-Language" content="FI" ><META http-equiv="Content-Style-Type" content="text/css" >
<link rel=stylesheet type="text/css" href="./usertpl/1citrus/style.css" ></HEAD>
<BODY>
<DIV id=upperBanner >
<table border=0 cellspacing=0 cellpadding=0 >
<tr>
<td><img src="./usertpl/1citrus/_ewisoft_logotrans.gif" hspace=10 vspace=10 align=absmiddle ></td>
<td><p class=slogan >Jessica's Dragons</p></td></tr></table></DIV>
<span>
<DIV id=tlinkBar >
<UL>
<span><LI><a href="p1.htm" target="_self" class=tlinkA >Home</a></span>
<span><LI><a href="about-us.htm" target="_self" class=tlink >About Us</a></span>
<span><LI><a href="contact-us.htm" target="_self" class=tlink >Contact Us</a></span>
<span><LI><a href="policies.htm" target="_self" class=tlink >Policies</a></span>
<span><LI><a href="games.htm" target="_self" class=tlink >Games</a></span>
</LI></UL></DIV></span>
<DIV id=llinkBar >
<UL>
<span><LI><a href="category-1.htm" target="_self" class=llink >My dragons</a></span>
<span><LI><a href="category-2.htm" target="_self" class=llink >My Art</a></span>
<span><LI><a href="category-3.htm" target="_self" class=llink >My bettas</a></span></LI></UL></DIV>
<DIV class="topBar gray" > </DIV>
<DIV id=main >
<H1>
<TABLE cellSpacing=0 cellPadding=0 width=135 align=right border=0 >
<TBODY>
<TR>
<TD>
<script type="text/javascript"><!--
google_ad_client = "pub-3198094207673953";
google_ad_width = 180;
google_ad_height = 60;
google_ad_format = "180x60_as_rimg";
google_cpa_choice = "CAAQqeyWhAIaCLr54RZUBO6cKL3D93M";
google_ad_channel = "";
//--></script>
</TD>
<TD>
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="flower44552000@yahoo.com">
<input type="image" src="https://www.paypal.com/en_US/i/btn/view_cart.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<input type="hidden" name="display" value="1">
<input type="hidden" name="page_style" value="PayPal">
</form></TD></TR></TBODY></TABLE>Welcome to Jessica's Dragons </H1>
<P>Hello, my name is Jessica! I have created this site so I can sell my Art and fish. <BR>It would be great if you bought something from me because the people at my house could really use the money.<BR>This is a freewebs website which means I don't pay hosting or domain names because I can't afford it.<BR>Maybe in the future I can. Well, enjoy! I hope you like the website. I worked very hard on it.</P>
JessicasDragons 11-04-2006, 03:43 PM <TD><TR>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHiAYJKoZIhvcNAQcEoIIHeTCCB3UCAQExggEwMIIBLAIBAD CBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYD VQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW 5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA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EPFw0wNjA5M jUxNzE0NTJaMCMGCSqGSIb3DQEJBDEWBBR+PPvt4rR04H6S+v2 HyhrD4z8W3zANBgkqhkiG9w0BAQEFAASBgD31quooh2oU5vBA3 4V3AfaItk9WA29thIyTKcre5SnCGa0DlR0Cp9Gum2fwLbpVecf piG7Xj5aMgB+j6tBCJ7dqo9ls4E6DvUa3BUrxTnhm2/5ylpJiPwxBac746PygIwI4kVGa5R94jqoACQLLh7AHPJgapNhg qYtDNW8uOHTX-----END PKCS7-----
">
</form>
<P>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=1 >
<TBODY>
<TR>
<TD vAlign=top width="33%" >
<P align=center ><A href="./category-1.htm" ><IMG style="WIDTH:184px;HEIGHT:168px;" height=242 src="./user/image/hehoo.png" width=322 border=0 ></A></P></TD>
<TD vAlign=top width="33%" >
<P align=center ><A href="./category-2.htm" ><IMG height=90 src="./user/image/th_eoopeuoir.gif" width=159 border=0 ></A></P></TD>
<TD vAlign=top width="33%" >
<P align=center ><A href="./category-3.htm"><IMG height=140 src="./user/image/betta_thumbnail.JPG" width=157 border=0 ></A></P></TD></TR>
<TD>
<P align=center ><A href="./category-1.htm" >Dragons</A></P></TD>
<TD>
<P align=center ><A href="./category-2.htm" >Art</A></P></TD>
<TD>
<P align=center ><A href="./category-3.htm" >Bettas</A></P></TD></TR></TBODY></TABLE></P></DIV>
<DIV class="bottomBar gray" > </DIV>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<DIV class="bottomBar yellow" >Copyright © 2006 Jessica's Dragons Inc. All rights reserved<br>
<!-- Start of StatCounter Code -->
<script type="text/javascript" language="javascript">
var sc_project=1918040;
var sc_invisible=0;
var sc_partition=17;
var sc_security="c83962b1";
</script>
<script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js"></script><noscript><a href="http://www.statcounter.com/" target="_blank"><img src="http://c18.statcounter.com/counter.php?sc_project=1918040&java=0&security=c83 962b1&invisible=0" alt="best tracker" border="0"></a> </noscript>
<!-- End of StatCounter Code -->
</BODY></DIV></BODY></HTML>
vadimo 11-07-2006, 09:58 AM juses that code is a mess, i dont think this should be at the top:
$receiver="flower44552000@yahoo.com";
$subject="Feedback";
$header="MIME-Version: 1.0\r\nContent-type: text/plain; charset=iso-8859-1\r\n";
//'add every form element and its value to the email
$body="";
foreach (array_keys($_POST) as $el)
{
if (strcmp("subject",strtolower($el))==0) $subject=$subject." -- ".$_POST[$el];
$value=$_POST[$el];
$display="";
if (is_array($value))
{
foreach ($value as $everydisplay)
{
$display.=$everydisplay." ";
}
}
else
{
$display=$value;
}
$body=$body. $el . ": " . $display . "\r\n";
}
//mail($receiver,$subject,$body);
if ($body!="") mail($receiver,$subject,$body,$header);
try deleting it and run without it?
what microsoft frontpage version you use?
ojebussaveus 11-07-2006, 03:17 PM juses that code is a mess, i dont think this should be at the top:
try deleting it and run without it?
what microsoft frontpage version you use?
I have deleated all the codes at the top It still falls down for some reason. My computer didn't freeze this time. Um, I have microsoft office 2003. I guess I need to make another site but it is gonna just be another headache for me. I need assistance. ^_^
Milque 11-07-2006, 03:54 PM I made the website layout with microsoft word.
First important rule in creating a website: NEVER use Microsoft Word for editing HTML. Use Notepad instead, or some other plain-text editor. Microsoft Word has all sort of formatting thrown that is not suitable in making a web page using HTML.
Good luck :)
vadimo 11-07-2006, 04:23 PM i dont think she/he can use Notepad, she sounds not so familiar with HTML.
hey ojebussaveus, that code is too much for me and you to sort out. You really need to get Dreamweaver MX 2004 if you dont know much about HTML coding, its a greta program anyway.
thx
J to the izzosh 11-07-2006, 06:25 PM Hi, Jessica. I'm with Milque on this one: you should really learn to code these things by hand. WYSIWYG (What You See Is What You Get) editors like FrontPage and Dreamweaver can only get you so far. Writing all of your source manually in a text editor will give you much more control and save you a lot of potential headaches in the long run. You should take the time to learn how to do everything and may want to start here (http://www.lissaexplains.com/basics.shtml). Doing a web search for terms like "HTML tutorials" should help you along the rest of the way.
If you give it a go and it just seems too much, then you should at least use a proper WYSIWYG editor, like Dreamweaver which vadimo mentioned, instead of the half-baked implementation in MS Word. Nvu is a good, free, open-source, and multi-platform editor.
Also, please do us a favour and stick to using just one account on the LEIA forums. ;)
|