forums upgrade

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   forums upgrade
stealthusa
CZ Addict
stealthusa has been a member for over 20 year's 20 Year Member
usa.gif ohio.gif
Occupation: Self-Employed
Age: 58
Gender: Male
Fav. Sports Team: Cowboys
Website:
Status: Offline
Joined: Jan 23, 2004
0.05 posts per day
Posts: 353
Points: 14,459
 Yahoo Messenger  ICQ Number
hello i am doing another site and when i upgraded to 2.0.8 to 2.0.9 i got this error first

Parse error: parse error in /home/stealths/public_html/test/includes/functions.php on line 229

didn't think much of it so i went and did the 2.09 to 2.0.10 and now i got this error and it is on the index page and i can't even go to the forums admin at all

Parse error: parse error in /home/stealths/public_html/test/includes/functions.php on line 229

Fatal error: Call to undefined function: encode_ip() in /home/stealths/public_html/test/modules/Forums/common.php on line 243

here is the line from the functions
and common

         {
                $boxstring .= '<select name="' . POST_FORUM_URL . '" onchange="if(this.options[this.selectedIndex].value != -1){ forms[\'jumpbox\'].submit() }"></select>';
        }

Let the jumpbox work again in sites having additional session id checks.
   if ( !empty($SID) )
   {
      $boxstring .= '<input type="hidden" name="sid" value="' . $userdata['session_id'] . '" />';
   }

        $template->set_filenames(array(
                'jumpbox' => 'jumpbox.tpl')
        );
        $template->assign_vars(array(
                'L_GO' => $lang['Go'],
                'L_JUMP_TO' => $lang['Jump_to'],
                'L_SELECT_FORUM' => $lang['Select_forum'],

                'S_JUMPBOX_SELECT' => $boxstring,
                'S_JUMPBOX_ACTION' => append_sid($action))
        );
        $template->assign_var_from_handle('JUMPBOX', 'jumpbox');

        return;
these are from 225 to 249

common

$client_ip = ( !empty($HTTP_SERVER_VARS['REMOTE_ADDR']) ) ? $HTTP_SERVER_VARS['REMOTE_ADDR'] : ( ( !empty($HTTP_ENV_VARS['REMOTE_ADDR']) ) ? $HTTP_ENV_VARS['REMOTE_ADDR'] : $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 * 


lines 241 to 250 hope some one can help

also this is a new install so i used the files from this site i just uploaded and run the installers



_________________
Back to top Reply with quote
#2   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,475
   
Redownload them and upload them again. Most the time its just a corrupt upload.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   
stealthusa
CZ Addict
stealthusa has been a member for over 20 year's 20 Year Member
usa.gif ohio.gif
Occupation: Self-Employed
Age: 58
Gender: Male
Fav. Sports Team: Cowboys
Website:
Status: Offline
Joined: Jan 23, 2004
0.05 posts per day
Posts: 353
Points: 14,459
 Yahoo Messenger  ICQ Number
that worked thank you




_________________
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

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 cannot download files in this forum