TinyPortal

Development => Support => Topic started by: danolie on March 17, 2005, 12:58:41 PM

Title: Fatal error: Call to undefined function: barexp()
Post by: danolie on March 17, 2005, 12:58:41 PM
Hi there!

Question... anyone had this problem?:

when clickong on topics, this error is seen in the topic box and the message cannot be viewed:

Fatal error: Call to undefined function: barexp() in /home/foldername/public_html/team/Sources/Load.php(1040)
Title: Re: Fatal error: Call to undefined function: barexp()
Post by: danolie on March 17, 2005, 01:06:45 PM
by the way... this is only a problem when my members log in... it's not a problem when I am logged in.

check it out:

http://www.campusadv.com/team

username: testing
password: testing
Title: Re: Fatal error: Call to undefined function: barexp()
Post by: IchBin on March 17, 2005, 02:06:20 PM
Everything worked fine on my end, don't know what to tell ya.
Title: Re: Fatal error: Call to undefined function: barexp()
Post by: danolie on March 21, 2005, 08:00:58 PM
may have been a permissions error. It is working OK for me now too. Thanks
Title: Re: Fatal error: Call to undefined function: barexp()
Post by: webgrrl on April 05, 2005, 03:19:17 PM
i just installed TP with Oxygen theme etc and i got this  :'(


Fatal error: Call to undefined function: tportal_sidebar() in /home/webgrrl/public_html/creative/Sources/Load.php(1049) : eval()'d code on line 361


can anyone help please? i cant get into the admin or anything to uninstall tp.. or the theme..
Title: Re: Fatal error: Call to undefined function: barexp()
Post by: Kindred on April 05, 2005, 06:48:35 PM
ummm.... don't double post....


What version of tiny portal are you using?  Did you use the Oxygen-TP version of the theme?

What other mods do you have installed?

(because the only mod to Load.php that I can find for TinyPortal is around 295 in my unmodded version... not 361. (which is a permissions check, in my version)


I suggest you retore your backup...
Title: Re: Fatal error: Call to undefined function: barexp()
Post by: webgrrl on April 05, 2005, 11:12:54 PM
Quote from: Kindred on April 05, 2005, 06:48:35 PM
ummm.... don't double post....


What version of tiny portal are you using?  Did you use the Oxygen-TP version of the theme?

What other mods do you have installed?

(because the only mod to Load.php that I can find for TinyPortal is around 295 in my unmodded version... not 361. (which is a permissions check, in my version)


I suggest you retore your backup...


sorry, for the double post - but i didnt know which section to put it in -- tiny portal or the TP-Oxygen theme (as it went funny AFTER i installed TP-Oxygen)

here is what is around my 360 to 399 :

   $removals = array();

   // Get the general permissions.
   $request = db_query("
      SELECT permission, addDeny
      FROM {$db_prefix}permissions
      WHERE ID_GROUP IN (" . implode(', ', $user_info['groups']) . ')', __FILE__, __LINE__);
   while ($row = mysql_fetch_assoc($request))
   {
      if (empty($row['addDeny']))
         $removals[] = $row['permission'];
      else
         $user_info['permissions'][] = $row['permission'];
   }
   mysql_free_result($request);

   // Get the board permissions.
   if (!empty($board))
   {
      // Make sure the board (if any) has been loaded by loadBoard().
      if (!isset($board_info['use_local_permissions']))
         fatal_lang_error('smf232');

      $request = db_query("
         SELECT permission, addDeny
         FROM {$db_prefix}board_permissions
         WHERE ID_GROUP IN (" . implode(', ', $user_info['groups']) . ")
            AND ID_BOARD = " . ($board_info['use_local_permissions'] ? $board : '0'), __FILE__, __LINE__);
      while ($row = mysql_fetch_assoc($request))
      {
         if (empty($row['addDeny']))
            $removals[] = $row['permission'];
         else
            $user_info['permissions'][] = $row['permission'];
      }
      mysql_free_result($request);
   }



Title: Re: Fatal error: Call to undefined function: barexp()
Post by: Bjørn on April 05, 2005, 11:18:52 PM
Look at the oxygen_tp thread and see if that file helps..I think its a theme problem.