help needed please with html includes

Discussion in 'HTML & Website Design' started by Vic_mackey, Jul 2, 2007.

  1. #1
    Okay, I moved a site using ArticleLive over to my own host, it pretty much went fine, site is healthadel . com

    But before, in the right hand bar there was a list of links under "related sites" and they have dissapeared now.

    Speaking to my own designer, and the person the site came from, we still cant work it out.

    This is in the default.html file:

    Related Sites

    %%Include./home/ad121/public_html/templates/Gazette/ttlea.php%%

    Now the ttlea.php file is in the correct place. We were thinking changing "ad121" to my own cpanel username would sort it, but it didnt.

    I'm sure this is a simple thing, but we've no idea. Can anyone tell me where I'm going wrong?

    thanks!
     
    Vic_mackey, Jul 2, 2007 IP
  2. adamjthompson

    adamjthompson Well-Known Member

    Messages:
    1,242
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    125
    #2
    public_html might not be the correct folder name...could be httpdocs or something else...

    Check the entire folder structure.

    Also try just "templates/Gazette/ttlea.php"
     
    adamjthompson, Jul 2, 2007 IP
    Vic_mackey likes this.
  3. Vic_mackey

    Vic_mackey Banned

    Messages:
    2,093
    Likes Received:
    151
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thanks, reputation added but no joy :(

    The folder structure is correct, and I have just tried it with "templates/Gazette/ttlea.php" and that didnt work either.
     
    Vic_mackey, Jul 2, 2007 IP
  4. adamjthompson

    adamjthompson Well-Known Member

    Messages:
    1,242
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    125
    #4
    So let me get this straight...

    In your default.html page you're trying to include the ttlea.php file, right?

    Your default.html file is in the root folder?

    I'm assuming that you have htaccess updated so that php code is executed in html files?
     
    adamjthompson, Jul 2, 2007 IP
  5. Vic_mackey

    Vic_mackey Banned

    Messages:
    2,093
    Likes Received:
    151
    Best Answers:
    0
    Trophy Points:
    0
    #5
    default isnt in the root folder no, its in a templates folder. How can I check the htaccess? I hadnt thought of that, but that might be the problem.

    thanks
     
    Vic_mackey, Jul 2, 2007 IP
  6. adamjthompson

    adamjthompson Well-Known Member

    Messages:
    1,242
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    125
    #6
    Should be able to access your site via ftp and download the htaccess file. If you can't, there might not be one (just upload one) or you might not be allowed to see it by your webhost.
     
    adamjthompson, Jul 2, 2007 IP