Announcement

Collapse
No announcement yet.

"empty response" error when posting

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

  • "empty response" error when posting

    We get an "empty response" pop-up when posting to threads, but only occasionally.

    Here is a screenshot from .js console:

    Click image for larger version

Name:	emptyresp.JPG
Views:	37
Size:	62.9 KB
ID:	4348030

    It repeatedly happens when copying and pasting this text into response, albeit I'm not sure whether formatting doesn't play some role in it too:
    Code:
    Const group1_GROUP  = "cn=SG_group1"
    Const group2_GROUP  = "cn=SG_group2"
    Const group3_GROUP  = "cn=SG_group3"
    Const group4_GROUP  = "cn=SG_group4"
    
    Set wshNetwork = CreateObject("WScript.Network")
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    
    If objFSO.FolderExists("\\server\" & wshNetwork.UserName) Then
     wshNetwork.MapNetworkDrive "u:","\\server\" & wshNetwork.UserName
    End If
    
    Set ADSysInfo = CreateObject("ADSystemInfo")
    Set CurrentUser = GetObject("LDAP://" & ADSysInfo.UserName)
    strGroups = Join(CurrentUser.MemberOf)
    
    If InStr(1, strGroups, group1_GROUP, 1) Then
    
         wshNetwork.MapNetworkDrive "k:","\\server\share"
    '    wshNetwork.AddWindowsPrinterConnection
    '    "\\PrintServer\FinLaser"
    '    wshNetWork.SetDefaultPrinter
    '    "\\PrintServer\FinLaser"
    End If
    
    If InStr(1, strGroups, group2_GROUP, 1) Then
    
         wshNetwork.MapNetworkDrive "s:","\\server\share"
    '    wshNetwork.AddWindowsPrinterConnection
    '    "\\PrintServer\HrLaser"
    '    wshNetWork.SetDefaultPrinter
    '    "\\PrintServer\HrLaser"
    End If
    
    If InStr(1, strGroups, group3_GROUP, 1) Then
    
         wshNetwork.MapNetworkDrive "v:","\\server\share"
    '    wshNetwork.AddWindowsPrinterConnection
    '    "\\PrintServer\FinLaser"
    '    wshNetWork.SetDefaultPrinter
    '    "\\PrintServer\FinLaser"
    End If
    
    If InStr(1, strGroups, group4_GROUP, 1) Then
    
         wshNetwork.MapNetworkDrive "x:","\\server\share"
    '    wshNetwork.AddWindowsPrinterConnection
    '    "\\PrintServer\EngLaser"
    '    wshNetwork.AddWindowsPrinterConnection
    '    "\\PrintServer\Plotter"
    '    wshNetWork.SetDefaultPrinter
    '    "\\PrintServer\EngLaser"
    End If
    Do you please have some advice based on this, or shall we submit support ticket?

  • #2
    Quite possibly somnething is triggering mod_security, or other security software. Check with your hosts. They may need to amend rules.
    MARK.B | vBULLETIN SUPPORT

    TalkNewsUK - My vBulletin 5.6.3 Demo
    AdminAmmo - My Cloud Demo

    Comment


    • #3
      Thank you Mark. You were right!

      Comment

      Related Topics

      Collapse

      Working...
      X