Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The solution of hash Verification failure in phpcms

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article is to share with you about the solution to hash validation failure in phpcms. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look.

What if phpcms hash validation fails?

A method to solve the failure of hash data verification in saving articles in phpcms

Keeping track of the problems you encounter at work every day, whether big or small, may be of great help to yourself or others.

If you write this kind of article for the first time, it may be a little messy. I beg your pardon!

Today, let's talk about a problem in the process of using PHPCMS.

Today, an editor failed to save when modifying individual articles, indicating that hash data validation failed.

Some people say

Locate line 9 of phpcms\ modules\ attachment\ templates\ address.tpl.php and replace it as follows:

"nsubmit=" return confirm ('') ">

Some people say that there are different ways to change browsers, but I have tried all kinds of things, but I still can't solve them.

But I took a different approach and solved it perfectly. Here is a detailed description of the process:

Let's make it clear that the Linux server is used here.

Find the php.ini file and put it in the (/ usr/local/php/etc) directory

Find the max_input_vars parameter and see if there is a semicolon (;) in front of the max_input_vars parameter. If so, remove the semicolon. The value of the original parameter max_input_vars should be 1000, changed to 10000 or 100000, which means to change the max_input_vars larger than before and save it.

Restart the php command (php service php-fpm restart) or the apache service (service httpd restart).

Refresh the page in the background and save it normally.

This is the real problem and solution in my work. If there is a better way, please share it and let everyone learn. Thank you!

Thank you for reading! This is the solution to the failure of hash verification in phpcms. I hope the above content can be helpful to you, so that you can learn more knowledge. If you think the article is good, you can share it and let more people see it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report