Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: MegaV1 on May 24, 2006, 02:24:46 AM

Title: Fatal error: Call to undefined function: parse_bbc() in /home/nextgene/public_ht
Post by: MegaV1 on May 24, 2006, 02:24:46 AM
Fatal error: Call to undefined function: parse_bbc() in /home/nextgene/public_html/forum/Sources/Load.php(1055) : eval()'d code on line 135

help?
please?
Title: Re: Fatal error: Call to undefined function: parse_bbc() in /home/nextgene/publi
Post by: kegobeer on May 24, 2006, 07:57:01 AM
What version of SMF are you running?  Are you using the default theme?  If not, when you switch to the default theme do you get any error messages?
Title: Re: Fatal error: Call to undefined function: parse_bbc() in /home/nextgene/publi
Post by: MegaV1 on May 25, 2006, 03:01:31 AM
1.0.7, i was using it and someone said they can't see it, so i logged out and that happened
Title: Re: Fatal error: Call to undefined function: parse_bbc() in /home/nextgene/publi
Post by: kegobeer on May 25, 2006, 07:16:19 AM
Use the default theme.  If you don't get that message anymore, your custom theme has a problem.
Title: Re: Fatal error: Call to undefined function: parse_bbc() in /home/nextgene/publi
Post by: MegaV1 on May 25, 2006, 10:22:40 AM
i'm using the default theme
do you use MSN Messenger?
add me, [email protected]
or e-maill [email protected]
Title: Re: Fatal error: Call to undefined function: parse_bbc() in /home/nextgene/public_ht
Post by: kegobeer on May 25, 2006, 11:32:12 AM
The parse_bbc function only exists in SMF 1.1.  Are you sure you are using 1.0.7?
Title: Re: Fatal error: Call to undefined function: parse_bbc() in /home/nextgene/publi
Post by: MegaV1 on May 26, 2006, 08:45:36 PM
so what should i do now?
i can't fix it so i moved on
except there is a few conflicts and i had to install several mods manually
when i moved over, this is what it says

2134 Posts in 1 Topics by 195 Members
Latest Member: alwyn334

and the member list says
Parse error: syntax error, unexpected ',' in /home/info/public_html/Sources/Memberlist.php on line 328

and when i try the topic solved mod after installing the thank you mod, i get this
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/info/public_html/Sources/Post.php on line 1875

and i think that's all i remember for the moment

oh yeah

2 Guests, 0 Buddies, 2 Users
Users active in past 15 minutes:
MegaV1, yuki^^

how do i increase it from 15 to another number?
i could do it in my last forum, before i moved
Title: Re: Fatal error: Call to undefined function: parse_bbc() in /home/nextgene/publi
Post by: kegobeer on May 27, 2006, 01:28:58 PM
Quote from: kegobeer on May 25, 2006, 11:32:12 AM
The parse_bbc function only exists in SMF 1.1.  Are you sure you are using 1.0.7?
Title: Re: Fatal error: Call to undefined function: parse_bbc() in /home/nextgene/publi
Post by: MegaV1 on May 27, 2006, 02:39:06 PM
question is what do i do about it? HELP ME!
Title: Re: Fatal error: Call to undefined function: parse_bbc() in /home/nextgene/public_ht
Post by: winrules on May 27, 2006, 05:01:41 PM
Quote from: kegobeer on May 27, 2006, 01:28:58 PM
Quote from: kegobeer on May 25, 2006, 11:32:12 AM
The parse_bbc function only exists in SMF 1.1.  Are you sure you are using 1.0.7?
Can you please answer kegobeer's question?

Also could we have a link to your site?
Title: Re: Fatal error: Call to undefined function: parse_bbc() in /home/nextgene/publi
Post by: MegaV1 on May 27, 2006, 05:06:57 PM
NextGeneration Forums | Powered by SMF 1.0.7.
© 2001-2005, Lewis Media. All Rights Reserved.    Valid XHTML 1.0! Valid CSS!
Page created in 0.181 seconds with 17 queries.
looks like 1.0.7 to me, i thought i said that before
Title: Re: Fatal error: Call to undefined function: parse_bbc() in /home/nextgene/public_ht
Post by: winrules on May 27, 2006, 05:08:30 PM
Quote from: MegaV1 on May 27, 2006, 05:06:57 PM
NextGeneration Forums | Powered by SMF 1.0.7.
© 2001-2005, Lewis Media. All Rights Reserved.    Valid XHTML 1.0! Valid CSS!
Page created in 0.181 seconds with 17 queries.
looks like 1.0.7 to me, i thought i said that before
It looks like you are using a theme that is made for 1.1, as the parse_bbc function doesn't exist in 1.0.x. Could we have a link to your site?
Title: Re: Fatal error: Call to undefined function: parse_bbc() in /home/nextgene/publi
Post by: MegaV1 on May 27, 2006, 05:10:30 PM
i kinda redirected the site, but i was using the default theme built for 1.0.7
removing redirect as we speak
Title: Re: Fatal error: Call to undefined function: parse_bbc() in /home/nextgene/publi
Post by: MegaV1 on May 27, 2006, 05:14:35 PM
www.forum.nextgeneration.net.au
Title: Re: Fatal error: Call to undefined function: parse_bbc() in /home/nextgene/public_ht
Post by: winrules on May 27, 2006, 05:22:20 PM
Can you post lines 100-150 of your theme's index.template.php?
Title: Re: Fatal error: Call to undefined function: parse_bbc() in /home/nextgene/publi
Post by: MegaV1 on May 27, 2006, 05:25:27 PM
      echo '
   <link rel="index" href="' . $scripturl . '?action=;board=' . $context['current_board'] . '.0" />';

   // We'll have to use the cookie to remember the header...
   if ($context['user']['is_guest'])
      $options['collapse_header'] = !empty($_COOKIE['upshrink']);

   // Output any remaining HTML headers. (from mods, maybe?)
   echo $context['html_headers'], '

   <script language="JavaScript" type="text/javascript"><!--
      var current_header = ', empty($options['collapse_header']) ? 'false' : 'true', ';

      function shrinkHeader(mode)
      {';

   // Guests don't have theme options!!
   if ($context['user']['is_guest'])
      echo '
         document.cookie = "upshrink=" + (mode ? 1 : 0);';
   else
      echo '
         document.getElementById("upshrinkTemp").src = "', $scripturl, '?action=jsoption;var=collapse_header;val=" + (mode ? 1 : 0) + ";sesc=', $context['session_id'], ';" + (new Date().getTime());';

   echo '
         document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/upshrink.gif");

         document.getElementById("upshrinkHeader").style.display = mode ? "none" : "";

         current_header = mode;
      }
   // --></script>
</head>
<body>';
   if (!$context['user']['is_logged'])
      echo '<div id="info"><div id="infobar">', parse_bbc( $txt['infobarText'] ), '</div></div>';

   // Because of the way width/padding are calculated, we have to tell Internet Explorer 4 and 5 that the content should be 100% wide. (or else it will assume about 108%!)
   echo '
   <div id="headerarea" style="padding: 12px 30px 4px 30px;', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' width: 100%;' : '', '">';

   // The logo and the three info boxes.
   echo '
      <table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="position: relative;">
         <tr>
            <td colspan="2" valign="bottom" style="padding: 5px; white-space: nowrap;">';

   // This part is the logo and forum name.  You should be able to change this to whatever you want...
   echo '
               <img src="', $settings['images_url'], '/smflogo.gif" width="250" style="float: right;" alt="" />
               <span style="font-family: Georgia, sans-serif; font-size: xx-large;">', $context['forum_name'], '</span>';
Title: Re: Fatal error: Call to undefined function: parse_bbc() in /home/nextgene/public_ht
Post by: winrules on May 27, 2006, 05:32:28 PM
You ahve a call to parse_bbc in the infobar mod. Change

echo '<div id="info"><div id="infobar">', parse_bbc( $txt['infobarText'] ), '</div></div>';

to:

echo '<div id="info"><div id="infobar">', doUBBC( $txt['infobarText'] ), '</div></div>';


That will fix it in that location. However there may be other calls to parse_bbc elsewhere if you have amny modifications like that to the default theme. You could try adding this function to subs.php:

function parse_bbc($message, $smileys = true, $cache_id = '')
{
return do_UBBC($message, $smileys);
}

You only need to do that if what I posted above doesn't work.
Title: Re: Fatal error: Call to undefined function: parse_bbc() in /home/nextgene/publi
Post by: kegobeer on May 27, 2006, 08:04:58 PM
If you installed any mods, make sure they are for 1.0.7 and not RC2.  At some point, somewhere, you installed something designed for RC2.
Title: Re: Fatal error: Call to undefined function: parse_bbc() in /home/nextgene/publi
Post by: MegaV1 on May 27, 2006, 10:16:02 PM
okay, can someone please work with me to install a mod?
i prefer MSN if possible, i seem to have problems with this a mod
i install it, i modified it and it doesn't work
it doesn't work before i modify it
Title: Re: Fatal error: Call to undefined function: parse_bbc() in /home/nextgene/publi
Post by: kegobeer on May 28, 2006, 07:18:19 AM
Post your mod question on the mod's thread.