HTML - Sporadic 500 Error
It's a server error and not a client's issue.
You might find some fix on these links: http://en.wikipedia.org/wiki/List_of_HTTP_status_codes http://pcsupport.about.com/od/findby...ervererror.htm http://pcsupport.about.com/od/termsh...statuscode.htm Similar TutorialsCode: Parse error: syntax error, unexpected T_DNUMBER in /home/a6989956/public_html/include/database.php on line 24 Can anyone please tell me whats wrong? Here is line a few lines Code: class MySQLDB { var $connection; //The MySQL database connection var $num_active_users; //Number of active users viewing site var $num_active_guests; //Number of active guests viewing site var $num_members; //Number of signed-up users /* Note: call getNumMembers() to access $num_members! */ /* Class constructor */ function MySQLDB(){ /* Make connection to database */ $this->connection = mysql_connect(hostname, username, ********) or die(mysql_error()); mysql_select_db(database, $this->connection) or die(mysql_error()); /** * Only query database to find out number of members * when getNumMembers() is called for the first time, * until then, default value set. */ $this->num_members = -1; if(TRACK_VISITORS){ /* Calculate number of users at site */ $this->calcNumActiveUsers(); /* Calculate number of guests at site */ $this->calcNumActiveGuests(); } } line 24-25 is Code: $this->connection = mysql_connect(hostname, username, ********) or die(mysql_error()); mysql_select_db(database, $this->connection) or die(mysql_error()); PLEASE HELP! I'm having an annoying problem that I'm not understanding why it doesn't work. At this point I'm sure it's something simple I'm overlooking. I have a horizontal accordion menu, which is using a UL, now in my Services section of the menu, I have another UL that only shows the first item, and the button that is suppose to be there disappears. According to W3 validation tools, all of my HTML and CSS is error free, so not sure why it's behaving like this. The website is http://dev.jabrowndesigns.com Thanks for any advice. P.S. The menu doesn't work IE for some reason, haven't quite reached it yet as it's not too high on my list at the moment, but if anyone knows off the bat how to fix it, thanks for that too! Hey, I'm new to this but am trying to upload a web photo gallery that I created with Adobe Lightroom. The program creates the index and all necc. files for the webpage. I uploaded these files and am coming up with this error on my domain (www.scottrlacy.com): Parse error: syntax error, unexpected T_STRING in /home/www/scottrlacy.com/index.html on line 1 I know it must mean that something is wrong with my 1st line of my index. Here are the first 10 lines for your reference. Any help is greatly apprediated <?xml version="1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>www.scottrlacy.com</title> <style type="text/css"> body,html { margin-top:0; Im just starting to get into an ajax project (a drag and drop cart) for a website. I have NEVER used ajax before untill now. Anyhow this project does have an XHTML page which is something else I have never done untill now but I am getting an error and I am wondering how to fix it. Here is the error: XML Parsing Error: not well-formed Location: file:///C:/xampp/htdocs/viewable/uploader/ajax/cart.xhtml Line Number 67, Column 31: var pars = 'clear=true&rand=' + rand; ------------------------------------------------------------------^ That line in the code is this... Quote: var pars = 'product_id=' + prod + '&rand=' + rand; If you need more info let me know Thanks alot for the help in advance. Hello, I am new here and pretty new to the HTML world. I am trying to post something on a website using DreamWeaver. I keep getting an error that looks like an A with a carrot pointing upward. How do I get rid of this or what does this mean? THANKS! My website used to work properly but now, the portion that lets people travel into the different portion of the site does not appear anymore on Internet Explorer 8.0.7600? When editing with my PHP tool, it works. When using Google Chrome it works also. Therefore, I would say it is a technicality between the version of Explorer. Where or how can I check this. www.automatisationajp.com Thank you in advance for your help. stay1001 I am currently working on a home page for my new website. so far it is going quite well other than one problem. Basically my template which i downloaded is not doing what i want it to do. The problem is positioning, i am tryning to position my navigation bar, so that it is on the left side and my content container on the right. However i do not want my container on the very right as i am planning to use an advertising service such as google adsense. This is what i would like it to look like: Whenever i type in my css file in the code for the content "margin-left:"250px"; (my navigation is 220px). it causes my navigation bar to move down. Whenever i type in "margin-right:700px;" the content column clings to the left no mater how many pixels i type in, it always cligns to the left as if it is afraid of the right side! The html, css files and images are placed at the bottom of this post in a zip file incase the following css code is not enough. Code: My css code for navigation(#left) and content(#right). #left { width: 220px; float: left; margin-left: 20px; } #right { width: 450px; margin-right: 250px; } Hi I just developed a my site called www.365telecom.com in a "Firefox browser" but when I open it up in Internet Explore I get a Stack Overflow at line: 0 Error What do I have to do to make the site run smooth in both browsers????? Hi, can anyone help me understand why am i getting this error: Page: http://www.mysite.com Category: 102 - SCRIPT not commented Date: 3/30/09 Severity: 4 Threshold: Message: No comment around script content thanks to all for ur time. [url="http://www.buildit.sitesell.com/lavy.html"]SEO friendly Websites[\URL] This page contains the following errors: error on line 1 at column 60: Space required after the Public Identifier Below is a rendering of the page up to the first error.I copied the first part of the code because the error is at line 1.Where exactly do you think the space should come <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> it says that end tag for table is not finished. here is the sequence <form action="$vboptions[forumhome].php" method="get"> <table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="$stylevar[outertablewidth]" class="page" align="center"></table> <div align="center"> apreciate any help you can give me I inherited a web page that has "background" as an attribute for a <td>: <td background="images/nav_back.jpg"... Validation gives - there is no attribute "BACKGROUND" The doctype is <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> Is there a work-around? That background image is needed. Thanks... Hi there I have edited a website in front page and it has a basic slideshow of top pictures. When previewing it in frontpage it shows fine and works well. However, when uploading to the site, it shows the three pictures as one large block. Can anyone advise where I am going wrong? the page on the site is www.thepullmanlodge.co.uk/weddings.htm Thanks I am trying to help a friend with his website after his admin left. The site was set up years ago and was never finished. He had a simple web form that would send an email using the code below. The previous guy had the output going to himself and then he would fwd to the sites owner. Strange but not sure why. I just went in to edit the email address, but now I get a "The requested URL /_derived/nortbots.htm was not found on this server." after hitting submit. I googled the error and the only thing I can find is that possibly the original page was created in Frontpage and after opening the file in Notepad++ the file lost some FP attribute. Any ideas what I should try? Thanks Here is the code: <html> <head> <title> Newsletter Registration</title> <meta name="description" content="domain.com" /> <meta http-equiv="Content-type" content="text/html; charset=UTF-8" /> <script src="/resource/js/main.js" type="text/javascript"></script> <link href="/resource/css/main.css" type="text/css" rel="stylesheet" media="all" /> </head> <body onload="initJS();"> <div id="wrapper"> <table id="mainTable" cellspacing="0" cellpadding="0"> <tr id="banner"> <td style="font-family:Arial,sans-serif; color:white; text-align:right; vertical-align:middle; padding:5px 30px 0 0;" colspan="3"> <p style="padding:0; margin:0;"> <!--webbot bot="Include" U-Include="resource/include/quicksearch.html" tag="body" startspan--> <form method=get action="/cgi-bin/listman/exec/search.cgi"> <input type="hidden" name="search" value="1"> <input type="hidden" name="perpage" value="10"> <input type="hidden" name="marknew" value="1"> <input type="hidden" name="euro_numbers" value="0"> <input type="hidden" name="sort_order" value="3,abc,forward" /> CITY <select name="lfield3_match" size="1"> <option value="" selected>Any</option> <option>Affton</option> <option>Woodson Terrace</option> </select> ZIP <input type="text" size="10" name="lfield5_match" /> <input type="submit" value="Quick Search" /> </form> <!--webbot bot="Include" i-checksum="56169" endspan --></p> </td> </tr> <tr id="menu"> <td style="vertical-align:top;" colspan="3"> <map id="menu" name="menu"> <area shape="rect"#Home coords="32,4,94,24" href="/index.html" title="Home" /> <area shape="rect"#List Properties coords="151,3,292,26" href="/cgi-bin/listman/exec/search.cgi" title="List Properties" /> <area shape="rect"#Rentals coords="360,4,429,25" href="/rentals.html" title="Rentals" /> <area shape="rect" coords="491,3,604,25" href="./contactus.html" title="Contact Us" /> <area shape="rect"#About Us coords="673,3,773,25" href="/aboutus.html" title="About Us" /> <area shape="rect"#Benjy's Ads coords="832,4,946,26" href="/domain.html" title="Benjy's Ads" /> <area shape="default" nohref="nohref" alt="" /> </map> <img usemap="#menu" style="width:974px; height:30px; padding-bottom:15px; border:0;" src="./resource/image/menu.jpg" title="Home" /> </td> </tr> <tr> <td style="width:30px; height:100%; background:#3300cc url('/resource/image/shadowleft.jpg') repeat-y top left; vertical-align:top; text-align:right"> <div style="height:100%; background:url('/resource/image/bgbottomleftcol.jpg') no-repeat bottom left;"> </div> </td> <td style="width:941px; vertical-align:top;"> <div id="content" style="height:100px; border:1px solid black; overflow:auto; padding:15px; background-color:white;"> <div style="border:1px solid black; background-color:lightgrey;"> <h2 style="padding:5px; margin:0;">Benjys Newsletter Registration</h2> </div> <ul> <li>New Properties "<font color="#0000FF">Last Seven Days</font>", </li> <li>New Properties "<font color="#0000FF">Last 30 Days</font>", and </li> <li>A Complete Listing of all Properties</li> </ul> <p align="center"><font color="#0000FF"><b>To join the Newsletter, just enter the following information below.</b></font></p> <form method="POST" name="registration" action="_derived/nortbots.htm" webbot-action="--WEBBOT-SELF--" onSubmit="location.href='_derived/nortbots.htm';return false;" webbot-onSubmit=""> <!--webbot bot="SaveResults" U-File="_private/form_results.csv" S-Format="TEXT/CSV" S-Label-Fields="TRUE" B-Reverse-Chronology="FALSE" S-Email-Format="TEXT/PRE" S-Email-Address="sander.liebert@gmail.com" B-Email-Label-Fields="TRUE" B-Email-Subject-From-Field="FALSE" S-Email-Subject="Info - Benjy's Newsletter Registration Page" S-Builtin-Fields startspan --><input NAME="VTI-GROUP" TYPE="hidden" VALUE="0"><!--webbot bot="SaveResults" endspan i-checksum="37496" --> <div align="center"> <table border="0" width="86%" id="table1"> <tr> <td width="211" align="center">First Name<br> <input type="text" name="First" size="20" style="border: 1px solid #0000FF; background-color:#CCFFFF"> </td> <td width="258" align="center">Last Name<br> <input type="text" name="Last" size="25" style="border: 1px solid #0000FF; background-color:#CCFFFF"> </td> <td align="center">Email Address<br> <input type="text" name="Email" size="40" style="border: 1px solid #0000FF; background-color:#CCFFFF"></td> </tr> <tr> <td width="211"> </td> <td width="258"> </td> <td> </td> </tr> </table> </div> <p align="center"> <input type="submit" value="Submit" name="B1" style="border: 1px solid #0000FF"> <input type="reset" value="Reset" name="B2" style="border: 1px solid #0000FF"></p> </form> </div> </td> <td style="width:30px; height:100%; background:#3300cc url('/resource/image/shadowright.jpg') repeat-y top right; vertical-align:top"> <div style="height:100%; background:url('/resource/image/bgbottomrightcol.jpg') no-repeat bottom right;"> </div> </td> </tr> </table> </div> </body> </html> I've a Syntax error with the following code, any helpwould be grateful <div class="menuBar c2"><a class="menuButton" href="" onclick="return buttonClick(event, 'lifesavingmenu');" onmouseover="buttonMouseover(event, 'lifesavingmenu');">Lifesaving<\/a> <a class="menuButton" href="" onclick="return buttonClick(event, 'mnoticesmenu');" onmouseover="buttonMouseover(event, 'mnoticesmenu');">"M" Notices<\/a> <a class="menuButton" href="" onclick="return buttonClick(event, 'stabilitymenu');" onmouseover="buttonMouseover(event, 'stabilitymenu');">Stability<\/a> <a class="menuButton" href="" onclick="return buttonClick(event, 'radarmenu');" onmouseover="buttonMouseover(event, 'radarMenu');">Radar<\/a> <a class="menuButton" href="" onclick="return buttonClick(event, 'merchantnavymenu');" onmouseover="buttonMouseover(event, 'merchantnavymenu');">Merchant Navy<\/a> <a class="menuButton" href="" onclick="return buttonClick(event, 'alterationsmenu');" onmouseover="buttonMouseover(event, 'alterationsmenu');">Alterations<\/a> <a class="menuButton" href="" onclick="return buttonClick(event, 'lightrecognitionmenu');" onmouseover="buttonMouseover(event, 'lightrecognitionmenu');">Light Recognition<\/a> <a class="menuButton" href="" onclick="return buttonClick(event, 'checklistsmenu');" onmouseover="buttonMouseover(event, 'checklistsmenu');">Checklists<\/a> <a class="menuButton" href="" onclick="return buttonClick(event, 'chartworkmenu');" onmouseover="buttonMouseover(event, 'chartworkmenu');">Chartwork<\/a> <a class="menuButton" href="" onclick="return buttonClick(event, 'situationsmenu');" onmouseover="buttonMouseover(event, 'situationsmenu');">Situations<\/a> <a class="menuButton" href="" onclick="return buttonClick(event, 'photogallerymenu');" onmouseover="buttonMouseover(event, 'alterationsmenu');">Photo Gallery<\/a><\/div> <script type="text/javascript"> function changeSrc() { document.getElementById("myImage").src="help_button.gif"; } </script> </head> <body> <img id="myImage" src="audio_button.gif" width="107" height="98" /> <br /><br /> <input type="button" onclick="changeSrc()" value="Change image" /> This is my html code, while go through the output, get only one rectangle and button, i can't see this image,??????... which i include in the code.i already put the image in same folder. I've gotten this error even though I do have all the objects declared: Line384 Error: 'window.document.patentfrm.patentList' is null or not an object patentfrm: refers to the form name patentList: refers to the name of the list this error occurs when ever I try to add a patent a the list any possible reasons? |