The blog comment content cannot be empty or too long

Channel: Technical Tutorial Date: Browse: 640
 Western Data

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 copied several topics to ZBlog, and also knew that the reason for the problem was the JS related to the comment The call was not added. As long as it was added, there would be 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


 Western Data
key word: zblog comment

zero Leaving a message.

comment

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