The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XMB Forum Fix

Discussion in 'General Discussion' started by Danks, Mar 21, 2002.

  1. Danks

    Danks Active Member

    Joined:
    Oct 10, 2001
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    The XMB forum I noticed had some errors in it after install. Here is a fix for this:

    The one that says &Warning: Supplied argument is not a valid MySQL
    result resource in /home/.../forum/db/mysql.php on line 16& that you get
    when you reply to a message..

    Here is the fix:

    Fix
    post.php
    line 419

    $q = $db-&fetch_array('$qry');

    Change to

    $q = $db-&fetch_array($qry);


    Then remove line 680 form post.php

    $postinfo[subject] = str_replace('&',&e&&, $postinfo[subject]);



    The buddy list also has an error in it as well, I should have a fix for that as well later.
     
  2. moronhead

    moronhead Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    706
    Likes Received:
    0
    Trophy Points:
    16
    Which version of XMB is this fix for?
     
  3. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    The version supplied with CPanel is 1.5 Blue Moon w/ was developed by the previous development group. I suppose this is what is being duscussed, but I dunno?
     
Loading...

Share This Page