Clan Adverts

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

 Welcome To Clan Themes 

As the board grows please remember the Search Option

We also monitor Private Messages to stop members from abusing our sites system.

Note!! Anyone thinking of spamming or posting senseless threads to make up their post count will be permanently banned we have a zero tolerance spamming policy here, you've been warned.

Blank page when accessing forum button

5 Replies / 1966 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: 5:47 PM


Status: Offline
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: 5:47 PM


Status: Offline
0.00 posts per day
Medals: 0

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

View user's profileSend private message Reply with quote

JunkMonkey
Reputation: 468.3 Add RepSubtract Rep
Local time: 10:47 PM

blank.gif

Status: Offline
0.10 posts per day
Medals: 1 (View more...)
Super Dedicated User (Amount: 1)
Clan Themes Theme Guru
Clan Themes 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: 4:47 PM

blank.gif

Status: Offline
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: 1138.2 Add RepSubtract Rep
votes: 28
Local time: 11:47 PM
Location: Great British Empire
uk.gif

Status: Offline
2.05 posts per day
Medals: 2 (View more...)
Forums MoD (Amount: 1)
Clan Themes Theme Guru
Clan Themes Theme Guru
Joined: Nov 13, 2006
Last Visit: 17 Mar 2010
Posts: 2503
Points: 99747 

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

DarthMartel
Reputation: 1.8 Add RepSubtract Rep
Local time: 4:47 PM


Status: Offline
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 / 1966 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