Z-Blog 2.3 Avengers修改主题模板出错"该数组为定长的或临时被锁定"解决方法

Z-Blog 2.3 Avengers Build 180518修改主题模板或使用文件管理插件时页面出错,错误信息如下:

引用内容 引用内容
Microsoft VBscript 运行时错误 错误 '800a000a'
该数组为定长的或临时被锁定
/zb_users/plugin/filemanage/main.asp,行 58

Z-Blog 2.3 Avengers修改主题模板出错"该数组为定长的或临时被锁定"解决方法

打开/zb_users/plugin/filemanage/main.asp文件,找到:

For Each Action_Plugin_FileManage_Initialize in Action_Plugin_FileManage_Initialize
        If Not IsEmpty(sAction_Plugin_FileManage_Initialize) Then Call Execute(sAction_Plugin_FileManage_Initialize)
Next

修改为:

For Each sAction_Plugin_FileManage_Initialize in Action_Plugin_FileManage_Initialize
        If Not IsEmpty(sAction_Plugin_FileManage_Initialize) Then Call Execute(sAction_Plugin_FileManage_Initialize)
Next

还有一处也有同样的问题,找到:

For Each Action_Plugin_FileManage_Terminate in Action_Plugin_FileManage_Terminate
        If Not IsEmpty(sAction_Plugin_FileManage_Terminate) Then Call Execute(sAction_Plugin_FileManage_Terminate)
Next

修改为:

For Each sAction_Plugin_FileManage_Terminate in Action_Plugin_FileManage_Terminate
        If Not IsEmpty(sAction_Plugin_FileManage_Terminate) Then Call Execute(sAction_Plugin_FileManage_Terminate)
Next

保存文件,问题解决。

评论: 0 | 引用: 0 | 查看次数: 1947
发表评论
登录后再发表评论!