【问题标题】:Contact form 7 keep spinning after file upload文件上传后联系表格 7 继续旋转
【发布时间】:2021-07-01 15:48:47
【问题描述】:

我正在为我的 wordpress 网站使用联系表格 7,它允许用户填写他们的信息并附上带有文件类型的简历:pdf/doc/docx。 当我在不附加 CV 的情况下测试表单时,它工作正常,但是当我上传 CV 时,它一直在旋转并且没有响应。 不知道是这个插件的bug还是我的配置不对? 如果有任何帮助,我将不胜感激。

<label style="font-size:18px">Personal Info</label>
<label class="form-submission-label"> <span>Mail</span>[text* text-115] </label>

<label class="form-submission-label"> <span>Name</span> <span class="form-name">[text* your-name] [text text-182] </span ></label>

<label  class="form-submission-label"> <span>Nickname(Optional)</span> <span class="form-name"> [text* your-name][text text-183]</span > </label>

<label  class="form-submission-label"> <span class="dob-label">Birthday</span><label class="dob">[number* number-722 min:1 max:31][number* number-723 min:1 max:12][number* number-724 min:1980 max:2000]</label></label>


<label  class="form-submission-label"> <span>Address</span>[text* text-116] </label>

<label  class="form-submission-label"> <span>Contact number</span> [tel* tel-565] </label>

<label  class="form-submission-label"><span>SkypeID (Optional)</span>[text text-117]
</label>

<label style="font-size:18px">Work Experience</label>

<label  class="form-submission-label"><span>Current company</span>[text* text-119]
</label>

<label  class="form-submission-label"><span>Position</span>[text* text-120]
</label>

<label  class="form-submission-label"><span>Years of experience</span>[text* text-121]
</label>

<label  class="form-submission-label"><span>Desired position</span>[text text-232]
</label>
<label  class="form-submission-label"><span>Desired salary</span>[text text-904]
</label>

<label class="form-submission-label"><span>CV attachment (Optional)</span>[file file-637 limit:10mb filetypes:pdf|docx|doc]
</label>

<label class="submit-label">[submit "Send my info"]</label>

【问题讨论】:

  • 控制台出现什么错误?
  • 它没有显示错误,但一直在旋转并且没有响应
  • 请分享你的网址
  • 对不起,我不能,该网站仍在开发中,由于我的组织的安全性,我们不允许共享 URL :(
  • 请启用define('WP_DEBUG', false); true 并检查错误

标签: wordpress plugins contact-form-7


【解决方案1】:

哈雷梁...你可以试试这个..

方法 1 - 将永久链接结构更改为默认结构

方法 2 - 在 functions.php 中禁用 Ajax 加载

define( 'WPCF7_LOAD_JS', false);

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2017-06-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-12-29
    • 1970-01-01
    • 2018-04-06
    相关资源
    最近更新 更多