Forum Moderators: open

Message Too Old, No Replies

The page cannot be found

But the file is there - Please Help

         

one_mind

8:38 am on Dec 9, 2005 (gmt 0)

10+ Year Member



Hi,

I am having the strangest problem with my site. I made a new copy of my site with the exact same directory structure but only some pages display. When i try to open a file like show_projects.php, i get The page cannot be found screen. But the file is there but its says it can't find it. I have checked the url and there is nothing wrong with it. eg [localhost...]

So i go to my www file, open the file jlv then the php file and the add.php file is right there. Why cant the browsers recognize it?

I am using WAMP server.

Thanks for any suggestions

encyclo

12:08 am on Dec 10, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



When you look in the Apache access log, does it specifically say 404, and what file is it listing when you get the error?

one_mind

2:12 am on Dec 10, 2005 (gmt 0)

10+ Year Member




It's ok, it was a silly mistake.

What happened was, the file was found but in that file there was a header("Location: ../UI/myaccount.php"); and the file that directed to was missing but the browser only shows the first address and not the redirected address so it was hard to see :)

Thanks