Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Page can not be found error (php cache issue?)

Status
Not open for further replies.

pain4u

Technical User
Jun 26, 2001
64
US
OK, I hope someone can help me. I have a PHP Script that was running fine until recently...I have no explaination for why it is giving me a "Page can not be found" error.

The script is just a simple one that touches several web pages to update their date last modified. Like I said...it has worked fine for a long time now and all of a sudden it starts giving me a "Page Not Found" error. I am having the same problem with just about any other of my scripts that require heavy use in memory.

I'm thinking it has something to do with my servers cache?? I have no idea...it is a new problem to me. If anyone can help me, I'd greatly appreciate it! - pain4u
 
It sounds kind of like an Apache issue,
your calling your page via or is it an index file you are calling via

The only time I can recall getting a "Page can not be found" error was after upgrading Apache.
Just a though.. might check the apache httpd.conf file
and see if:
DirectoryIndex index.php
or
DirectoryIndex index.php3
is an option
=================================
Imagination is more important than knowledge.
(A.E.)
 
No the script is not an index file...I'm calling it directly by file name.

I was thinking that it might be a Apache problem. I don't see why it would be giving me a page not found error...it's really confused me. I assume it's a cache problem or something. The script runs, but it does not finish completely. - pain4u
 
Have you got a Header("Location:") command inside the script? The redirection can be offline. Anikin
Hugo Alexandre Dias
Web-Programmer
anikin_jedi@hotmail.com
 
Yep I do use the header() function to redirect. But all of the files are there...no reason for a page not found error. Maybe it's just my hosting company?? It could be that they were having lag/packet loss...but I don't think so, becuse it's been going on for days like this. It's usually happens to scripts with a somewhat long execution time....but like I said, the scripts have ALWAYS worked...absolutely no reason for this error (code or php.ini wise). I just need some help.

I've already thought of all the above, I really need some technical help...something is obviously not right. - pain4u
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top