Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.02.02 Distro
Author Message
zone
New Member
New Member



Joined: Aug 08, 2006
Posts: 11

PostPosted: Fri Aug 11, 2006 11:41 am Reply with quote

hello i have a problem with my forum. i was trieing to update it to the new version and i did every thing it told me to do and now it don't work. when i go to my forum i get this :
Code:
Warning: main() [function.main]: Unable to access ./extension.inc in /home/dothost.eu/vhosts/deltaforcewarriors.43i.net/modules/Forums/index.php on line 25


Warning: main(./extension.inc) [function.main]: failed to open stream: No such file or directory in /home/dothost.eu/vhosts/deltaforcewarriors.43i.net/modules/Forums/index.php on line 25

Warning: main() [function.include]: Failed opening './extension.inc' for inclusion (include_path='.:/usr/share/pear') in /home/dothost.eu/vhosts/deltaforcewarriors.43i.net/modules/Forums/index.php on line 25

Warning: main() [function.main]: Unable to access ./common. in /home/dothost.eu/vhosts/deltaforcewarriors.43i.net/modules/Forums/index.php on line 26

Warning: main(./common.) [function.main]: failed to open stream: No such file or directory in /home/dothost.eu/vhosts/deltaforcewarriors.43i.net/modules/Forums/index.php on line 26

Warning: main() [function.include]: Failed opening './common.' for inclusion (include_path='.:/usr/share/pear') in /home/dothost.eu/vhosts/deltaforcewarriors.43i.net/modules/Forums/index.php on line 26

Fatal error: Call to undefined function session_pagestart() in /home/dothost.eu/vhosts/deltaforcewarriors.43i.net/modules/Forums/index.php on line 31


What am i seposed to do ????
pls Help me!!!!

zonekiller
 
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce



Joined:
Posts: 5661

PostPosted: Fri Aug 11, 2006 1:15 pm Reply with quote

are you sure you took the right upgrade pack ?
 
View user's profile Send private message
zone







PostPosted: Fri Aug 11, 2006 1:22 pm Reply with quote

yes

my site: [ Only registered users can see links on this board! Get registered or login! ]
 
hitwalker







PostPosted: Fri Aug 11, 2006 1:48 pm Reply with quote

what nuke version and forums do you have?
 
zone







PostPosted: Fri Aug 11, 2006 4:36 pm Reply with quote

well i have a new problem i downloaded the raven nuke file and uploaded the forums module agian and now at least it gives me the black ground and the blocks but now i get this error:
Code:
phpBB : Critical Error


Could not query config information

DEBUG MODE

SQL Error : 1146 Table 'db1893_dfwdb.config' doesn't exist

SELECT * FROM config

Line : 223
File : common.php


how do i fix this?
 
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Sat Aug 12, 2006 3:04 pm Reply with quote

Well, this doesn't look anything like RavenNuke. We need to know what you had before in terms of Nuke, patch level, and BBtoNuke version and then exactly what you did...

_________________
Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... 
View user's profile Send private message Visit poster's website
zone







PostPosted: Sat Aug 12, 2006 7:43 pm Reply with quote

Yes it is. just an other theme. Have the newest raven.

if you don't beleave me here is the msg that comes with it:
Image
 
gregexp
The Mouse Is Extension Of Arm



Joined: Feb 21, 2006
Posts: 1497
Location: In front of a screen....HELP! lol

PostPosted: Sun Aug 13, 2006 12:40 am Reply with quote

Post the contents of common.php if possible.

Line 223 is close to all I need thanx.

_________________
For those who stand shall NEVER fall and those who fall shall RISE once more!! 
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
zone







PostPosted: Sun Aug 13, 2006 9:47 am Reply with quote

Code:
<?php

/***************************************************************************
 *                                common.php
 *                            -------------------
 *   begin                : Saturday, Feb 23, 2001
 *   copyright            : (C) 2001 The phpBB Group
 *   email                : [ Only registered users can see links on this board! Get registered or login! ]
 *
 *   Id: common.php,v 1.74.2.23 2006/02/26 17:34:50 grahamje Exp $
 *
 ***************************************************************************/

/***************************************************************************
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 ***************************************************************************/

if ( !defined('IN_PHPBB') )
{
   die("Hacking attempt");
}

//
error_reporting  (E_ERROR | E_WARNING | E_PARSE); // This will NOT report uninitialized variables
set_magic_quotes_runtime(0); // Disable magic_quotes_runtime

// The following code (unsetting globals)
// Thanks to Matt Kavanagh and Stefan Esser for providing feedback as well as patch files

// PHP5 with register_long_arrays off?
if (@phpversion() >= '5.0.0' && (!@ini_get('register_long_arrays') || @ini_get('register_long_arrays') == '0' || strtolower(@ini_get('register_long_arrays')) == 'off'))
{
   $HTTP_POST_VARS = $_POST;
   $HTTP_GET_VARS = $_GET;
   $HTTP_SERVER_VARS = $_SERVER;
   $HTTP_COOKIE_VARS = $_COOKIE;
   $HTTP_ENV_VARS = $_ENV;
   $HTTP_POST_FILES = $_FILES;

   // _SESSION is the only superglobal which is conditionally set
   if (isset($_SESSION))
   {
      $HTTP_SESSION_VARS = $_SESSION;
   }
}

// Protect against GLOBALS tricks
if (isset($HTTP_POST_VARS['GLOBALS']) || isset($HTTP_POST_FILES['GLOBALS']) || isset($HTTP_GET_VARS['GLOBALS']) || isset($HTTP_COOKIE_VARS['GLOBALS']))
{
   die("Hacking attempt");
}

// Protect against HTTP_SESSION_VARS tricks
if (isset($HTTP_SESSION_VARS) && !is_array($HTTP_SESSION_VARS))
{
   die("Hacking attempt");
}

if (@ini_get('register_globals') == '1' || strtolower(@ini_get('register_globals')) == 'on')
{
   // PHP4+ path
   $not_unset = array('HTTP_GET_VARS', 'HTTP_POST_VARS', 'HTTP_COOKIE_VARS', 'HTTP_SERVER_VARS', 'HTTP_SESSION_VARS', 'HTTP_ENV_VARS', 'HTTP_POST_FILES', 'phpEx', 'phpbb_root_path', 'name', 'admin', 'nukeuser', 'user', 'no_page_header', 'cookie', 'db', 'prefix');

   // Not only will array_merge give a warning if a parameter
   // is not an array, it will actually fail. So we check if
   // HTTP_SESSION_VARS has been initialised.
   if (!isset($HTTP_SESSION_VARS) || !is_array($HTTP_SESSION_VARS))
   {
      $HTTP_SESSION_VARS = array();
   }

   // Merge all into one extremely huge array; unset
   // this later
   $input = array_merge($HTTP_GET_VARS, $HTTP_POST_VARS, $HTTP_COOKIE_VARS, $HTTP_SERVER_VARS, $HTTP_SESSION_VARS, $HTTP_ENV_VARS, $HTTP_POST_FILES);

   unset($input['input']);
   unset($input['not_unset']);

   while (list($var,) = @each($input))
   {
      if (!in_array($var, $not_unset))
      {
         unset($$var);
      }
   }

   unset($input);
}

//
// addslashes to vars if magic_quotes_gpc is off
// this is a security precaution to prevent someone
// trying to break out of a SQL statement.
//
if( !get_magic_quotes_gpc() )
{
   if( is_array($HTTP_GET_VARS) )
   {
      while( list($k, $v) = each($HTTP_GET_VARS) )
      {
         if( is_array($HTTP_GET_VARS[$k]) )
         {
            while( list($k2, $v2) = each($HTTP_GET_VARS[$k]) )
            {
               $HTTP_GET_VARS[$k][$k2] = addslashes($v2);
            }
            @reset($HTTP_GET_VARS[$k]);
         }
         else
         {
            $HTTP_GET_VARS[$k] = addslashes($v);
         }
      }
      @reset($HTTP_GET_VARS);
   }

   if( is_array($HTTP_POST_VARS) )
   {
      while( list($k, $v) = each($HTTP_POST_VARS) )
      {
         if( is_array($HTTP_POST_VARS[$k]) )
         {
            while( list($k2, $v2) = each($HTTP_POST_VARS[$k]) )
            {
               $HTTP_POST_VARS[$k][$k2] = addslashes($v2);
            }
            @reset($HTTP_POST_VARS[$k]);
         }
         else
         {
            $HTTP_POST_VARS[$k] = addslashes($v);
         }
      }
      @reset($HTTP_POST_VARS);
   }

   if( is_array($HTTP_COOKIE_VARS) )
   {
      while( list($k, $v) = each($HTTP_COOKIE_VARS) )
      {
         if( is_array($HTTP_COOKIE_VARS[$k]) )
         {
            while( list($k2, $v2) = each($HTTP_COOKIE_VARS[$k]) )
            {
               $HTTP_COOKIE_VARS[$k][$k2] = addslashes($v2);
            }
            @reset($HTTP_COOKIE_VARS[$k]);
         }
         else
         {
            $HTTP_COOKIE_VARS[$k] = addslashes($v);
         }
      }
      @reset($HTTP_COOKIE_VARS);
   }
}

//
// Define some basic configuration arrays this also prevents
// malicious rewriting of language and otherarray values via
// URI params
//
$board_config = array();
$userdata = array();
$theme = array();
$images = array();
$lang = array();
$nav_links = array();
$dss_seeded = false;
$gen_simple_header = FALSE;

include($phpbb_root_path . 'config.'.$phpEx);

if( !defined("PHPBB_INSTALLED") )
{
        header("Location: modules.php?name=Forums&file=install");
   exit;
}

if (defined('FORUM_ADMIN')) {
    //include("../../../db/db.php");
    include("../../../includes/constants.php");
    include("../../../includes/template.php");
    include("../../../includes/sessions.php");
    include("../../../includes/auth.php");
    include("../../../includes/functions.php");
} else {
    include("includes/constants.php");
    include("includes/template.php");
    include("includes/sessions.php");
    include("includes/auth.php");
    include("includes/functions.php");
    include("db/db.php");
}

// We do not need this any longer, unset for safety purposes
unset($dbpasswd);

//
// Obtain and encode users IP
//
// I'm removing HTTP_X_FORWARDED_FOR ... this may well cause other problems such as
// private range IP's appearing instead of the guilty routable IP, tough, don't
// even bother complaining ... go scream and shout at the idiots out there who feel
// "clever" is doing harm rather than good ... karma is a great thing ... :)
//
$client_ip = ( !empty($HTTP_SERVER_VARS['REMOTE_ADDR']) ) ? $HTTP_SERVER_VARS['REMOTE_ADDR'] : ( ( !empty($HTTP_ENV_VARS['REMOTE_ADDR']) ) ? $HTTP_ENV_VARS['REMOTE_ADDR'] : getenv('REMOTE_ADDR') );
$user_ip = encode_ip($client_ip);

//
// Setup forum wide options, if this fails
// then we output a CRITICAL_ERROR since
// basic forum information is not available
//
$sql = "SELECT *
   FROM " . CONFIG_TABLE;
if( !($result = $db->sql_query($sql)) )
{
   message_die(CRITICAL_ERROR, "Could not query config information", "", __LINE__, __FILE__, $sql);
}

while ( $row = $db->sql_fetchrow($result) )
{
   $board_config[$row['config_name']] = $row['config_value'];
}


//
// Show 'Board is disabled' message if needed.
//
if( $board_config['board_disable'] && !defined("IN_ADMIN") && !defined("IN_LOGIN") )
{
   message_die(GENERAL_MESSAGE, 'Board_disable', 'Information');
}

?>
 
zone







PostPosted: Mon Aug 14, 2006 5:34 pm Reply with quote

Ami not getting any help here ????
 
gregexp







PostPosted: Mon Aug 14, 2006 6:46 pm Reply with quote

First, let the people look into your problem. Things came up and I couldnt look at it right away.

Now this looks right but something else is wrong here.

I believe you may need to have someone look into your problem all together.

Im thinking this is a table error, make sure the table nuke_bbconfig exists and is populated.
I cannot get my head in this right now but I will try tomorrow, please contact me via e-mail.
 
montego







PostPosted: Mon Aug 14, 2006 7:11 pm Reply with quote

zone wrote:
Ami not getting any help here ????


Zone, you need to go back, please, and re-read the Rules of these forums:
[ Only registered users can see links on this board! Get registered or login! ]

I thoroughly resent your comment and please keep in mind that people here may have "real jobs" during the day (I am still at work by the way). This is a volunteer supported site. Please respect that in the future.

BTW, the relevant statements from the "Rules" are:

Quote:
- We know that your question is the only question that matters ! But, when there are 10 new questions out there, then we have 10 priorities. We will get to all of them eventually, with few exceptions. Please don't start adding comments and posts to your original post with remarks like 'Anyone out there?', 'BUMP', 'I guess my question is not important', etc.

- It is acceptable to BUMP a message that has gone a few days with no answer and has scrolled off the page.
 
zone







PostPosted: Mon Aug 14, 2006 7:21 pm Reply with quote

sorry
 
montego







PostPosted: Mon Aug 14, 2006 7:52 pm Reply with quote

zone, appology accepted. Now, let us give Darklord a chance to help you out... if you have emailed him that is (as he has suggested).
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.02.02 Distro

View next topic
View previous 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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©