Announcement

Collapse
No announcement yet.

AJAX bug when replying in a Private Message

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

  • AJAX bug when replying in a Private Message

    Error msg: Line 348, Char 7
    Error 'vB_AJAX_NameSuggest' is undefined
    Code: 0
    URL:
    HTML Code:
    http://www.guineapigcages.com/forum/private.php?do=newpm&pmid=nnnnn
    I already had "disable problematic AJAX" set. I tried disabling all AJAX and I'm still getting this bug.

    This is for vB 3.6.0

    Line 348:
    PHP Code:
      recip_sugg = new vB_AJAX_NameSuggest('recip_sugg''pmrecips_txt''pmrecips'); 
    Is in this section of code:

    PHP Code:
    <label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />Show Posts</label> </td> </tr> <tr> <td class="vbmenu_option"><a href="search.php" accesskey="4" rel="nofollow">Advanced Search</a></td>  </tr> <tr> <td class="vbmenu_option"><a rel="nofollow" href="search.php?do=findallthanks">Find All Thanked Posts</a></td>  </tr> </table> </form> </div>   <div class="vbmenu_popup" id="usercptools_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr><td class="thead">Quick Links</td></tr> <tr><td class="vbmenu_option"><a href="search.php?do=getdaily">Today's Posts</a></td></tr> <tr><td class="vbmenu_option"><a rel="nofollow" href="forumdisplay.php?do=markread">Mark Forums Read</a></td></tr> <tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">Open Buddy List</a></td></tr><tr><td class="vbmenu_option"><a rel="nofollow" href="misc.php?do=flashchat">FlashChat</a></td></tr> <tr><td class="thead"><a href="usercp.php">User Control Panel</a></td></tr>  <tr><td class="vbmenu_option"><a rel="nofollow" href="profile.php?do=editprofile">Edit Profile</a></td></tr> <tr><td class="vbmenu_option"><a rel="nofollow" href="profile.php?do=editoptions">Edit Options</a></td></tr> <tr><td class="thead">Miscellaneous</td></tr> <tr><td class="vbmenu_option"><a href="private.php" rel="nofollow">Private Messages</a></td></tr> <tr><td class="vbmenu_option"><a href="subscription.php" rel="nofollow">Subscribed Threads</a></td></tr> <tr><td class="vbmenu_option"><a href="members/cavyspirit.html">My Profile</a></td></tr> <tr><td class="vbmenu_option"><a href="online.php">Who's Online</a></td></tr> </table> </div>    <div class="vbmenu_popup" id="pagenav_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr> <td class="thead" nowrap="nowrap">Go to Page...</td> </tr> <tr> <td class="vbmenu_option" title="nohilite"> <form action="http://www.guineapigcages.com/forum/" method="get" onsubmit="return this.gotopage()" id="pagenav_form"> <input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4" /> <input type="button" class="button" id="pagenav_ibtn" value="Go" /> </form> </td> </tr> </table> </div>    </if>     <table cellpadding="0" cellspacing="0" border="0" width="100%" align="center"> <tr valign="top"> <td>  <table class="tborder" cellpadding="6" cellspacing="1" border="0"> <tr> <td class="tcat"><a href="usercp.php">Control Panel</a></td> </tr> <tr> <td class="thead">Settings &ampOptions</td> </tr> <tr> <td class="alt2" nowrap="nowrap"><a rel="nofollow" class="smallfont" href="profile.php?do=editpassword">Edit Email &ampPassword</a></td> </tr> <tr> <td class="alt2" nowrap="nowrap"><a rel="nofollow" class="smallfont" href="profile.php?do=editprofile">Edit Profile</a></td> </tr> <tr> <td class="alt2" nowrap="nowrap"><a rel="nofollow" class="smallfont" href="profile.php?do=editoptions">Edit Options</a></td> </tr> <tr> <td class="alt2" nowrap="nowrap"><a rel="nofollow" class="smallfont" href="profile.php?do=editavatar">Edit Avatar</a></td> </tr> <tr> <td class="alt2" nowrap="nowrap"><a rel="nofollow" class="smallfont" href="profile.php?do=editprofilepic">Edit Profile Picture</a></td> </tr> <tr> <td class="thead" nowrap="nowrap"> <span id="nav_pmfolders">Private Messages <script type="text/javascript"vbmenu_register("nav_pmfolders"); </script></span> <div class="vbmenu_popup" id="nav_pmfolders_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr> <td class="thead" nowrap="nowrap">Folders</td> </tr>  <tr> <td class="vbmenu_option"><a rel="nofollow" href="private.php?folderid=0">Inbox</a></td> </tr>  <tr> <td class="vbmenu_option"><a rel="nofollow" href="private.php?folderid=-1">Sent Items</a></td> </tr>  <tr> <td class="vbmenu_option"><a rel="nofollow" href="private.php?folderid=2">Old messages</a></td> </tr>  </table> </div> </td> </tr> <tr> <td class="alt2" nowrap="nowrap"><class="smallfont" href="private.php">List Messages</a></td> </tr> <tr> <td class="alt1" nowrap="nowrap"><a rel="nofollow" class="smallfont" href="private.php?do=newpm">Send New Message</a></td> </tr> <tr> <td class="alt2" nowrap="nowrap"><a rel="nofollow" class="smallfont" href="private.php?do=trackpm">Track Messages</a></td> </tr> <tr> <td class="alt2" nowrap="nowrap"><a rel="nofollow" class="smallfont" href="private.php?do=editfolders">Edit Folders</a></td> </tr> <tr> <td class="thead" nowrap="nowrap"> <span id="nav_subsfolders">Subscribed Threads <script type="text/javascript"vbmenu_register("nav_subsfolders"); </script></span> <div class="vbmenu_popup" id="nav_subsfolders_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr> <td class="thead" nowrap="nowrap">Folders</td> </tr>  <tr> <td class="vbmenu_option"><a rel="nofollow" href="subscription.php?folderid=0">Subscriptions</a></td> </tr>  <tr> <td class="vbmenu_option"><a rel="nofollow" href="subscription.php?folderid=3">This is everything else</a></td> </tr>  <tr> <td class="vbmenu_option"><a rel="nofollow" href="subscription.php?folderid=1">Watch these threads</a></td> </tr>  <tr> <td class="vbmenu_option"><a rel="nofollow" href="subscription.php?folderid=2">Watch these users</a></td> </tr>  </table> </div> </td> </tr> <tr> <td class="alt2" nowrap="nowrap"><a rel="nofollow" class="smallfont" href="subscription.php?do=viewsubscription">List Subscriptions</a></td> </tr> <tr> <td class="alt2" nowrap="nowrap"><a rel="nofollow" class="smallfont" href="subscription.php?do=editfolders">Edit Folders</a></td> </tr> <tr> <td class="thead">Moderation</td> </tr> <tr> <td class="alt2" nowrap="nowrap"><a rel="nofollow" class="smallfont" href="moderation.php?do=viewthreads&amp;type=deleted">Deleted Threads</a></td> </tr> <tr> <td class="alt2" nowrap="nowrap"><a rel="nofollow" class="smallfont" href="moderation.php?do=viewposts&amp;type=deleted">Deleted Posts</a></td> </tr> <tr> <td class="alt2" nowrap="nowrap"><a rel="nofollow" class="smallfont" href="moderation.php?do=viewthreads&amp;type=moderated">Moderated Threads</a></td> </tr> <tr> <td class="alt2" nowrap="nowrap"><a rel="nofollow" class="smallfont" href="moderation.php?do=viewposts&amp;type=moderated">Moderated Posts</a></td> </tr> <tr> <td class="thead">Miscellaneous</td> </tr> <tr> <td class="alt2" nowrap="nowrap"><a rel="nofollow" class="smallfont" href="calendar.php?do=viewreminder">Event Reminders</a></td> </tr> <tr> <td class="alt2" nowrap="nowrap"><class="smallfont" href="payments.php">Paid Subscriptions</a></td> </tr> <tr> <td class="alt2" nowrap="nowrap"><a rel="nofollow" class="smallfont" href="profile.php?do=editusergroups">Group Memberships</a></td> </tr> <tr> <td class="alt2" nowrap="nowrap"><a rel="nofollow" class="smallfont" href="profile.php?do=editlist">Buddy Ignore Lists</a></td> </tr> <tr> <td class="alt2" nowrap="nowrap"><a rel="nofollow" class="smallfont" href="profile.php?do=editattachments">Attachments</a></td> </tr> </table>  </td> <td>&nbsp;&nbsp;</td> <td width="100%">   <form action="private.php?do=insertpm&amp;pmid=40705" method="post" name="vbform" onsubmit="return vB_Editor['vB_Editor_001'].prepare_submit(this.title.value, 0)"> <table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center"> <tr> <td class="tcat">Send New Private Message</td> </tr> <tr> <td class="panelsurround" align="center"> <div class="panel"> <table cellspacing="0" cellpadding="0" style="min-width: 480px; max-width: 100%; width: auto !important; width: 480px;"><tr><td> <div align="left">  <fieldset class="fieldset"> <legend>Recipients</legend> <table cellpadding="0" cellspacing="3" border="0"> <tr> <td> <script type="text/javascript" src="clientscript/vbulletin_ajax_namesugg.js?v=360"></script> <div>Recipient Username(s)</div> <div id="pmrecips"><textarea id="pmrecips_txt" name="recipients" rows="2" cols="50" tabindex="1">Percy's Mom ; </textarea></div> <div class="vbmenu_popup" id="pmrecips_menu" style="display:none; z-index:50"></div> <script type="text/javascript"> <!--
          vbmenu_register('
    pmrecips', true);
          recip_sugg = new vB_AJAX_NameSuggest('
    recip_sugg', 'pmrecips_txt', 'pmrecips');
          recip_sugg.allow_multiple = true;
          //--> </script> <span style="display:none" onclick="return swapbcc(this);" id="bccspan1">[<a href="#">BCC</a>]</span> <span id="bccspan2">BCC Recipient Username(s)<br /></span> <div id="bccpmrecips"><textarea id="bccpmrecips_txt" name="bccrecipients" rows="2" cols="50" tabindex="1"></textarea></div> <div class="vbmenu_popup" id="bccpmrecips_menu" style="display:none; z-index:50"></div> <script type="text/javascript"> <!--
          vbmenu_register('
    bccpmrecips', true); 


  • #2
    My first guess is a style problem. Do you have this problem on the default style? Also try uploading the original clientscript files. If you still have the problem, then try disabling plugins and removing any file hacks.

    Comment

    Related Topics

    Collapse

    Working...
    X