HTML - Parse Error When Checking Page Ranking
Hi: I hope someone out there can help me.
My son and daughter created a website for me and now I have taken it over. I have been desperately trying to figure out why it doesn't come up in the search engines. Yesterday while working on the website, I decided to try a page rank checker and received the following message: Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/rankthi1/public_html/tools/nusoap.php on line 2264 As far as I can tell, there isn't a line 2264 (I counted them). I'm unfamiliar with php. Any guidance, would be greatly appreciated. Thanks in advance, Vicki 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 used Coffee cut as HTML editor but there is no error checking. Can someone recommend a editor with error checking? 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; Bear with me while I attempt to explain something I'd like to create. Note that I have previous HTML knowledge, but have not used this knowledge in a handful of years. I'm not sure how things are done these days. I'd like to create a very simple list of entries which are ranked according to a score. This list would also contain an entry function which would allow me to make additional entries - entries which are automatically sorted and ranked into the current listing. If possible, I would like to gather these scores from Metacritic.com. This way, all scores for all entries in the list are always up to date as well as automatically retrieved for new entries. I am specifically aiming for simplicity here. Will I need something beyond HTML? Should I be looking into PHP? I am not very familiar with PHP coding. How should I get started? Any and all suggestions and/or help would be very much appreciated. Thank you. The onlookers see most clearly. Thanks! Code: <head> <script type="text/javascript"> var dur = new Array(501); dur[0] = 128; dur[1] = 32; dur[2] = 32; dur[3] = 32; dur[4] = 32; dur[5] = 32; .... dur[498] = 32; dur[499] = 32; dur[500] = 32; function show(color) { for (var i=0;i<500;++i) { var obj = document.getElementById("wiki"+i); if (dur[i] <300) { obj.style.color = 'color'; } } </script> </head> <body class="mediawiki ns-0 ltr page-Cyber"> <form name="myform1"> <p><input type="button" value="Display less 10 days" onClick="show(red)"></p> </form> <form name="myform2"> <p><input type="button" value="Display less 30 days" onClick="show(yellow)"></p> </form> <div id="wiki439" id="globalWrapper"> <div id="wiki130" id="column-content"> <div id="wiki17" id="content"> Hi Guys, This is a really minor task but i cant seem to get rid of the page error on my homepage. If you go here http://www.pspwallpaper.co.uk/ then say click 'affiliates' and then hit the back button to the homepage it runs a error. Page error. If some1 could take a quick look and help me out. It might be just tiredness on my part i have been workin 3hours on new homepage and have no energy now lol. Any help gratefull. Regards, WhiteKnight Hi, i have recently made some changes to my contact page and now whenever i upload the new and also try the old unchanged page my contact form is all over the place. http://www.peacefullandscapes.com.au/contact_us.html note the submit button has gone and the white background is a mess please help!! thanks ive seen it done on other sites and was wondering how you would go about changing the look of your 404 error page. any help is welcomed. thanks in advance, ascskate Edit: damnit i screwed up the thread name. supposed to read changing 404 error page Go to the web page: http://YourCarThings.com and then select "About Us" from the Top Menu. When you go to the "AboutUs" page, you will receive the error: "Done, but with errors" I caused this by replacing the: jumpmenu Java Script Go to any of the other pages, and you won't get the error message because they use the previous jumpmenu javascript. Please advise. Thanks. Doug Walker See attached file I get this error in IE when my page has passed W3C CSS and XHTML and HTML tidy can anyone help rectify it!? Cheers, Mas Quote: Webpage Script Errors User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30) Timestamp: Wed, 12 Nov 2008 17:53:00 UTC Message: 'fdiv' is undefined Line: 2 Char: 2232 Code: 0 URI: http://www.colletts.co.uk/js/ActiveContentDropDown2.js Hi all and thank you to whomever can help me . I am new to this code stuff so thank you for bearing with me. I should add that I hope I am in the right folder.... On my blog http://www.rozpearcy.com I have an opt-in box on the right side. After people put in their information it is supposed to redirect to http://www.rozpearcy.com/thank-you. I have been told by my autoresponder company that it is the script that needs to adjusted. Right now I have an opt in box that I hate, I just want a simple name and email field with a submit button. This is the code they give me so that after someone submits their info they can receive my autoresponder emails: <form action="http://www.getresponse.com/cgi-bin/add.cgi" method="post" accept-charset="UTF-8"><label for="subscriber_name">Name :</label><input id="subscriber_name" name="subscriber_name" type="text" value="" /><br/><label for="subscriber_email">Email :</label><input id="subscriber_email" name="subscriber_email" type="text" value="" /><br/><input type="submit" /><input type="hidden" name="error_url" id="error_url" value=""/> <input type="hidden" name="confirmation_url" id="confirmation_url" value="http://www.rozpearcy.com/thank-you/"/> <input type="hidden" name="campaign_name" id="campaign_name" value="rozpearcy"/><input type="hidden" name="custom_ref" id="custom_ref" value=""/></form><script type="text/javascript">var el=document.getElementById("custom_http_referer");if(el != null){el.value = document.location};</script> The part in red is what I believe to be in question...my hosting company said that instead of it saying confirmation_url it should say redirect...however I don't know how to write it and the hosting company said they couldn't help with scripting issues. My blog is through wordpress if that helps...if you need any other details it would be much appreciated . My page loads correctly, but when I open a new tab in IE7 so the tab bar appears, my page shifts to the left, and the menu overlaps/ obscures parts of the images. I can't find a reason why this happens, can anyone help? A screenshot of the error can be found below: http://www.onetopsoccer.com/error.jpg The page itself is at http://www.onetopsoccer.com/index.shtml hello, I'm working on a site with a lengthy online application. When a user begins the application he is told to use the back and forward buttons on our form (not on his browser). We find that users still accidentally use the browser buttons and when they do a "Webpage has expired" error page comes up. This error page is not part of our site and is a dead end. I'm not a programmer so I don't know the specifics. I take it as a given that that browser buttons cannot function normally in our application, but I'd like to know if there is a way to get control of the error page that comes up when users do click their browser buttons. If we can show them a page reminding them not to use the browser buttons and put a link there to get them back to the application it would be a big help. Thanks Hey guys, I was wondering how you check on older browsers such as IE 6, 5 and Netscape, etc. Is there a program that lets you use older browsers or do you just have old computers laying around. Hi! I made a site and I wonder if there is any way to check my site. I thought that might be some software that allows you to make a server from you computer in order to verify your site from different computers, to simulate the loading of the site from different connections. Something like this: I'm going at another PC, I'm writing a ftp address and there is the site. And then I'm going to another PC to check my site from there too. If you know how to do this please let me know how. Thank you in advance. Cheers! hey i am trying to parse a website (crownsofpower.com/news.php) on to my website but am not sure about how to do so can someone help me please Hi All, I need to parse an HTML file into an existing HTML page. Initially I had used a PHP include to handle this, but it turns out the client server does not support PHP. An <iframe> is another option, but frames tend to be a *@#$ when it comes to interoperability, so I'd like to try another option - is there one? Hi I am new to this forum and hope you guys can help me. I am loading this html page http://hosted.where2getit.com/safewa...ressline=95135 My goal is to parse the page content and get the address of the Safeway store. I found however even I can see the address in the browser, but I can open the "page source", the store address is not in the html. What does this mean? Can I get the store address anyway? Thanks, fireman Hi, Background: I have a small page that need to be embeded into a bounch of other html pages. Help needed: 1. Please provide the html chunk that I can use to embed the small page in to other html pages. 2. Is there a way of not using iframe? Can I use <Object> or <embed>? How? --------------------------- mba colleges in london hospitality management diploma |