Announcement

Collapse
No announcement yet.

Deleting Error!

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

  • Deleting Error!

    Running Gamma here

    I am getting this error when attempting to delete a thread/post

    Code:
    [b]Fatal error: Call to undefined function: delete_thread() in [b]/www1/makeuptalk.com/html/forums/editpost.php[/b] on line [b]727[/b]
    [/b]

    Any Ideas?
    Last edited by Kihon Kata; Sat 13 Dec '03, 7:44am.
    Makeup Cosmetics Beauty Forums
    1.5 million posts!

  • #2
    http://www.vbulletin.com/forum/bugs....iew&bugid=1249
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment


    • #3
      Nope, didnt work....now I get this error:

      Code:
       
      [b]Fatal error: Call to undefined function: fetch_textarea_width() in [b]/www1/makeuptalk.com/html/forums/editpost.php 
       on line [b]58[/b]
      [/b]


      Here is the sytax that I used for your below fix. Is this coding correct:


      Code:
       
      {
      	 $removaltype = 1;
      	}
      	else
      	{
      	 $removaltype = 0;
      	}
      [b][color=red]require_once('./includes/functions_databuild.php');[/color][/b]
      	delete_thread($threadinfo['threadid'], $foruminfo['countposts'], $removaltype, array('userid' => $bbuserinfo['userid'], 'username' => $bbuserinfo['username'], 'reason' => $reason, 'keepattachments' => $keepattachments));
      	if ($foruminfo['lastthreadid'] != $threadinfo['threadid'])
      	{
      	 // just decrement the reply and thread counter for the forum
      	 $DB_site->query("
      	  UPDATE " . TABLE_PREFIX . "forum
      	  SET threadcount = threadcount - 1, replycount = replycount - $threadinfo[replycount] - 1
      	  WHERE forumid = $threadinfo[forumid]
      	 ");
      	}
      [/b]



      Originally posted by Steve Machol
      Makeup Cosmetics Beauty Forums
      1.5 million posts!

      Comment


      • #4
        You'll need to post this in the bug thread.
        Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
        Change CKEditor Colors to Match Style (for 4.1.4 and above)

        Steve Machol Photography


        Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


        Comment


        • #5
          I just added this to my forums .. and it seems to work ..
          Attached Files
          It's a Savage Universe out there!

          Comment


          • #6
            If that is the case, then I would say it is not that line then.



            Originally posted by Slave
            I just added this to my forums .. and it seems to work ..
            Makeup Cosmetics Beauty Forums
            1.5 million posts!

            Comment

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