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, 32 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 - fatal error when trying to install, Please help [ ]
 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
anwoke8204
Nuke Soldier
Nuke Soldier


Joined: Oct 29, 2005
Posts: 11


PostPosted: Tue Nov 01, 2005 8:53 pm Reply with quoteBack to top

Hi I am trying to install php nuke on my site and it is giving my this fatal error:
Fatal error: Cannot redeclare class config in D:\xampp\xampp\php\pear\Config.php on line 43, any ideas as to how to fix this so I can install. many thanks.
Find all posts by anwoke8204View user's profileSend private message
Xyberian
Colonel
Colonel


Joined: Mar 14, 2004
Posts: 1939

Location: Behind you

PostPosted: Tue Nov 01, 2005 9:22 pm Reply with quoteBack to top

Cause of Error:
PHP for Windows does not support pear configuration classes.

Cure:
Delete Config class

How to:
step 1. Open xampp\xampp\php\pear\Config.php
step 2. find Config class definition (found at the very bottom of config.php file)
step 3. Delete that part.
step 4. Restart xampp.

_________________
Home of the Enterprise PHP-NUKE
Find all posts by XyberianView user's profileSend private messageVisit poster's website
vector
Nuke Soldier
Nuke Soldier


Joined: Oct 21, 2004
Posts: 10


PostPosted: Sun Aug 13, 2006 5:18 am Reply with quoteBack to top

I have looked for the class config on or around line 43, here is what i see on line 43

Code:
} elseif (getenv('SystemRoot')) {


should i just commengt hat line out or am i in the wrong place?
Find all posts by vectorView user's profileSend private message
kindpeacho
Nuke Soldier
Nuke Soldier


Joined: May 16, 2004
Posts: 26


PostPosted: Fri Sep 08, 2006 4:24 am Reply with quoteBack to top

oooh thank you thank you - I can now get into my forum admin with no problems. Very Happy (7.6 with 3.2 patch)

Just incase us "noobs" don't understand 100%:

In Xampp/php/pear/config.php
I had to delete line 43 (class config) thru the bottom where it says //end class config

So line 43-229 -- now i only have 36 lines in my config.php file as long as that's okay (security wise) i'll take it - the fix works!

_________________
-- KindPeacho
Find all posts by kindpeachoView 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 - TUTTISU E-COMMERCE http://www.tuttisu.it
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.632 Seconds - 38 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::