Phpcms Resolve Submission Audit invalid

Source: Internet
Author: User
Phpcms How to resolve the submission audit invalid? A PHPCMS station submission platform suddenly encountered member submissions, editor in the background audit function failure problem, on the site searched for half a day also did not find method, first the small part of the process record down, share to everyone. We hope to help you.

Today received the editor's side of the feedback, said the site of the member submission platform, the backstage can not review the article, hurry to see it

Originally wanted to steal a lazy, go to the Niang there search, see the same situation of the solution did not, the results disappointed, although there are several similar situations, either did not solve, or the reason is different from the site.

Come on, Chairman Mao, he teaches us to do our own, clothed!

Find the relevant Program page for auditing first

The pass () method in/phpcms/modules/content/content.php, checked, and no modified phenomenon

Go to Audit page Press F12 Debug, console also no error situation

That's odd.

Look under the source, found this paragraph

<script type= "Text/javascript" >art.dialog ({lock:false,title: ' Administrative action ', Mouse:true, id: ' Content_m ', content: ' <span id=cloading ><a href=\ ' javascript:ajax_manage (1) \ ' > Audited </a> | <a href=\ ' javascript:ajax_manage (2) \ ' > Rejection </a> | <a href=\ ' javascript:ajax_manage (3) \ ' > Delete </a></span> ', left: ' 100% ', Top: ' 100% ', width:200,height : 50,drag:true, fixed:true}); function Ajax_manage (type) {if (type==1) {$.get ('? M=content&c=content&a=pass &ajax_preview=1&catid=6&steps=1&id=533&pc_hash=4kwiwd ');} else if (type==2) {$.get ('?m=content&c=content&a=pass&ajax_preview=1&reject=1&catid=6& Steps=1&id=533&pc_hash=4kwiwd ');} else if (type==3) {$.get ('? m=content&c=content&a=delete&ajax_preview=1&dosubmit=1&catid=6 &steps=1&id=533&pc_hash=4kwiwd ');} $ (' #cloading '). html (' <font color=red> operation succeeded! <span id= "Secondid" >2</span> seconds after automatically leaving ...</font> '); SetInterval (' Set_time () ', 10SetInterval (' Window.close () ', 2000);} function Set_time () {$ (' #secondid '). HTML (1);} </script>

No wonder no error ...

All right, let's take the audit link separately http://***.com/index.php?m=content&c=content&a=pass&ajax_preview=1&catid=6& Steps=1&id=533&pc_hash=4kwiwd

Put it in the browser address bar to execute

Sure enough, we got the wrong hint.

MySQL error:table '. \***\v9_search ' is marked as crashed and should be repaired MySQL errno:145 message:table '. \*** \v9_search ' is marked as crashed and should be repaired

It turns out that the search table needs to be repaired ... Then repair it, after the completion of the audit function is normal

Related recommendations:

PHPCMS implementation of verification code replacement and full-site search Function Example detailed

Brother Lian phpcms basic Video tutorial resource sharing

Phpcms Customizing the use of page functions

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.