Announcement

Collapse
No announcement yet.

Trying to upgrade but now error, I have no backup oops

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Trying to upgrade but now error, I have no backup oops

    I get the following error when i try to upgrade, I thought I had backed up but the backup is corrupt so I am stuck basically. Anyone know what it is?

    THanks

    | #################################################################### || # Downloaded: 05:00, Mon Mar 16th 2009 || # CVS: $RCSfile$ - $Revision: 29328 $ || #################################################################### \*======================================================================*/ ?>############ \*======================================================================*/ ?>} class XMLexporter extends vB_XML_Builder { } /*======================================================================*\ || #################################################################### || # Downloaded: 05:00, Mon Mar 16th 2009 || # CVS: $RCSfile$ - $Revision: 29290 $ || #################################################################### \*======================================================================*/ ?> If specified, returns the corresponding timezone phrase name. Otherwise, all timezones will be returned * * @return mixed */ function fetch_timezone($offset = 'all') { $timezones = array( '-12' => 'timezone_gmt_minus_1200', '-11' => 'timezone_gmt_minus_1100', '-10' => 'timezone_gmt_minus_1000', '-9' => 'timezone_gmt_minus_0900', '-8' => 'timezone_gmt_minus_0800', '-7' => 'timezone_gmt_minus_0700', '-6' => 'timezone_gmt_minus_0600', '-5' => 'timezone_gmt_minus_0500', '-4.5' => 'timezone_gmt_minus_0430', '-4' => 'timezone_gmt_minus_0400', '-3.5' => 'timezone_gmt_minus_0330', '-3' => 'timezone_gmt_minus_0300', '-2' => 'timezone_gmt_minus_0200', '-1' => 'timezone_gmt_minus_0100', '0' => 'timezone_gmt_plus_0000', '1' => 'timezone_gmt_plus_0100', '2' => 'timezone_gmt_plus_0200', '3' => 'timezone_gmt_plus_0300', '3.5' => 'timezone_gmt_plus_0330', '4' => 'timezone_gmt_plus_0400', '4.5' => 'timezone_gmt_plus_0430', '5' => 'timezone_gmt_plus_0500', '5.5' => 'timezone_gmt_plus_0530', '5.75' => 'timezone_gmt_plus_0545', '6' => 'timezone_gmt_plus_0600', '6.5' => 'timezone_gmt_plus_0630', '7' => 'timezone_gmt_plus_0700', '8' => 'timezone_gmt_plus_0800', '9' => 'timezone_gmt_plus_0900', '9.5' => 'timezone_gmt_plus_0930', '10' => 'timezone_gmt_plus_1000', '11' => 'timezone_gmt_plus_1100', '12' => 'timezone_gmt_plus_1200' ); if ($offset === 'all') { return $timezones; } else { return $timezones["$offset"]; } } /** * Implodes an array using both values and keys * * @param string $glue1 - Glue between key and value * @param string $glue2 - Glue between value and key * @param mixed $array - Arr to implode * @param boolean $skip_empty - Whether to skip empty elements * @return string - The imploded result */ function implode_both($glue1 = '', $glue2 = '', $array, $skip_empty = false) { if (!is_array($array)) { return ''; } foreach ($array as $key => $val) { if (!$skip_empty OR !empty($val)) { $array[$key] = $key . $glue1 . $val; } else { unset($array[$key]); } } return implode($glue2, $array); } /** * Implodes an assoc array into a partial url query string * * @param mixed $array - Array to parse * @param boolean $skip_empty - Whether to skip empty elements * @return string - The parsed result */ function urlimplode($array, $skip_empty = true, $skip_urlencode = false) { if (!$skip_urlencode) { foreach ($array AS $key => $value) { $array[$key] = urlencode($value); } } return implode_both('=', '&', $array, $skip_empty); } /** * Checks if a user has currently exceeded their private message quota * * @param integer $userid Id of the user to check * @return boolean Whether they have exceeded their quota */ function fetch_privatemessage_throttle_reached($userid) { global $vbulletin; if (!$vbulletin->options['pmthrottleperiod']) { return false; } if (!$vbulletin->userinfo['permissions']['pmthrottlequantity']) { return false; } $count = $vbulletin->db->query_first(" SELECT COUNT(userid) AS total FROM " . TABLE_PREFIX . "pmthrottle WHERE userid = " . intval($vbulletin->userinfo['userid']) . " AND dateline > " . (TIMENOW - ($vbulletin->options['pmthrottleperiod'] * 60)) ); return ($count['total'] >= $vbulletin->userinfo['permissions']['pmthrottlequantity']); } /*======================================================================*\ || #################################################################### || # Downloaded: 05:00, Mon Mar 16th 2009 || # CVS: $RCSfile$ - $Revision: 28830 $ || #################################################################### \*======================================================================*/ ?>==================================================*/ ?>
    Warning: Cannot modify header information - headers already sent by (output started at /home/ineed2ge/public_html/forum/includes/class_core.php:3314) in /home/ineed2ge/public_html/forum/includes/functions.php on line 3087

  • #2
    Your files got uploaded badly, reupload them and make sure that you overwrite the files.

    Comment


    • #3
      Originally posted by Zachery View Post
      Your files got uploaded badly, reupload them and make sure that you overwrite the files.
      I did it 3 times but then I looked into it further and my ftp client had overwritten some files but not others, and even others it had put them in with name of (1) which was quite annoying!

      Another issue I have is http://www.disneyworldonline.co.uk/forum it says the admin has banned my IP. I am admin. Nobody else can access the forum either. Not my hosting company and not other users. Any Idea?
      Thanks.

      Comment


      • #4
        I get that too, if your ip had been banned then you wouldnt even see your forum

        That's just the message that's been added because your forums are shut?

        Comment


        • #5
          Are you trying to upgrade to 3.8.1 ?

          This could be from an add-on ..

          To check this add...

          define('DISABLE_HOOKS', true); just after <?php in includes/config.php

          This will disable all your plugins

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...
          X