|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Installation on Win2K Server
I have just installed PHP 4.3.4 onto my windows 2000 server running IIS.
this is a replacement server for an older server, so I have copied accross all my web files. However, when I try to open one of my PHP files I get the following error... Notice: Undefined index: HTTP_REFERRER in D:webrootformsincludesfunctions.php on line 26 It works fine on the old server. Can anyone suggest anything that may help? |
|
#2
|
|||
|
|||
|
RE: Installation on Win2K Server
looks like your new installation of PHP has full error reporting turned on in the php.ini file. Take a look at the file and turn off error reporting for 'NOTICES'. The php.ini file should explain exactly what you need to do.
|
|
#3
|
|||
|
|||
|
RE: Installation on Win2K Server
If I remark out the line referred to in the previous error I get loads of errors...
Stating that vars I am using are Undefined!??? |
|
#4
|
|||
|
|||
|
RE: Installation on Win2K Server
you need to modify the php.ini file not the file that is reporting the errors... Open the php.ini file and search for the heading
'Error handling and logging ' under that heading it will explain how to modify error reporting so that notices will not show. |
|
#5
|
|||
|
|||
|
RE: Installation on Win2K Server
I understand what you are saying but...surely I want to see any errors?
Also, my previous server has the ini set to display all errors except for Notices - which is the same as new server's ini setting...!!?? |
|
#6
|
|||
|
|||
|
RE: Installation on Win2K Server
I did not suggest turning off all error reporting , just notices. If the ini file is set the same as the old machine then it should be working fine. I would restart the web services and see if that helps. and double check the php.ini just in case.
|
|
#7
|
|||
|
|||
|
RE: Installation on Win2K Server
Still the same result! I don't understand this. the only difference is the versions of PHP. The old server was 4.2.3.
Maybe I should downgrade and try again? |
|
#8
|
|||
|
|||
|
RE: Installation on Win2K Server
Try a fresh ini file. there should be one in the php folder called php.ini-dist. rename to php.ini and copy to the winnt directory.
|
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Installation > Installation on Win2K Server |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|