SunQuest
           PHP Installation
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Installation

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
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  
Old November 5th, 2003, 07:21 PM
Blake Blake is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 125 Blake User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
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?

Reply With Quote
  #2  
Old November 5th, 2003, 07:34 PM
Blindeddie Blindeddie is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: NJ - USA
Posts: 2,152 Blindeddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
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.

Reply With Quote
  #3  
Old November 5th, 2003, 07:47 PM
Blake Blake is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 125 Blake User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
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!???

Reply With Quote
  #4  
Old November 5th, 2003, 09:03 PM
Blindeddie Blindeddie is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: NJ - USA
Posts: 2,152 Blindeddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 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.

Reply With Quote
  #5  
Old November 5th, 2003, 09:11 PM
Blake Blake is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 125 Blake User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
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...!!??

Reply With Quote
  #6  
Old November 5th, 2003, 09:17 PM
Blindeddie Blindeddie is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: NJ - USA
Posts: 2,152 Blindeddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
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.

Reply With Quote
  #7  
Old November 5th, 2003, 09:24 PM
Blake Blake is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 125 Blake User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
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?

Reply With Quote
  #8  
Old November 5th, 2003, 09:39 PM
Blindeddie Blindeddie is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: NJ - USA
Posts: 2,152 Blindeddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
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.

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Installation > Installation on Win2K Server


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway