![]() |
|
|||||||
| PHP Older perl/CGI questions are here as well. |
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Join Date: Oct 2009
Posts: 4
|
help needed pinpointing php errors
Hello,
I have just started learning php, but I have lots of experience in other scripting languages such as vbscript. The problem I'm having is that very often when I run a php script it says "the system cannot find the file specified." I know the file is there, so I assume I have an error. It's very frustrating! How can I pinpoint what and where the error is? Thanks very much! |
|
|
|
|
|
#2 |
|
DiscountASP.NET Staff
Join Date: Jan 2003
Posts: 5,673
|
weird.. what is the URL to the php script.
__________________
Bruce DiscountASP.NET |
|
|
|
|
|
#3 |
|
Join Date: Oct 2009
Posts: 4
|
help needed pinpointing php errors
Hi,
Thanks for your response. Here is the url of a script that is good: http://www.beaglelady.com/testplus/demobad.php Here is the url of a script with a bug (calls function that doesn't exist): http://www.beaglelady.com/testplus/demobad.php If there is any error at all, no matter what it is, I always get the response "The server cannot find the file specified" Is php supposed to give you some kind of a clue as to what/where the error may be? Thanks again |
|
|
|
|
|
#4 |
|
DiscountASP.NET Staff
Join Date: Jan 2003
Posts: 5,673
|
php should display the error to browser under normal circumstance.
Do you happen to have custom error enabled? Is the custom error pointing to the correct path?
__________________
Bruce DiscountASP.NET |
|
|
|
|
|
#5 |
|
Join Date: Oct 2009
Posts: 4
|
I don't know about custom error. What should I do about it?
|
|
|
|
|
|
#6 |
|
Join Date: Oct 2009
Posts: 4
|
Bruce,
"custom error" was indeed the problem. I checked my control panel and blanked out the custom error fields and now I can see my php errors. (I don't remember putting anything into those fields so it must have been long ago) Thanks very much for your help! |
|
|
|
|
|
#7 |
|
DiscountASP.NET Staff
Join Date: Jan 2003
Posts: 5,673
|
glad you got this resolved...
__________________
Bruce DiscountASP.NET |
|
|
|
![]() |
| Bookmarks |
| Tags |
| php |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Code behind needed? | renevazquez | General troubleshooting | 1 | 03-07-2009 05:47 PM |
| URL Remapping - help needed | pishposh | ASP.NET 3.5 | 4 | 08-15-2008 08:54 AM |
| WSE 3.0 & IIS 7.0 - help needed! | hip2bsquare | ASP.NET WebServices | 1 | 08-06-2008 04:16 AM |
| needed .dll for WebMatrix/SQL | bosstep | WebMatrix | 0 | 03-17-2003 01:58 AM |