散列表格验证程序始终在Zend Framework 1中返回错误

时间:2015-07-12 18:25:24

标签: php zend-framework kubuntu

这是我的哈希元素:

Dim drag As Boolean
Dim mousex As Integer
Dim mousey As Integer

Private Sub Picturebox1_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles PictureBox1.MouseDown
    drag = True 'Sets the variable drag to true.
    mousex = Cursor.Position.X - Me.Left 'Sets variable mousex
    mousey = Cursor.Position.Y - Me.Top 'Sets variable mousey
End Sub

Private Sub Picturebox1_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles PictureBox1.MouseMove
    'If drag is set to true then move the form accordingly.
    If drag Then
        Me.Top = Cursor.Position.Y - mousey
        Me.Left = Cursor.Position.X - mousex
    End If
End Sub

Private Sub Picturebox1_MouseUp(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles PictureBox1.MouseUp
    drag = False 'Sets drag to false, so the form does not move according to the code in MouseMove
End Sub

但总是哈希验证器返回此消息:

  

两个给定的令牌不匹配

我将我的应用程序从Windows主机移动到Kubuntu主机。在我的Windows主机哈希元素上工作完美,但在Kubuntu主机上返回总是错误消息。我使用正常的帖子请求(不是ajax)。

1 个答案:

答案 0 :(得分:0)

(代表OP发布)

我缺少一个JavaScript文件,哈希验证程序总是返回错误。这是一个非常奇怪的问题:)。