You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 62 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - PHP 4.3.1 Security Fix and RC1 of 6.5 [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Astalon_Decurth
Nuke Soldier
Nuke Soldier


Joined: Feb 13, 2003
Posts: 10

Location: Pine Bluff, Arkansas

PostPosted: Wed Feb 19, 2003 4:14 pm Reply with quoteBack to top

I Recently did the PHP Upgrade from 4.3.0 to 4.3.1 and Also went to RC1 of 6.5

Now when I try to access my site I get the following

Site address is http://63.64.157.157

Notice: Undefined variable: HTTP_USER_AGENT in E:\inetpub\wwwroot\mainfile.php on line 16

Notice: import_request_variables() [function.import-request-variables]: No prefix specified - possible security hazard in E:\inetpub\wwwroot\mainfile.php on line 37

Notice: Undefined variable: forum_admin in E:\inetpub\wwwroot\mainfile.php on line 61

Notice: Use of undefined constant inside_mod - assumed 'inside_mod' in E:\inetpub\wwwroot\mainfile.php on line 64

Notice: Undefined variable: inside_mod in E:\inetpub\wwwroot\db\db.php on line 44

Notice: Use of undefined constant sitename - assumed 'sitename' in E:\inetpub\wwwroot\mainfile.php on line 80

Notice: Use of undefined constant nukeurl - assumed 'nukeurl' in E:\inetpub\wwwroot\mainfile.php on line 81

Etc.


Any Help would be appreciated.


http://63.64.157.157/analyze.php
Find all posts by Astalon_DecurthView user's profileSend private messageSend e-mail
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Wed Feb 19, 2003 4:20 pm Reply with quoteBack to top

Nothing major was done to PHP 4.3.1 other than fixing the security hole. Check the php.ini settings in the announcement forum's thread.

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


PostPosted: Wed Feb 19, 2003 4:21 pm Reply with quoteBack to top

please read the welcome thread in the future.

The fix is simple:

go into php.ini and change hte line:
Code:
error_reporting  =  E_ALL & E_NOTICE

to
Code:
;error_reporting  =  E_ALL & E_NOTICE

and
Code:
;error_reporting = E_ALL & ~E_NOTICE

to
Code:
error_reporting = E_ALL & ~E_NOTICE

or if those lines aren't there:
change
Code:
error_reporting = E_ALL

to
Code:
error_reporting = E_ALL & ~E_NOTICE
ArtificialINtel
Find all posts by ArtificialIntelView user's profileSend private message
Astalon_Decurth
Nuke Soldier
Nuke Soldier


Joined: Feb 13, 2003
Posts: 10

Location: Pine Bluff, Arkansas

PostPosted: Wed Feb 19, 2003 4:39 pm Reply with quoteBack to top

DOH.. Sorry Guys. My Bad. Everything was working fine till I upgraded PHP. Did not figured it would touch the ini file. Sorry.

/e Looks Stupid now. Smile
Find all posts by Astalon_DecurthView user's profileSend private messageSend e-mail
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.190 Seconds - 210 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::