Another Newbie question / 404 Not Found

Discussion in 'PHP' started by dans107, Feb 10, 2008.

  1. #1
    Hey,

    I'm a real Newbie when it comes to PHP, so bear with me.

    We've recently bought a website, with all the pages being .php. I've created a new page (also .php), created the link on the main page, but everytime I click on it, it I get a "404 Not Found" error.

    The website is www.ebabee.co.uk. If you click on 'Shop' or 'Holidays', you'll see what I mean. All the files are uploaded, so I don't know where i'm going wrong.

    Thanks

    Dan
     
    dans107, Feb 10, 2008 IP
  2. MakeThatDollar

    MakeThatDollar Notable Member

    Messages:
    4,451
    Likes Received:
    158
    Best Answers:
    0
    Trophy Points:
    225
    #2
    Are they uploaded in the correct folder?

    I can help if you still need it.
     
    MakeThatDollar, Feb 10, 2008 IP
  3. dans107

    dans107 Peon

    Messages:
    452
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Typical - I fixed it about 30 seconds after posting.

    However, i'm now getting this message -
    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/sites/ebabee.co.uk/public_html/holidays.php:6) in /home/sites/ebabee.co.uk/public_html/conn.php on line 30
    - at the top of the new pages, and the footer of the page isn't showing.

    Thanks in advance.

    Dan
     
    dans107, Feb 10, 2008 IP
  4. MakeThatDollar

    MakeThatDollar Notable Member

    Messages:
    4,451
    Likes Received:
    158
    Best Answers:
    0
    Trophy Points:
    225
    #4
    I'm not positive, but it sounds like as in shop.php or conn.php you are requesting header.php (or something like that) twice.
     
    MakeThatDollar, Feb 10, 2008 IP
  5. KnuTz

    KnuTz Well-Known Member

    Messages:
    169
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    130
    Digital Goods:
    1
    #5
    double check your code see if there is no white space before and after <?php ?>

    this can often happen when you use an online editor such as the file manager in cPanel (WYSIWYG), as they can add extra white space at the end of the file.
     
    KnuTz, Feb 10, 2008 IP
  6. dans107

    dans107 Peon

    Messages:
    452
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Thanks for all your help - it was a bit of both.

    Cheers

    Dan
     
    dans107, Feb 11, 2008 IP