Solved

XHTML 1.0  Validator problems

Posted on 2014-02-27
18
1,190 Views
Last Modified: 2014-02-27
I have problems with this program.  I have 5 errors and several warnings.  Can you help me to find the errors on my cpanel so that I can edit the files.  To make this program work.
0
Comment
Question by:assaultkitty
  • 11
  • 5
  • 2
18 Comments
 

Author Comment

by:assaultkitty
ID: 39891997
www.barbaraannetteparson.com  -  please check the validator.w3.org  I cannot find the error - on my cpanel.  I do not know where the file is for the this source code.  Can you help?
0
 
LVL 58

Expert Comment

by:Gary
ID: 39892058
You cannot have anything after the closing body tag (except the closing HTML tag)
0
 

Author Comment

by:assaultkitty
ID: 39892069
where do I go to correct this error.  Also where do I locate this file for the source code
0
 
LVL 58

Expert Comment

by:Gary
ID: 39892081
Is this Wordpress?
0
 

Author Comment

by:assaultkitty
ID: 39892085
Here is the code with corrections.  I do not know which file to put this code.  Can you help me figure this out?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator" content="HTML Tidy for Linux (vers 25 March 2009), see www.w3.org" />
<title>Import and Export Directory</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript">
//<![CDATA[
            var DOC_ROOT = 'http://barbaraannetteparson.com';
//]]>
</script>
<link rel="stylesheet" type="text/css" href="/templates/Allure/style/column.css" />
<link rel="stylesheet" type="text/css" href="/templates/Allure/style/form.css" />
<link rel="stylesheet" type="text/css" href="/templates/Allure/style/main_min.css" />
<link rel="stylesheet" type="text/css" href="/templates/Allure/style/colors/default-theme.css" /><!--[if IE 7]>
        <link rel="stylesheet" type="text/css" href="/templates/Allure/style/ie7.css" />
          <![endif]-->
<link rel="stylesheet" type="text/css" href="/templates/Core/DefaultFrontend/style/select2.css" />
<link rel="stylesheet" type="text/css" href="/templates/Core/DefaultFrontend/style/fg.menu.css" />
<link rel="stylesheet" type="text/css" href="/templates/Core/DefaultFrontend/style/theme/jquery-ui-1.8.23.custom.css" />
<meta name="keywords" content="PHP Link Directory,submit link,payment,categories" />
<meta name="description" content="This is the link directory where you can submit the URL to your homepage. Powered by PHP Link Directory." />
<meta name="author" content="Barbara Parson / Blue Bee" />
<meta name="copyright" content="Copyright (c) 2009 by Barbara Parson. All rights reserved!" />
<meta name="generator" content="PHP Link Directory 5.2.2" />
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js">
</script>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/jquery-ui.min.js">
</script>
<script type="text/javascript">
//<![CDATA[
             var $ = jQuery.noConflict();
//]]>
</script>
<script type="text/javascript" src="/javascripts/jquery/jquery.select2.js">
</script>
<script type="text/javascript" src="/javascripts/jquery/jquery.fg.menu.js">
</script>
<style type="text/css">
/*<![CDATA[*/
body {


}
/*]]>*/
</style>

<style type="text/css">
/*<![CDATA[*/
 div.c9 {bottom:0;position:fixed;_position:absolute;right:0;}
 div.c8 {margin-right:10px;margin-left:25%}
 div.c7 {width:25%}
 div.c6 {text-align: center}
 div.c5 {overflow: visible}
 div.c4 {position:absolute; margin-top:7px;}
 div.c3 {margin-top:5px;}
 input.c2 {width: 400px;}
 img.c1 {margin: 0px 0px 0px 46px;}
/*]]>*/
</style>
</head>
<body>
<div class="phpld-wbox">
<div class="userPanel"><a href="/login" class="btn-slide">Login</a>  |  <a href="/user/register" title="Register new user">Register</a></div>
<div class="phpld-clearfix"></div>
<div class="header">
<div class="headerLogo"><a href="/" title="Import and Export Online Business Link Directory"><img src="/logo_thumbnail.php?pic=/uploads/new%20(1).png&amp;width=328" class="c1" alt="Import and Export Online Business Link Directory" /></a></div>
<script type="text/javascript">

var servername = ""+"/Search/ajaxSearchLinks/";

function split( val ) {
    return val.split( /,\s*/ );
}

function extractLast( term ) {
    return split( term ).pop();
}

function linkFormatResult(link) {
    //<![CDATA[
    var markup = "<hr \/><div class='listing-list-item ajax-search-result'>";
    markup += "<div class='link-info'><div class='listing-title'><a href='"+link.url+"'><b>" + link.title + "<\/b><\/a><\/div>";
    if (link.description !== undefined) {
        markup += "<div class='description'><a href='"+link.url+"'>" + link.description + "<\/a><\/div>";
    }
    markup += "<\/div><\/div>"
    return markup;
    //]]>
}


function linkFormatSelection(link) {
     return link.title;
}

var currEnteredData = null;

jQuery(document).ready(function($){
    $("#autoquery").select2({
        placeholder:"Search for a link",
        minimumInputLength:1,
        ajax:{
            url:servername,
            dataType:'json',
            quietMillis:100,
            allowClear:true,
            data:function (term, page) { // page is the one-based page number tracked by Select2
                return {
                    linkQuery: {q: term, loc: $("#autoquery-location").val()}, //search term
                    page_limit:100 // page size
                };
            },
        results:function (data, page) {
            // notice we return the value of more so Select2 knows if more results can be loaded
            for (x in data.result) {
                data.result[x].id = data.result[x].url;
            }
            data.result.unshift({'id':data.url, 'title':currEnteredData, 'url':'/search?search='+currEnteredData})
            return {results:data.result};
        }
    },

    formatResult:linkFormatResult, // omitted for brevity, see the source of this page

    formatSelection:linkFormatSelection // omitted for brevity, see the source of this page

    }).on('change', function(event){

        document.location.href = $(this).val();

    });



    jQuery(".select2-search input[type='text']").keyup(function(event){
        currEnteredData = jQuery(this).val();

    });

        jQuery("#search_form").submit(function(){
                jQuery("#autoquery").val(currEnteredData);              
        });     

});



</script>
<form class="phpld-form headerSearch" action="/search" method="get" id="search_form" name="search_form">
<div class="phpld-columnar phpld-equalize c5">
<div class="phpld-fbox-text float-left c3"><input name="search" maxlength="150" id="autoquery" class="c2" value="" /></div>
<div class="phpld-fbox-button float-left c4"><input class="button phpld-searchbutton" type="submit" value="GO" /></div>
</div>
</form>
</div>
</div>
<div class="phpld-clearfix"></div>
<div class="phpld-wbox phpld-hlist" id="nav">
<ul>
<li><a href="http://barbaraannetteparson.com/submit">Submit Link</a></li>
<li><a href="http://barbaraannetteparson.com/latest">Latest Links</a></li>
<li><a href="http://barbaraannetteparson.com/top">Top Hits</a></li>
<li><a href="http://barbaraannetteparson.com/contact">Contact</a></li>
<li><a href="http://barbaraannetteparson.com/rss">RSS</a></li>
<li><a href="http://barbaraannetteparson.com/page/about-us-1">About Us</a></li>
</ul>
</div>
<div class="phpld-wbox">
<div class="phpld-clearfix"></div>
<div class="content-wrapper">
<div class="path breadcrumbs"><span><a href="http://barbaraannetteparson.com/">Import and Export Online Business Link Directory</a></span></div>
<div class="phpld-column linearize-level-1">
<div class="phpld-col1 phpld-cbox phpld-grid phpld-full phpld-widget c7" id="widget_76">
<div class="boxTop"></div>
<div class="c6"><script type="text/javascript">
//<![CDATA[
sa_client = "a536d47e473c247f9ddae33ca795c475";
sa_code = "76945aee402e42c4b5b996c7a2813b78";
sa_protocol = ("https:"==document.location.protocol)?"https":"http";
sa_pline = "0";
sa_maxads = "2";
sa_bgcolor = "FFFFFF";
sa_bordercolor = "BDD631";
sa_superbordercolor = "BDD631";
sa_linkcolor = "001EB5";
sa_desccolor = "000000";
sa_urlcolor = "788300";
sa_b = "1";
sa_format = "column_120x240";
sa_width = "120";
sa_height = "240";
sa_location = "0";
sa_radius = "6";
sa_borderwidth = "1";
sa_font = "0";
document.write(unescape("%3cscript type='text/javascript' src='"+sa_protocol+"://sa.entireweb.com/sense.js'%3e%3c/script%3e"));
//]]>
</script></div>
</div>
<div class="phpld-col3 phpld-cbox phpld-grid phpld-full phpld-widget c8" id="widget_52">
<div class="boxTop"></div>
<h3>Import and Export Business Categories</h3>
<div class="phpld-grid AllCategories">
<div class="phpld-g33 phpld-gl phpld-gbox">
<h4><a href="http://barbaraannetteparson.com/Arts/" title="Arts">Arts</a><span>(0)</span></h4>
<ul>
<li><a href="http://barbaraannetteparson.com/Arts/Publishers/" title="Publishers" class="phpld-gray">Publishers</a></li>
<li><a href="http://barbaraannetteparson.com/Arts/Libraries/" title="Libraries" class="phpld-gray">Libraries</a></li>
<li><a href="http://barbaraannetteparson.com/Arts/Museums/" title="Museums" class="phpld-gray">Museums</a></li>
</ul>
</div>
<div class="phpld-g33 phpld-gl phpld-gbox">
<h4><a href="http://barbaraannetteparson.com/Business/" title="Business">Business</a><span>(0)</span></h4>
<ul>
<li><a href="http://barbaraannetteparson.com/Business/Regional/" title="Regional" class="phpld-gray">Regional</a></li>
<li><a href="http://barbaraannetteparson.com/Business/News_and_Media/" title="News and Media" class="phpld-gray">News and Media</a></li>
<li><a href="http://barbaraannetteparson.com/Business/Retail_Trade/" title="Retail Trade" class="phpld-gray">Retail Trade</a></li>
</ul>
</div>
<div class="phpld-g33 phpld-gl phpld-gbox">
<h4><a href="http://barbaraannetteparson.com/Computers_and_Internet/" title="Computers and Internet">Computers and Internet</a><span>(0)</span></h4>
<ul>
<li><a href="http://barbaraannetteparson.com/Computers_and_Internet/Home_Automation/" title="Home Automation" class="phpld-gray">Home Automation</a></li>
<li><a href="http://barbaraannetteparson.com/Computers_and_Internet/Speech_Technology/" title="Speech Technology" class="phpld-gray">Speech Technology</a></li>
<li><a href="http://barbaraannetteparson.com/Computers_and_Internet/Graphics/" title="Graphics" class="phpld-gray">Graphics</a></li>
</ul>
</div>
<div class="phpld-g33 phpld-gl phpld-gbox">
<h4><a href="http://barbaraannetteparson.com/Games/" title="Games">Games</a><span>(0)</span></h4>
<ul>
<li><a href="http://barbaraannetteparson.com/Games/Roleplaying/" title="Roleplaying" class="phpld-gray">Roleplaying</a></li>
<li><a href="http://barbaraannetteparson.com/Games/Party_Games/" title="Party Games" class="phpld-gray">Party Games</a></li>
<li><a href="http://barbaraannetteparson.com/Games/Coin-Op/" title="Coin-Op" class="phpld-gray">Coin-Op</a></li>
</ul>
</div>
<div class="phpld-g33 phpld-gl phpld-gbox">
<h4><a href="http://barbaraannetteparson.com/Health/" title="Health">Health</a><span>(0)</span></h4>
<ul>
<li><a href="http://barbaraannetteparson.com/Health/Nursing/" title="Nursing" class="phpld-gray">Nursing</a></li>
<li><a href="http://barbaraannetteparson.com/Health/Aging/" title="Aging" class="phpld-gray">Aging</a></li>
<li><a href="http://barbaraannetteparson.com/Health/Child_Health/" title="Child Health" class="phpld-gray">Child Health</a></li>
</ul>
</div>
<div class="phpld-g33 phpld-gl phpld-gbox">
<h4><a href="http://barbaraannetteparson.com/Home/" title="Home">Home</a><span>(0)</span></h4>
<ul>
<li><a href="http://barbaraannetteparson.com/Home/News_and_Media/" title="News and Media" class="phpld-gray">News and Media</a></li>
<li><a href="http://barbaraannetteparson.com/Home/Seniors/" title="Seniors" class="phpld-gray">Seniors</a></li>
<li><a href="http://barbaraannetteparson.com/Home/Home_Business/" title="Home Business" class="phpld-gray">Home Business</a></li>
</ul>
</div>
<div class="phpld-g33 phpld-gl phpld-gbox">
<h4><a href="http://barbaraannetteparson.com/Kids_and_Teens/" title="Kids and Teens">Kids and Teens</a><span>(0)</span></h4>
<ul>
<li><a href="http://barbaraannetteparson.com/Kids_and_Teens/Your_Family/" title="Your Family" class="phpld-gray">Your Family</a></li>
<li><a href="http://barbaraannetteparson.com/Kids_and_Teens/Sports_and_Hobbies/" title="Sports and Hobbies" class="phpld-gray">Sports and Hobbies</a></li>
<li><a href="http://barbaraannetteparson.com/Kids_and_Teens/Pre-School/" title="Pre-School" class="phpld-gray">Pre-School</a></li>
</ul>
</div>
<div class="phpld-g33 phpld-gl phpld-gbox">
<h4><a href="http://barbaraannetteparson.com/News/" title="News">News</a><span>(0)</span></h4>
<ul>
<li><a href="http://barbaraannetteparson.com/News/Television/" title="Television" class="phpld-gray">Television</a></li>
<li><a href="http://barbaraannetteparson.com/News/Headline_Links/" title="Headline Links" class="phpld-gray">Headline Links</a></li>
<li><a href="http://barbaraannetteparson.com/News/Breaking_News/" title="Breaking News" class="phpld-gray">Breaking News</a></li>
</ul>
</div>
<div class="phpld-g33 phpld-gl phpld-gbox">
<h4><a href="http://barbaraannetteparson.com/Real_Estate/" title="Real Estate">Real Estate</a><span>(0)</span></h4>
<ul>
<li><a href="http://barbaraannetteparson.com/Real_Estate/Rent/" title="Rent" class="phpld-gray">Rent</a></li>
<li><a href="http://barbaraannetteparson.com/Real_Estate/Timeshare/" title="Timeshare" class="phpld-gray">Timeshare</a></li>
<li><a href="http://barbaraannetteparson.com/Real_Estate/Resources/" title="Resources" class="phpld-gray">Resources</a></li>
</ul>
</div>
<div class="phpld-g33 phpld-gl phpld-gbox">
<h4><a href="http://barbaraannetteparson.com/Recreation/" title="Recreation">Recreation</a><span>(0)</span></h4>
<ul>
<li><a href="http://barbaraannetteparson.com/Recreation/Astronomy/" title="Astronomy" class="phpld-gray">Astronomy</a></li>
<li><a href="http://barbaraannetteparson.com/Recreation/Birding/" title="Birding" class="phpld-gray">Birding</a></li>
<li><a href="http://barbaraannetteparson.com/Recreation/Motorcycles/" title="Motorcycles" class="phpld-gray">Motorcycles</a></li>
</ul>
</div>
<div class="phpld-g33 phpld-gl phpld-gbox">
<h4><a href="http://barbaraannetteparson.com/Reference/" title="Reference">Reference</a><span>(0)</span></h4>
<ul>
<li><a href="http://barbaraannetteparson.com/Reference/World_Records/" title="World Records" class="phpld-gray">World Records</a></li>
<li><a href="http://barbaraannetteparson.com/Reference/Questions_and_Answers/" title="Questions and Answers" class="phpld-gray">Questions and Answers</a></li>
<li><a href="http://barbaraannetteparson.com/Reference/Almanacs/" title="Almanacs" class="phpld-gray">Almanacs</a></li>
</ul>
</div>
<div class="phpld-g33 phpld-gl phpld-gbox">
<h4><a href="http://barbaraannetteparson.com/Regional/" title="Regional">Regional</a><span>(0)</span></h4>
<ul>
<li><a href="http://barbaraannetteparson.com/Regional/Caribbean/" title="Caribbean" class="phpld-gray">Caribbean</a></li>
<li><a href="http://barbaraannetteparson.com/Regional/Central_America/" title="Central America" class="phpld-gray">Central America</a></li>
<li><a href="http://barbaraannetteparson.com/Regional/South_America/" title="South America" class="phpld-gray">South America</a></li>
</ul>
</div>
<div class="phpld-g33 phpld-gl phpld-gbox">
<h4><a href="http://barbaraannetteparson.com/Science/" title="Science">Science</a><span>(0)</span></h4>
<ul>
<li><a href="http://barbaraannetteparson.com/Science/Astronomy/" title="Astronomy" class="phpld-gray">Astronomy</a></li>
<li><a href="http://barbaraannetteparson.com/Science/Science_in_Society/" title="Science in Society" class="phpld-gray">Science in Society</a></li>
<li><a href="http://barbaraannetteparson.com/Science/Chats_and_Forums/" title="Chats and Forums" class="phpld-gray">Chats and Forums</a></li>
</ul>
</div>
<div class="phpld-g33 phpld-gl phpld-gbox">
<h4><a href="http://barbaraannetteparson.com/Shopping/" title="Shopping">Shopping</a><span>(0)</span></h4>
<ul>
<li><a href="http://barbaraannetteparson.com/Shopping/Books/" title="Books" class="phpld-gray">Books</a></li>
<li><a href="http://barbaraannetteparson.com/Shopping/Flowers/" title="Flowers" class="phpld-gray">Flowers</a></li>
<li><a href="http://barbaraannetteparson.com/Shopping/Antiques_and_Collectibles/" title="Antiques and Collectibles" class="phpld-gray">Antiques and Collectibles</a></li>
</ul>
</div>
<div class="phpld-g33 phpld-gl phpld-gbox">
<h4><a href="http://barbaraannetteparson.com/Society/" title="Society">Society</a><span>(0)</span></h4>
<ul>
<li><a href="http://barbaraannetteparson.com/Society/Economics/" title="Economics" class="phpld-gray">Economics</a></li>
<li><a href="http://barbaraannetteparson.com/Society/Work/" title="Work" class="phpld-gray">Work</a></li>
<li><a href="http://barbaraannetteparson.com/Society/Death/" title="Death" class="phpld-gray">Death</a></li>
</ul>
</div>
<div class="phpld-g33 phpld-gl phpld-gbox">
<h4><a href="http://barbaraannetteparson.com/Sports/" title="Sports">Sports</a><span>(0)</span></h4>
<ul>
<li><a href="http://barbaraannetteparson.com/Sports/Track_and_Field/" title="Track and Field" class="phpld-gray">Track and Field</a></li>
<li><a href="http://barbaraannetteparson.com/Sports/Winter_Sports/" title="Winter Sports" class="phpld-gray">Winter Sports</a></li>
<li><a href="http://barbaraannetteparson.com/Sports/Baseball/" title="Baseball" class="phpld-gray">Baseball</a></li>
</ul>
</div>
<div class="phpld-g33 phpld-gl phpld-gbox">
<h4><a href="http://barbaraannetteparson.com/Travel/" title="Travel">Travel</a><span>(0)</span></h4>
<ul>
<li><a href="http://barbaraannetteparson.com/Travel/Vacation_Packages/" title="Vacation Packages" class="phpld-gray">Vacation Packages</a></li>
<li><a href="http://barbaraannetteparson.com/Travel/Online_Reservations/" title="Online Reservations" class="phpld-gray">Online Reservations</a></li>
<li><a href="http://barbaraannetteparson.com/Travel/Preparation/" title="Preparation" class="phpld-gray">Preparation</a></li>
</ul>
</div>
<div class="phpld-g33 phpld-gl phpld-gbox">
<h4><a href="http://barbaraannetteparson.com/World/" title="World">World</a><span>(0)</span></h4>
<ul>
<li><a href="http://barbaraannetteparson.com/World/Chinese_Traditional/" title="Chinese Traditional" class="phpld-gray">Chinese Traditional</a></li>
<li><a href="http://barbaraannetteparson.com/World/Magyar/" title="Magyar" class="phpld-gray">Magyar</a></li>
<li><a href="http://barbaraannetteparson.com/World/Ukrainian/" title="Ukrainian" class="phpld-gray">Ukrainian</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="footer">Powered By: <a href="http://www.phplinkdirectory.com" title="powered by PHP Link Directory">PHP Link Directory</a></div>
<script type="text/javascript">
    /* <![CDATA[ */
    var root = '';
    
    var a = document.getElementsByTagName("a");
    for(i = 0; i< a.length; i++)
        if(a[i].id != '')
            a[i].onclick = count_link;
    function count_link(event) {
        i = new Image();
        i.src= root+'/cl.php?id='+this.id;
        return true;
    }

    
    /* ]]> */
</script> <!-- Begin Attracta Include 2012-10-05 18:06 -->
 <script type='text/javascript'>
//<![CDATA[
 
function attracta_loadjs(url) {
   (function() {
       var s = document.createElement('script');
       s.type = 'text/javascript';
       s.async = true;
       s.src = url;
       var x = document.getElementsByTagName('script')[0];
       x.parentNode.insertBefore(s, x);
   })();
}
function attracta_shouldrun() {
   var v = ["/admin/","/adm/","/wp-admin/","/administrator/"];
   for (x in v) if(window.location.pathname.indexOf(v[x]) == 0) return false;
   return true;
}
function attracta_window_width() {
   if (document.body && document.body.offsetWidth) return document.body.offsetWidth;
   if (document.compatMode=='CSS1Compat' && document.documentElement && document.documentElement.offsetWidth ) return document.documentElement.offsetWidth;
   if (window.innerWidth) return window.innerWidth;
   return 0;
}
function attracta_window_height() {
   if (document.body && document.body.offsetHeight) return document.body.offsetHeight;
   if (document.compatMode=='CSS1Compat' && document.documentElement && document.documentElement.offsetHeight ) return document.documentElement.offsetHeight;
   if (window.innerHeight) return window.innerHeight;
   return 0;
}
//]]>
</script> <!-- Begin SiteLock -->
<div id="sitelock_shield_logo" class="fixed_btm c9"><a href="https://www.sitelock.com/verify.php?site=barbaraannetteparson.com" onclick="window.open('https://www.sitelock.com/verify.php?site=barbaraannetteparson.com','SiteLock','width=600,height=600,left=160,top=170');return false;"><img alt="malware removal and website security" title="SiteLock" src="//shield.sitelock.com/sshield/barbaraannetteparson.com" /></a></div>
<!-- End SiteLock -->
<!-- Begin Attracta Toolbar -->
<script type="text/javascript">
//<![CDATA[
var attractaSiteId = 2481449;
(function() {var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'www.attracta.com/tb/'+attractaSiteId+'/loader.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga);})();
//]]>
</script> <!-- End Attracta Toolbar -->
 <!-- End Attracta Include 2012-10-05 18:06 --></div>
</body>
</html>

Open in new window

0
 

Author Comment

by:assaultkitty
ID: 39892086
this is phpld.
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 39892720
The Validator returns line and column numbers with each error.  Start with your first one:

Line 177, Column 14: end tag for element "div" which is not open

        </div>


The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.
0
 

Author Comment

by:assaultkitty
ID: 39892749
I have been working all morning trying to find this error.  I am trying to change it in the source code via browser.  Can you help me?
0
 

Author Comment

by:assaultkitty
ID: 39892833
Please I have asked this question several times. How do I find this error and update it.  I have been working on this for several hours.  I have the source code from the browser.  How do I change it.
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 39892870
You can't change the source code via the browser.  You change it in the source files and reupload to the server.  If you don't understand how to edit your files and replace them on the server, you need to take several steps back and learn the basics.
0
 

Author Comment

by:assaultkitty
ID: 39892929
OK.  Here is the problem.  Now, I cannot find the that div.  I can find it in the source code according to the source code in the browser.  And that appears to be the source code for the validator.  Now  I am getting an error that I cannot find.  I know how to locate files on the server.  I do not know where that particular div errors.  Do you understand me?  If you can explain to me how to find the error that is stated in the validator error message via the source code to my server.  All I need is the path and I will find. It I just do not know how to interpret the validator results because I do not see a path.  I do not know what else I can say because no one seems to understand my problem here.  If I was an expert I would not be asking a dumb question.
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 39893687
If this isn't a static page (e.g. index.html) then it's possible that the HTML is being generated by the PHP script.  If so, you need to pull apart the script files and follow the include statements until you locate the correct file that generates that portion of the page. This will involve you being able to read and interpret PHP as well as HTML and is likely a poorly coded do while loop that fails to close the div.

So, to be clear:

The validator returns the line number with the problem.

If you have a static HTML file, open it and look at that line number. That should solve the problem.  

If all you have are PHP files that consist of PHP code, you have a much harder problem as you have to be able to deal with PHP to find the problem.

Since none of us can see your server files, we can't find the PHP code for you.

If you don't know PHP, you are in well over your head and the help and training you need is beyond the scope of a Q and A site.

If this is a homework assignment, you may need to ask your instructor if it is okay to leave the validation errors in there as they are the fault if the script author and not you.
0
 

Author Comment

by:assaultkitty
ID: 39893696
OMG.  This is not homework! If this was homework I would have contacted my instructor by now.  I need expert help.  I have a bunch of php files that are tagged together into this XHTML file.  I have contacted the php link directory developers.  I have contacted hostgator.  No one can find this particular div file.  I am working with everyone that will help.  I need help not a sermon.  Thanks.
0
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 39893723
I'm not giving you a sermon. I'm attempting to help you by teaching you some basic concepts that you clearly don't know and also explaining why the lack of those concepts is eventually going to frustrate you in terms of getting a solution.

PHP doesn't "tag" into an XHTML file. PHP executes on the server and dynamically writes output somewhere.  One of the possible somewhere's is to your browser as HTML. So while it appears you are looking at an HTML file, in fact you are looking at dynamic output from PHP and you need to look at all the PHP scripts that make up PHP Link Directory and follow the code until it leads you to the right section where the divs are being generated. None of us can do this for you, the scripts exist on your server account.

I have contacted hostgator

HostGator is your ISP and generally the ISP won't help you learn to read PHP.

This is not homework

My apologies then. This looks like a typical "learning to manipulate PHP" assignment so that's why I got confused.  

If it's not a homework assignment, why does the validation matter?  Validation is merely icing on the cake of a functional site.  All modern browsers will go into quirks mode when a site isn't validating properly and as long as the site works and looks okay in modern browsers, the missing div tag isn't that important.

For anything else, functionality trumps validation.  If it looks right and acts right, it's right.
0
 

Author Comment

by:assaultkitty
ID: 39893734
This AM.  One of the experts told me to take care of this problem first.   I wanted to put a video in to my phpld.  www.barbaraannetteparson.com    /  www.barbaraannetteparson.com/video.php  I want to be able to work with the experts because I am trying to work to build websites that make money by developing small projects.  I am learning as it is these small problems that drives me absolutely mad.  

Even as I am pulling my hair out of my head, the expert this AM helped me with the code.  I just need to put the video on my homepage.  Thanks for asking.
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 39893751
The validation shouldn't stop the video from being placed.  But is there an actual home page or is it just a bunch of scripts?
0
 

Author Comment

by:assaultkitty
ID: 39893759
Well, it is a bunch of files php.  I will go back to the php people and get some help.
0
 

Author Closing Comment

by:assaultkitty
ID: 39893760
thanks.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now