Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: My php menu now validates and my index does not, why?

  1. #1
    Join Date
    Feb 2009
    Posts
    159
    Thanks
    60
    Thanked 3 Times in 3 Posts

    Question My php menu now validates and my index does not, why?

    New problem go to the last post on here to see my latest problem I am facing trying to resolve this issue.


    I have just found out that I need to re-due my whole site because it's my menu links are not viewable to search engines.

    Not very happy about that but I have gone ahead and done a php index page up with a php menu linking everything up.

    the test page is www.robinsden.110mb.com/index.php
    My question is why dose my menu links still not show up if I view them in Linux?
    Here is a page I got to be able to view the page.

    http://www.yellowpipe.com/yis/tools/...ynx_viewer.php

    You'll notice if you view my page it shows links that go no where and dose not show up any of my menu links. Why not?
    Last edited by robin9000; 03-08-2009 at 09:49 PM.

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    I get an error. Can I see your code?
    Jeremy | jfein.net

  3. #3
    Join Date
    Feb 2009
    Posts
    159
    Thanks
    60
    Thanked 3 Times in 3 Posts

    Default

    Quote Originally Posted by Nile View Post
    I get an error. Can I see your code?
    The following is what I get:

    As you can see below the links at the bottom most of them are meaningless and there are none of my menu links.

    Warning: include() [[1]function.include]: URL file-access is disabled
    in the server configuration in
    /www/110mb.com/r/o/b/i/n/s/d/e/robinsden/htdocs/index.php on line 28
    Warning: include(http://www.robinsden.110mb.com/menu.php)
    [[2]function.include]: failed to open stream: no suitable wrapper
    could be found in
    /www/110mb.com/r/o/b/i/n/s/d/e/robinsden/htdocs/index.php on line 28
    Warning: include() [[3]function.include]: Failed opening
    'http://www.robinsden.110mb.com/menu.php' for inclusion
    (include_path='.:/usr/share/php') in
    /www/110mb.com/r/o/b/i/n/s/d/e/robinsden/htdocs/index.php on line 28

    Welcome to Robin's Den
    The reason for Robin's Den
    I have posted this site to give people a place where they can come to
    obtain different services I have to offer and for a place to have some
    fun.
    About Robin's Den
    I have been a certified computer technician since 2003 and take pride
    in the services I provide to people. I look forward to continuing to
    do so with excellent service at very reasonable rates and provide same
    day or next day service. Feed back
    Please fell free to send us any comments or suggestions you might have
    on our site. We are as well interested in any jokes or other content
    you think we might find of interest to post. All email is read on a
    day to day basis. Thank you and please enjoy your visit here at
    Robin's Den.

    [4]counters for myspace

    References

    1. http://www.robinsden.110mb.com/function.include
    2. http://www.robinsden.110mb.com/function.include
    3. http://www.robinsden.110mb.com/function.include
    4. http://www.statcounter.com/myspace/

  4. #4
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Can I see the code?
    Jeremy | jfein.net

  5. #5
    Join Date
    Feb 2009
    Posts
    159
    Thanks
    60
    Thanked 3 Times in 3 Posts

    Default

    I just re-checked and there is something very wrong

    I get the following error message.

    Warning: include() [function.include]: URL file-access is disabled in the server configuration in /www/110mb.com/r/o/b/i/n/s/d/e/robinsden/htdocs/index.php on line 28

    Warning: include(http://www.robinsden.110mb.com/menu.php) [function.include]: failed to open stream: no suitable wrapper could be found in /www/110mb.com/r/o/b/i/n/s/d/e/robinsden/htdocs/index.php on line 28

    Warning: include() [function.include]: Failed opening 'http://www.robinsden.110mb.com/menu.php' for inclusion (include_path='.:/usr/share/php') in /www/110mb.com/r/o/b/i/n/s/d/e/robinsden/htdocs/index.php on line 28
    Welcome to Robin's Den


    I think maybe I need to talk to my hosting company.

  6. #6
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    I know, I need to see the code.
    Jeremy | jfein.net

  7. #7
    Join Date
    Feb 2009
    Posts
    159
    Thanks
    60
    Thanked 3 Times in 3 Posts

    Default

    Here is the top bit of code before my hosting company makes a mess of it.

    You'll notice towards the bottom here is where I include the file.

    <!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 http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="description" content="Robins Den has web design, pomes, jokes, ways to save money, a home business and more." /> <meta name="keywords" content="web, site, design, free, advertising, cooking, tech, help, home, business" />
    <title>Robins Den</title>
    <script type="text/javascript" src="menuscripts/jquery.min.js"> </script>
    <script type="text/javascript" src="menuscripts/jqueryslidemenu.js"></script>
    <link href="menuscripts/jqueryslidemenu.css" rel="stylesheet" type="text/css" />
    <link href="Scripts/all.css" rel="stylesheet" type="text/css" />
    <link rel="canonical" href="http://www.robinsden.110mb.com" />
    </head>
    <body>

    <!--Banner starts here-->
    <div class="wrapper">
    <div id="A1000">
    <div id="A1001">
    </div>
    <div id="A1002">
    </div>
    </div>
    <!--Banner ends here-->
    <!--Menu starts here-->
    <div id="myslidemenu" class="jqueryslidemenu">
    <?php include("http://www.robinsden.110mb.com/menu.php"); ?>
    </span></div>
    <!--Menu ends here-->

  8. #8
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Change:
    PHP Code:
    <?php include("http://www.robinsden.110mb.com/menu.php"); ?>
    To:
    PHP Code:
    <?php include("./menu.php"); ?>
    Jeremy | jfein.net

  9. The Following User Says Thank You to Nile For This Useful Post:

    robin9000 (03-06-2009)

  10. #9
    Join Date
    Feb 2009
    Posts
    159
    Thanks
    60
    Thanked 3 Times in 3 Posts

    Question Somthing worng with menu now

    Quote Originally Posted by Nile View Post
    Change:
    PHP Code:
    <?php include("http://www.robinsden.110mb.com/menu.php"); ?>
    To:
    PHP Code:
    <?php include("./menu.php"); ?>
    Thanks that worked but for some reason my menu dose not display right, any idea what is going on?

  11. #10
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Jeremy | jfein.net

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •