Clan Adverts

Sponsors

CT on Facebook

Latest Product

User Box

Anonymous
38.107.179.220
Nickname:

Password:

Security Code
Security Code
Type Security Code


PND Downloads Feed

Phpnuke Downloads
How to Delete or Reset yo...
How to Delete or Reset your PHPNuke Admin Account
Lost your admin password ?  Cant login to your admin account ?This sh...
Back Online & Stuff
Back Online & Stuff
Look at us with our nifty website back up and running… Seriousl...
How to edit the admins in...
How to edit the admins in the forums
Here is a way to make someone admin in your forums on your Evo site. I...
Demo Splash Screen
Demo Splash Screen
Ped @ Clan Themes has released a simple splash screen entrance hack. ...
Free Phpnuke Business The...
Free Phpnuke Business Theme 6
This is the 6th Business theme for Phpnuke that Clan Themes has releas...
Tricked Out Slider
Tricked Out Slider
We have seen some great new things come out of Tricked Out News and th...

Custom Work

PHP Nuke Custom Work

www.clanthemes.com :: View topic - Blank page when accessing forum button
Blank page when accessing forum button

5 Replies / 2751 Views


Post new topic   Reply to topic  

   www.clanthemes.com Forum Index » General PhpNuke

View previous topic :: View next topic


ipoipo2
Reputation: 461.4 Add RepSubtract Rep
Local time: 8:32 AM


Noob
Noob

0.00 posts per day
Medals: 0

Joined: Sep 03, 2007
Last Visit: 04 Sep 2007
Posts: 2
Points: 100 

Post Blank page when accessing forum button Posted: Tue Sep 04, 2007 3:48 am

Hi,

i just installed phpnuke ver 8 and go to admin. when i click forum button the page is blank. so now im stuck how to configure the forum the way i want it...actually i installed also ver. 7.9 but still same problem.. i hope someone can help me..
 

 
View user's profileSend private message Reply with quote

ipoipo2
Reputation: 461.4 Add RepSubtract Rep
Local time: 8:32 AM


Noob
Noob

0.00 posts per day
Medals: 0

Joined: Sep 03, 2007
Last Visit: 04 Sep 2007
Posts: 2
Points: 100 

Post Blank page when accessing forum button Posted: Tue Sep 04, 2007 5:01 am

i activated display error on my config.php. here is the error:

Fatal error: Cannot redeclare class config in C:\xampp\php\pear\Config.php on line 44

Confused Dont Know
 

 
View user's profileSend private message Reply with quote

JunkMonkey
Reputation: 468.3 Add RepSubtract Rep
Local time: 1:32 PM

blank.gif



0.06 posts per day
Medals: 1 (View more...)
Super Dedicated User (Amount: 1)
Theme Guru
Theme Guru
Joined: Nov 14, 2006
Last Visit: 24 Mar 2009
Posts: 118
Points: 20428 

Post Blank page when accessing forum button Posted: Tue Sep 04, 2007 3:44 pm

Shop Purchases:
Call of Duty 5 Bulletproof Theme

I think to be fair you are going to have to pull up the config file referred to and let us know what is on line 44. Obviously something on that line is being called and its having problems.

Can you cut and paste the line here and we can start working out whats wrong.

Cheers

Heefy
 

 
View user's profileSend private message Reply with quote


EnchantedStrike
Reputation: 0.1 Add RepSubtract Rep
Local time: 7:32 AM

blank.gif

Noob
Noob

0.00 posts per day
Medals: 0

Joined: Jan 07, 2008
Last Visit: 14 Jan 2008
Posts: 1
Points: 100 

Post Blank page when accessing forum button Posted: Mon Jan 14, 2008 5:10 pm

I too am having the same problem...


Here is the code:

Code:

[align=left]

class Config {

    /**
    * Datasource
    * Can be a file url, a dsn, an object...
    * @var mixed
    */
    var $datasrc;

    /**
    * Type of datasource for config
    * Ex: IniCommented, Apache...
    * @var string
    */
    var $configType = '';

    /**
    * Options for parser
    * @var string
    */
    var $parserOptions = array();

    /**
    * Container object
    * @var object
    */
    var $container;

    /**
    * Constructor
    * Creates a root container
    *
    * @access public
    */
    function Config()
    {
        $this->container =& new Config_Container('section', 'root');
    } // end constructor

    /**
    * Returns true if container is registered
    *
    * @param    string  $configType  Type of config
    * @access public
    * @return   bool
    */
    function isConfigTypeRegistered($configType)
    {
        return isset($GLOBALS['CONFIG_TYPES'][strtolower($configType)]);
    } // end func isConfigTypeRegistered

    /**
     * Register a new container
     *
     * @param    string       $configType  Type of config
     * @param    array|false  $configInfo  Array of format:
     *           array('path/to/Name.php',
     *                 'Config_Container_Class_Name').
     *
     *           If left false, defaults to:
     *           array('Config/Container/$configType.php',
     *                 'Config_Container_$configType')
     * @access   public
     * @static
     * @author   Greg Beaver <cellog@users.sourceforge.net>
     * @return   true|PEAR_Error  true on success
     */
    function registerConfigType($configType, $configInfo = false)
    {
        if (Config::isConfigTypeRegistered($configType)) {
            $info = $GLOBALS['CONFIG_TYPES'][strtolower($configType)];
            if ($info[0] == $configInfo[0] &&
                $info[1] == $configInfo[1]) {
                return true;
            } else {
                return PEAR::raiseError("Config::registerConfigType registration of existing $configType failed.", null, PEAR_ERROR_RETURN);
            }
        }
        if (!is_array($configInfo)) {
            // make the normal assumption, that this is a standard config container added in at runtime
            $configInfo = array('Config/Container/' . $configType . '.php',
                                'Config_Container_'. $configType);
        }
        $file_exists = @include_once($configInfo[0]);
        if ($file_exists) {
            if (!class_exists($configInfo[1])) {
                return PEAR::raiseError("Config::registerConfigType class '$configInfo[1]' not found in $configInfo[0]", null, PEAR_ERROR_RETURN);
            }
        } else {
            return PEAR::raiseError("Config::registerConfigType file $configInfo[0] not found", null, PEAR_ERROR_RETURN);
        }
        $GLOBALS['CONFIG_TYPES'][strtolower($configType)] = $configInfo;
        return true;
    } // end func registerConfigType

    /**
    * Returns the root container for this config object
    *
    * @access public
    * @return   object  reference to config's root container object
    */
    function &getRoot()
    {
        return $this->container;
    } // end func getRoot

    /**
    * Sets the content of the root Config_container object.
    *
    * This method will replace the current child of the root
    * Config_Container object by the given object.
    *
    * @param object  $rootContainer  container to be used as the first child to root
    * @access public
    * @return   mixed    true on success or PEAR_Error
    */
    function setRoot(&$rootContainer)
    {
        if (is_object($rootContainer) && strtolower(get_class($rootContainer)) === 'config_container') {
            if ($rootContainer->getName() === 'root' && $rootContainer->getType() === 'section') {
                $this->container =& $rootContainer;
            } else {
                $this->container =& new Config_Container('section', 'root');
                $this->container->addItem($rootContainer);
            }
            return true;
        } else {
            return PEAR::raiseError("Config::setRoot only accepts object of Config_Container type.", null, PEAR_ERROR_RETURN);
        }
    } // end func setRoot

    /**
    * Parses the datasource contents
    *
    * This method will parse the datasource given and fill the root
    * Config_Container object with other Config_Container objects.
    *
    * @param mixed   $datasrc     Datasource to parse
    * @param string  $configType  Type of configuration
    * @param array   $options     Options for the parser
    * @access public
    * @return mixed PEAR_Error on error or Config_Container object
    */
    function &parseConfig($datasrc, $configType, $options = array())
    {
        $configType = strtolower($configType);
        if (!$this->isConfigTypeRegistered($configType)) {
            return PEAR::raiseError("Configuration type '$configType' is not registered in Config::parseConfig.", null, PEAR_ERROR_RETURN);
        }
        $includeFile = $GLOBALS['CONFIG_TYPES'][$configType][0];
        $className = $GLOBALS['CONFIG_TYPES'][$configType][1];
        include_once($includeFile);

        $parser = new $className($options);
        $error = $parser->parseDatasrc($datasrc, $this);
        if ($error !== true) {
            return $error;
        }
        $this->parserOptions = $parser->options;
        $this->datasrc = $datasrc;
        $this->configType = $configType;
        return $this->container;
    } // end func &parseConfig

    /**
    * Writes the container contents to the datasource.
    *
    * @param mixed   $datasrc     Datasource to write to
    * @param string  $configType  Type of configuration
    * @param array   $options     Options for config container
    * @access public
    * @return mixed PEAR_Error on error or true if ok
    */
    function writeConfig($datasrc = null, $configType = null, $options = array())
    {
        if (empty($datasrc)) {
            $datasrc = $this->datasrc;
        }
        if (empty($configType)) {
            $configType = $this->configType;
        }
        if (empty($options)) {
            $options = $this->parserOptions;
        }
        return $this->container->writeDatasrc($datasrc, $configType, $options);
    } // end func writeConfig
} // end class Config
?>
[/quote]


Last edited by EnchantedStrike on Mon Jan 14, 2008 5:35 pm; edited 1 time in total
 

 
View user's profileSend private message Reply with quote

Ped
Reputation: 62.2 Add RepSubtract Rep
votes: 35
Local time: 2:32 PM
Location: Great British Empire
uk.gif

Site Founder
Site Founder

2.32 posts per day
Medals: 2 (View more...)
Forums MoD (Amount: 1)
Theme Guru
Theme Guru
Joined: Nov 13, 2006
Last Visit: 09 Feb 2012
Posts: 4449
Points: 180682 

Post Re: Blank page when accessing forum button Posted: Mon Jan 14, 2008 5:21 pm

Shop Purchases:
Clan Roster 2.0 · Bad Company 2 Vietnam Xtreme Theme

It looks like its an error from using xampp

try using apache

how to install on XP >> http://www.clan-themes.co.uk/tutorials-view-86-setting-up-your-own-local-server.html

how to install on Vista >> http://www.clan-themes.co.uk/tutorials-view-121-set-up-a-local-server-on-vista.html
 

 
View user's profileSend private messageSend e-mail Reply with quote

DarthMartel
Reputation: 1.8 Add RepSubtract Rep
Local time: 7:32 AM


Noob
Noob

0.01 posts per day
Medals: 0

Joined: Feb 21, 2008
Last Visit: 05 Apr 2008
Posts: 10
Points: 348 

Post Blank page when accessing forum button Posted: Sat Mar 01, 2008 9:03 pm

make sure you have the nukebb.php or whatever files from your install directory are the same as the ones you FTP'd or uploaded to your server. I was missing that file and kept getting a white page. When I noticed it wasn't in the /module/forum directory I copied it over and I could then bring the forums up.
 

 
View user's profileSend private message Reply with quote

Post new topic   Reply to topic  
   www.clanthemes.com Forum Index » General PhpNuke


 
5 Replies / 2751 Views
Page 1 of 1
All times are GMT
Display posts from previous:   
 
Jump to:  
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
You cannot attach files in this forum
You can download files in this forum