impresspages html 小部件未保存 [英] impresspages html widget not saving

查看:36
本文介绍了impresspages html 小部件未保存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 html 小部件中保存内容时遇到问题.我正在使用 impresspages 4.4.2(虽然我刚刚升级的 4.4.0 上存在问题).CMS 安装在共享主机上,所以我只能访问 cPanel.

I have a problem with saving content in html widget. I am using impresspages 4.4.2 (although problem was present on 4.4.0 I just have upgraded from). CMS is installed on a shared hosting so I only have access to cPanel.

我发现这个问题没有答案Impress 页面 - HTML 小部件未保存/发布

I found this question without an answer Impress Pages - HTML widget not saving/publishing

评论说问题出在主题上,包括 jquery.

The comment says that the problem was with theme, that was including jquery.

我使用在 impresspages 市场上购买的 RevolvePro 主题.查看资产似乎确实包含jquery.移除它看起来并不容易.因此,我尝试使用其他主题(私人免费、空气和快速入门随 CMS 提供)执行相同的 html 小部件编辑操作,结果相同 - 没有保存任何内容.据我所知,这两个主题都没有包含 jquery.

I use RevolvePro theme purchased on impresspages market place. Looking through the assets it seems like it does indeed include jquery. It didn't look too easy to remove it. So I tried to perform the same html widget editing action with the other themes (Private Free, Air and Quick Start supplied with the CMS) with the same result - nothing was saved. Neither of those themes have jquery included as far as I can see.

我在浏览器控制台中看到的是以下错误:

What I see in the browser console is the following error:

POST http://domain.com/403      (Forbidden) 
k.cors.a.crossDomain.send       ipCore.min.js?3:124
n.extend.ajax                   ipCore.min.js?3:122
updateWidget                    management.min.js?3:10
processSaveQueue                management.min.js?3:67
n.isFunction.f                  ipCore.min.js?3:2
(anonymousfunction)             management.min.js?3:64
n.extend.each                   ipCore.min.js?3:2
n.fn.n.each                     ipCore.min.js?3:2
methods.save                    management.min.js?3:63
$.fn.ipWidget                   management.min.js?3:68
$this.save                      management.min.js?3:61
save                            management.min.js?3:115
n.isFunction.f                  ipCore.min.js?3:2
n.event.dispatch                ipCore.min.js?3:66
r.handle                        ipCore.min.js?3:65

或者如果我切换到调试模式:

or if I switch to debug mode:

POST http://domain.com/403      (Forbidden) 
k.cors.a.crossDomain.send       jquery.js?4:1953
n.extend.ajax                   jquery.js?4:1843
updateWidget                    content.js?4:340
processSaveQueue                jquery.ip.widget.js?4:159
n.isFunction.f                  jquery.js?4:95
(anonymousfunction)             jquery.ip.widget.js?4:86
n.extend.each                   jquery.js?4:72
n.fn.n.each                     jquery.js?4:21
methods.save                    jquery.ip.widget.js?4:72
$.fn.ipWidget                   jquery.ip.widget.js?4:203
$this.save                      jquery.ip.widget.js?4:21
save                            Html.js?4:85
n.isFunction.f                  jquery.js?4:95
n.event.dispatch                jquery.js?4:1043
r.handle                        jquery.js?4:1010

基于位置的jquery.js引用自CMS核心代码(Ip/Internal/Core/assets/ipCore/),而非主题.

jquery.js based on location is referenced from the CMS core code (Ip/Internal/Core/assets/ipCore/), rather than from the theme.

我尝试使用 phpMyAdmin 手动编辑小部件表,结果工作正常,因此编辑是唯一的问题.似乎问题还在于托管或主机设置特定于其他共享主机,我可以毫无问题地编辑 html 小部件.

I tried manually editing widget table with phpMyAdmin and results work fine, so editing is the only issue. It also seems like the issue is hosting or host settings specific as on the other shared hosting I can edit html widget without any problems.

推荐答案

这是您的主机的问题.查看 Apache 日志.您在 Apache 上有某种安全模块,可以防止带有 HTML 输入的 POST 数据.

This is a problem on your host. Have a look at the Apache logs. You have some kind of a security module on Apache that prevents POST data with HTML input.

这篇关于impresspages html 小部件未保存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆