The blog comment content cannot be empty or too long

The blog comment content cannot be empty or too long

Consulting telephone: 400-027-8181

Two days ago, after finishing the v5_boke8 topic, I uploaded it to the zblog blog for installation test. During the comment test, the error prompt "Error reason: the comment content cannot be empty or too long" tragically appeared when I submitted the comment. Fortunately, after all, I imitated several topics to ZBlog, and also knew that the reason for the problem was that the JS calls related to the comment were not added, As long as it is added, there is no problem.

 The blog comment content cannot be empty or too long

Content cannot be empty or too long Solution:

Enter the background of ZBlog blog, click "File Management", then enter the THEMES directory, and select topics where comments cannot be submitted normally

Edit the single.html file in the TEMPLATE directory, and add the following code before</head>:

 <script language="JavaScript" src="<#ZC_BLOG_HOST#>script/common.js" type="text/javascript"></script> <script src="<#ZC_BLOG_HOST#>function/c_html_js_add.asp" type="text/javascript"></script>

After saving, rebuild the file.

Tips: The second sentence JS is the latest version of the file added


Comments

I want to leave a message

◎ Welcome to participate in the discussion. Please express your views and exchange your views here.