View Full Version : (RESOLVED) Install error please help
Flexxall
08-09-2009, 09:32 AM
I am getting the following error when i click continue installation from this page
http://localhost/phpbb3/adoptables/install/index.php?step=3
Error :
Fatal error: Cannot redeclare class Config in C:\xampp\php\PEAR\Config.php on line 44
Line 44ish of config.php
* it creates to keep track of the configuration structure.
*
* @author Bertrand Mansion <bmansion@mamasam.com>
* @package Config
*/
class Config {
/**
* Datasource
* Can be a file url, a dsn, an object...
* @var mixed
*/
var $datasrc;
BMR777
08-09-2009, 10:27 AM
I don't know why you are getting that error, but it appears to be related to your XAMPP installation. My script doesn't use a config class. It seems maybe you tried to install PEAR on your server and it didn't install correctly?
PEAR is not required for the PHP Adoptables Script, only PHP and MySQL. This looks like a server configuration error though as the files and paths referenced don't belong to my script.
Brandon
Flexxall
08-09-2009, 10:34 AM
I'm not even sure why the PEAR folder is there. It might be an xampp thing. What would you suggest I try to get this issue resolved. I am building a web server to run this on so for the time being im on localhost. The only way I can think to get around xampp would be to either rebuild my site using a different interface like wampp or using a hosting service. Id like to try to get it working via localhost but I suppose I can do what is needed. Any guidance would be appreciated.
BMR777
08-09-2009, 10:38 AM
I would maybe try posting on the XAMPP forums or support area if they have one and see if they can shed some light on this. Otherwise, just from a quick Google search this (http://www.karakas-online.de/forum/viewtopic.php?t=10288) may help.
It seems though it is a XAMPP error somewhere in the program's configuration. Hopefully the link given there will help, otherwise it may need to be installed on a properly configured web host's server.
Brandon
Flexxall
08-09-2009, 10:56 AM
Thanx for the help. I removed the pear dirctory from the includes path in the php.ini and the site is up and running now. Time to play :)
BMR777
08-09-2009, 10:57 AM
Glad it's working. :)
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.