Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Yuna Scatari Edition (YSE) (http://www.bvlist.com/forumdisplay.php?f=22)
-   -   Help me Error (http://www.bvlist.com/showthread.php?t=1615)

pablozl 21st December 2008 14:50

Help me Error
 
line 1523

Code:

if ($arr[0] < 2)
      stderr("Error", "Can't delete post; it is the only post of the topic. You should\n" .
      "delete the topic instead.\n",false);


Fatal error: Call to undefined function: stderr() in /home/f/fwhost005/public_html/hdd/forums.php on line 1523

joeroberts 21st December 2008 18:24

What Version?

pablozl 21st December 2008 20:51

Quote:

Originally Posted by joeroberts (Post 7586)
What Version?

Yuna Scatari v2.0 PRE7 RC0 & RC1 forum by mod rus???

joeroberts 21st December 2008 21:53

Here is you first funtion
PHP Code:

function stderr($heading$text$htmlstrip FALSE)
{
  
stdhead();
  
stdmsg($heading$text$htmlstrip);
  
stdfoot();
  die;


and if you get a second error after you install this then add this funtion
PHP Code:

function stdmsg($heading$text$htmlstrip FALSE)
{
    if (
$htmlstrip) {
        
$heading htmlspecialchars($heading);
        
$text htmlspecialchars($text);
    }
    print(
"<table class=main width=750 border=0 cellpadding=0 cellspacing=0><tr><td class=embedded>\n");
        if (
$heading)
            print(
"<h2>$heading</h2>\n");
    print(
"<table width=100% border=1 cellspacing=0 cellpadding=10><tr><td class=text>\n");
    print(
$text "</td></tr></table></td></tr></table>\n");




All times are GMT +2. The time now is 17:58.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.