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
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
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.
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.