|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
php problem with IE
So, I'm very new to PHP, however; when I try to run a script in IE (calling localhost/test.php) and there is an error in the script, the page loads blank, and I get no error message (not from IE or Apache). I've found that Apache is logging the errors in a .txt file, but the other people that I have talked to say that an error message appears on screen. Anyone have an idea of why my errors aren't showing up and how to get them to?
Any help will be extrememly appreciated. Thanks all. Stu |
|
#2
|
||||
|
||||
|
Welcome to the forums Stu! I hope you'll have a pleasant stay here. Don't forget to read the forumrules, you can find them here
Regarding your question: Do you have a link for a livetest? It is useful to post your code here so maybe we can see the fault immediately. Cheers,
__________________
Work to live, don't live to work |
|
#3
|
|||
|
|||
|
errors
I don't have a link to a livetest. Even if I know the error in the code, is there a way to get apache to print an error statement to the screen when a script is called that has an error?
(Even basic syntax errors) In the error text file things come up as: [Thu Apr 22 14:55:09 2004] [error] [client 127.0.0.1] PHP Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in c:\Program Files\Apache Group\Apache\htdocs\freight.php on line 12 But the screen in explorer is just a blank, white screen with no error message. Stu |
|
#4
|
|||
|
|||
|
found it
For anyone who is interested, I found the error. In the php.ini file, there is a line for display_errors. It is supposed to default to on, but for some reason in my file it was off. Easy fix, and all is well.
Stu |
![]() |
| Viewing: Dev Articles Community Forums > Programming > PHP Development > php problem with IE |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|